/* DIYCSS
   ========================================================================== */
/**
 * 1. 如果要修改css ，建议在这个文件修改覆盖即可，更新的时候，注意备份此文件即可
 * 2. 如果要修改css ，建议在这个文件修改覆盖即可，更新的时候，注意备份此文件即可
 *    如果要修改css ，建议在这个文件修改覆盖即可，更新的时候，注意备份此文件即可
 */

/* Frontend member login and registration */
.swal2-popup.maomao-auth-popup {
    overflow: visible;
    border-radius: 8px;
    box-shadow: 0 20px 54px rgba(19, 43, 64, .22);
}

.swal2-popup.maomao-auth-popup .swal2-close {
    color: #8d98a4;
    font-size: 25px;
    font-weight: 300;
    height: 38px;
    line-height: 34px;
    position: absolute;
    right: 8px;
    top: 7px;
    width: 38px;
}

.swal2-popup.maomao-auth-popup .swal2-close:hover {
    color: #34495e;
}

.navbar .maomao-register-btn {
    align-items: center;
    background-color: #f6f6f6;
    border-radius: 4px;
    color: #34495e;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    height: 30px;
    justify-content: center;
    margin-right: 0;
    padding: 0 10px;
    width: 80px;
}

.navbar .maomao-register-btn:hover {
    opacity: .8;
    transition: all .3s ease;
}

.ripro-dark .navbar .maomao-register-btn {
    background-color: #232425;
    color: #ffffff;
}

.maomao-auth-modal,
.maomao-auth-modal .modal-content {
    width: 100%;
}

.maomao-auth-modal .modal-body {
    padding: 28px 32px 26px;
}

.maomao-auth-brand {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 0 22px;
}

.maomao-auth-modal .popup-logo {
    display: block;
    height: 38px;
    margin: 0;
    max-width: 180px;
    object-fit: contain;
    padding: 0;
    width: auto;
}

.maomao-auth-brand p {
    color: #9aa4ad;
    font-size: 12px;
    line-height: 18px;
    margin: 7px 0 0;
}

.maomao-auth-heading {
    margin-bottom: 18px;
}

.maomao-auth-heading h2 {
    color: #273b4c;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    margin: 0;
}

.maomao-auth-heading p {
    color: #8d98a4;
    font-size: 13px;
    line-height: 20px;
    margin: 4px 0 0;
}

.maomao-auth-form .form-group {
    display: block;
    margin: 0 0 13px;
}

.maomao-auth-label {
    color: #5d6b78;
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    margin-bottom: 6px;
}

.maomao-auth-control {
    display: block;
    position: relative;
}

.maomao-auth-control > i {
    color: #9aa4ad;
    font-size: 14px;
    left: 14px;
    line-height: 46px;
    position: absolute;
    top: 0;
    width: 16px;
    z-index: 1;
}

.maomao-auth-modal .form-control {
    background: #f7f8fa;
    border: 1px solid #e5e9ed;
    border-radius: 4px;
    box-shadow: none;
    color: #34495e;
    font-size: 14px;
    height: 46px;
    line-height: 20px;
    padding: 12px 14px 12px 40px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.maomao-auth-modal .form-control::placeholder {
    color: #a7afb7;
}

.maomao-auth-modal .form-control:focus {
    background: #fff;
    border-color: #e2a428;
    box-shadow: 0 0 0 3px rgba(226, 164, 40, .14);
}

.maomao-auth-options {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 1px 0 17px;
}

.maomao-auth-remember {
    align-items: center;
    color: #6f7d89;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    gap: 7px;
    line-height: 20px;
    margin: 0;
}

.maomao-auth-remember input {
    accent-color: #456780;
    height: 15px;
    margin: 0;
    width: 15px;
}

.maomao-auth-lostpassword {
    color: #456780;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.maomao-auth-lostpassword:hover,
.maomao-auth-lostpassword:focus {
    color: #d28f13;
}

.maomao-auth-modal .btn--primary {
    align-items: center;
    border-radius: 4px;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    height: 46px;
    justify-content: center;
    line-height: 20px;
    margin: 0;
    padding: 0 16px;
}

.maomao-auth-modal .btn--primary > i {
    margin-right: 8px;
}

.maomao-auth-modal .btn--primary:disabled {
    cursor: wait;
    opacity: .72;
}

.maomao-auth-captcha {
    align-items: center;
    color: #8d98a4;
    display: flex;
    font-size: 12px;
    line-height: 18px;
    margin-top: 13px;
}

.maomao-auth-captcha > i {
    color: #7890a3;
    font-size: 13px;
    margin-right: 7px;
}

.maomao-auth-captcha > div {
    position: absolute;
}

.maomao-auth-switch {
    align-items: center;
    border-top: 1px solid #edf0f2;
    color: #8d98a4;
    display: flex;
    font-size: 13px;
    justify-content: center;
    line-height: 20px;
    margin-top: 17px;
    padding-top: 16px;
}

.maomao-auth-switch .btn-link {
    background: transparent;
    border: 0;
    color: #456780;
    font-size: 13px;
    font-weight: 600;
    height: auto;
    line-height: 20px;
    margin: 0 0 0 5px;
    padding: 0;
}

.maomao-auth-switch .btn-link:hover,
.maomao-auth-switch .btn-link:focus {
    color: #e2a428;
    text-decoration: none;
}

@media (max-width: 480px) {
    .maomao-auth-modal .modal-body {
        padding: 26px 22px 22px;
    }

    .maomao-auth-brand {
        margin-bottom: 20px;
    }

    .maomao-auth-heading {
        margin-bottom: 16px;
    }
}
