.ccma-login-card {
    top: 50%;
    bottom: auto;
    right: 7%;
    width: 420px;
    max-width: 46%;
    padding: 34px;
    border: 1px solid rgba(230, 201, 163, 0.22);
    border-radius: 14px;
    background: rgba(22, 21, 20, 0.96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    transform: translateY(-50%);
}

.ccma-login-card .login-logo {
    margin: 0;
    text-align: left;
}

.login-eyebrow {
    margin-bottom: 10px;
    color: #d4ad7e;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.ccma-login-card h1 {
    margin: 0;
    color: #eedac0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.ccma-login-card .login-logo p {
    margin: 10px 0 0;
    color: #aaa49e;
    font-size: 13px;
    line-height: 1.7;
}

.ccma-login-card .login-box-body {
    display: block;
    margin-top: 24px;
    padding: 0;
}

.ccma-login-card .alert {
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
}

.ccma-login-card .alert ul {
    margin: 0;
    padding-left: 18px;
}

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    margin-bottom: 8px;
    color: #d6d0c9;
    font-size: 13px;
    font-weight: 500;
}

.ccma-login-card .form-control {
    height: 46px;
    border: 1px solid #e0ddd8 !important;
    border-radius: 6px !important;
    background: #fff;
    color: #252525;
    font-size: 14px;
}

.ccma-login-card .form-control:focus {
    border-color: #c99a62 !important;
    box-shadow: 0 0 0 3px rgba(201, 154, 98, 0.18) !important;
}

.ccma-login-card .btn.btn-flat {
    width: 100%;
    height: 46px;
    margin-top: 6px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(105deg, #bc8960, #f0d3a9 58%, #d4a46b);
    color: #211810;
    font-size: 15px;
    font-weight: 700;
}

.ccma-login-card .btn.btn-flat:hover,
.ccma-login-card .btn.btn-flat:focus {
    filter: brightness(1.07);
}

.ccmaRegiser {
    margin-top: 18px;
    color: #b9b3ac;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.ccmaRegiser a {
    color: #e3bd8c;
    font-weight: 600;
}

.ccmaRegiser a:hover,
.ccmaRegiser a:focus {
    color: #f0d3a9;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .ccma-login-card {
        right: 3%;
        max-width: 52%;
    }

    .back_jin {
        width: 38%;
        margin-left: 7%;
    }
}

@media (max-width: 767px) {
    .all_fa,
    .jiintong_all {
        height: auto;
        min-height: 100vh;
    }

    .all_fa {
        display: block;
    }

    .jiintong_all {
        padding: 1px 0 40px;
    }

    .assess_logo {
        top: 28px;
        left: 24px;
        width: 125px;
    }

    .back_jin {
        top: 150px;
        left: 50%;
        right: auto;
        bottom: auto;
        width: min(72vw, 360px);
        margin: 0;
        opacity: 0.2;
        transform: translateX(-50%);
    }

    .ccma-login-card {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% - 40px);
        max-width: 420px;
        margin: 170px auto 0;
        padding: 26px 22px;
        transform: none;
    }

    .ccma-login-card h1 {
        font-size: 21px;
    }
}

.ccma-register-card .alert[hidden],
.ccma-register-card .register-btn-loading,
.ccma-register-card .is-loading .register-btn-text {
    display: none;
}

.ccma-register-card .is-loading .register-btn-loading {
    display: inline;
}
