/* =====================================
   UKS Stratifikasi Login Theme
===================================== */

body.login-page {
    background: linear-gradient(135deg,
            #eef7f2 0%,
            #f8fbfd 50%,
            #edf4ff 100%);
    min-height: 100vh;
}

.login-box {
    width: 500px;
    margin: 3% auto;
    /* margin-top: 20px; */
}

.login-logo {
    margin-bottom: 25px;
    text-align: center;
}

.login-logo a {
    color: #0d4f8b;
    font-size: 52px;
    font-weight: 300;
    letter-spacing: -1px;
    white-space: nowrap;
}

.login-logo b {
    font-weight: 800;
    color: #0d4f8b;
}

.login-box-body {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    border-top: none;
    position: relative;
    overflow: hidden;
}

.login-box-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
            #00a651,
            #0d4f8b,
            #ef3e36);
}

.login-box-msg {
    color: #555;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.form-control {
    height: 58px;
    border-radius: 14px;
    border: 1px solid #dbe3e8;
    font-size: 18px;
    padding-left: 18px;
}

.form-control:focus {
    border-color: #00a651;
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}

.form-control-feedback {
    line-height: 58px;
    color: #7c7c7c;
}

.btn-home {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 999px;
    background: #eef4fb;
    color: #0d4f8b;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #d7e4f2;
}

.btn-home:hover {
    background: #e2eefb;
    text-decoration: none;
}



.login-box .btn-primary {
    background: #0d4f8b;
    border-color: #0d4f8b;
    border-radius: 18px;
    height: 50px;
    margin-right: 8px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(13, 79, 139, .15);
    transition: all .2s ease;
}

.login-box .btn-primary:hover {
    background: #0b4477;
    border-color: #0b4477;
    transform: translateY(-1px);
}

.btn-primary:focus {
    background: #008f45;
    border-color: #008f45;
}

.login-box-body a {
    color: #0d4f8b;
    font-weight: 500;
}

.login-box-body a:hover {
    color: #008f45;
}

.icheckbox_square-blue {
    border-radius: 4px;
}

.callout-error {
    border-left: 4px solid #ef3e36;
    border-radius: 12px;
}

.btn-google {
    border-radius: 14px !important;
}

.btn-google i {
    border-radius: 14px 0 0 14px;
}

@media (max-width: 768px) {
    .login-box {
        width: 94%;
        margin-top: 10%;
    }

    .login-logo a {
        font-size: 42px;
    }

    .login-box-body {
        padding: 28px;
    }
}

.login-nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.login-nav-links a {
    color: #0d4f8b;
    font-weight: 600;
    text-decoration: none;
}

.login-nav-links a:hover {
    text-decoration: underline;
}

/* Registration page */
.register-page {
    background: linear-gradient(135deg, #f4fbfb 0%, #f7fbff 55%, #eef5fb 100%);
    min-height: 100vh;
}

.register-box {
    width: 820px;
    max-width: 92%;
    margin: 5% auto;
}

.register-logo {
    margin-bottom: 34px;
    text-align: center;
}

.register-logo a {
    color: #0d4f8b;
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -2px;
    text-decoration: none;
}

.register-box-body {
    background: #fff;
    border-radius: 28px;
    padding: 42px 52px;
    box-shadow: 0 22px 55px rgba(13, 79, 139, 0.12);
    border-top: none;
    position: relative;
    overflow: hidden;
}

.register-box-body::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 7px;
    background: linear-gradient(90deg, #00a651, #0d4f8b, #ef3e36);
}

.register-box-msg {
    color: #505050;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 34px;
    text-align: center;
}

.register-box-body label {
    color: #4d4d4d;
    font-weight: 700;
}

.register-box-body .form-control {
    height: 56px;
    border-radius: 16px;
    border: 1px solid #d7e2ea;
    font-size: 18px;
    padding-left: 18px;
}

.register-box-body .form-control:focus {
    border-color: #0d4f8b;
    box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.10);
}

.register-box-body .form-control-feedback {
    line-height: 56px;
    color: #777;
}

.register-box-body .btn-primary {
    background: #0d4f8b;
    border-color: #0d4f8b;
    border-radius: 18px !important;
    height: 54px;
    min-width: 180px;
    font-size: 18px;
    font-weight: 700;
}

.register-box-body .btn-primary:hover {
    background: #0b4477;
    border-color: #0b4477;
}

.register-box-body a {
    color: #0d4f8b;
    font-weight: 700;
}

.register-box-body a:hover {
    color: #0b4477;
}