* {
    padding: 0;
    margin: 0;
}
@media screen and (min-width: 480px)

{
    .wrap {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0,0,0,.08);
    }
    .container {
        position: relative;
        width: 540px;
        height: 400px;
        top: 50%;
        left: 50%;
        background-color: #fff;
        transform: translate(-50%, -50%);
        border-radius: 10px;
    }
    .header {
        width: 60%;
        margin: 0 auto;
        padding: 20px;
    }
    .tabs {
        width: 100%;
        height: 35px;
        line-height: 35px;
        display: flex;
    }
/*    .tabs>div:nth-child(1) {
        border-right: 1px solid #ccc;
    }*/
    .tabs>div {
        flex: 1;
        text-align: center;
        padding-left: 15px;
    }
    .origin {
        font-weight: 700;
        border-bottom: 2px solid red;
        cursor: pointer;
    }

    /*表单样式*/
    .content {
        width: 100%;
        position: relative;
    }
    .originForm,
    .messageForm {
        width: 385px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    label {
        margin-top: 15px;
        display: block;
    }
    input {
        width: 280px;
        height: 38px;
        padding: 0 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
        outline: none;
    }
    #mobile,
    #message,
    #newPwd,
    #newPassword,
    #originPassword{
        margin-left: 16px;
    }
    #message {
        width: 162px;
    }
    #msgBtn {
        background-color: red;
        color: white;
        width: 108px;
        margin-left: 10px;
        height: 35px;
    }

    .messageTip,
    .originTip,
    .tip,
    .tipEmpty {
        display: block;
        font-size: 14px;
        color: red;
    }

    .message {
        cursor: pointer;
    }

    /*底部样式*/
    button {
        width: 70px;
        height: 40px;
        border-radius: 5px;
        color: black;
        border: none;
        outline: none;
    }
    .confirm {
        background-color: red;
        color: white;
    }
    .cancel {
        background-color: white;
        border: 1px solid #ccc;
        margin-left: 15px;
    }
    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 82px;
        padding: 0px 192px;
        margin-top:30px;
    }
}
@media screen and (max-width: 480px)

{

    .wrap {
        font-size: 14px;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #ccc;
    }
    .container {
        position: relative;
        width: 90%;
        height: 400px;
        top: 50%;
        left: 50%;
        background-color: #fff;
        transform: translate(-50%, -50%);
        border-radius: 10px;
    }
    .header {
        width: 100%;
        margin: 0 auto;
        padding: 20px 6%;
        box-sizing: border-box;
    }
    .tabs {
        width: 100%;
        height: 35px;
        line-height: 35px;
        display: flex;
    }
    .tabs>div:nth-child(1) {
       
        padding-right: 10px;
    }
    .tabs>div:nth-child(2) {
        text-align: left;
        padding-left: 10px;
    }
    .tabs>div {
        flex: 1;
        text-align: center;
    }
    .origin {
        font-weight: 700;
        border-bottom: 2px solid red;
    }

    /*表单样式*/
    .content {
        width: 100%;
        position: relative;
    }
    .originForm,
    .messageForm {
        font-size: 14px;
        width: 90%;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    label {
        margin-top: 15px;
        display: block;
    }
    input {
        width: 60%;
        height: 38px;
        padding: 0 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
        outline: none;
    }
    #mobile,
    #message,
    #newPwd,
    #newPassword,
    #originPassword{
        margin-left: 16px;
    }
    #message {
        width: 25%;
    }
    #msgBtn {
        background-color: red;
        color: white;
        width: 90px;
        margin-left: 10px;
        height: 35px;
    }

    .messageTip,
    .originTip,
    .tip,
    .tipEmpty {
        display: block;
        font-size: 14px;
        color: red;
    }

    /*底部样式*/
    button {
        width: 70px;
        height: 40px;
        border-radius: 5px;
        color: black;
        border: none;
        outline: none;
    }
    .confirm {
        background-color: red;
        color: white;
    }
    .cancel {
        background-color: white;
        border: 1px solid #ccc;
        margin-left: 15px;
    }
    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 82px;
    }
    .footer div {
        width: 170px;
        height: 45px;
        margin: 0 auto;
    }

}
