
/* ==========================================
   MODERN LOGIN PAGE
========================================== */

body {
    background: #f3f6fb;
    font-family: "Segoe UI", Arial, sans-serif;
}

.login-page-custom {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #f4f7fb;
}

.login-page-custom .half {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

/* GAMBAR SISI KIRI */
.login-page-custom .kolominfo {
    position: relative;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    background: #172b4d;
}

.login-page-custom .kolominfo img {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    display: block;
}

/* PANEL LOGIN */
.login-page-custom .kolomlogin {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 25px;
    background: linear-gradient(145deg, #ffffff, #f4f7fc);
}

.login-page-custom .kolomlogin > .container {
    max-width: 520px;
    width: 100%;
}

/* KARTU LOGIN */
.login-page-custom .login-card {
    background: #ffffff;
    padding: 35px 38px;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(25, 45, 85, 0.10);
    border: 1px solid #edf0f5;
}

/* LOGO */
.login-page-custom .kolomlogo {
    width: 100%;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: center;
}

.login-page-custom .kolomlogo img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    padding: 5px;
    border-radius: 16px;
}

/* NAMA SISTEM */
.login-page-custom .judul-login {
    display: block;
    text-align: center;
    font-size: 23px;
    font-weight: 700;
    color: #1e3155;
    margin: 10px 0 8px;
    line-height: 1.4;
}

.login-page-custom .subjudul-login {
    text-align: center;
    color: #8a96a8;
    font-size: 13px;
    margin-bottom: 28px;
}

/* LABEL DAN INPUT */
.login-page-custom .form-group {
    margin-bottom: 20px;
}

.login-page-custom .form-group label {
    color: #344563;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-page-custom .form-control {
    height: 48px;
    border-radius: 9px;
    border: 1px solid #dfe5ef;
    box-shadow: none;
    padding: 10px 14px;
    font-size: 14px;
    background: #fafbfe;
    transition: all 0.25s ease;
}

.login-page-custom .form-control:focus {
    border-color: #3978db;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(57, 120, 219, 0.10);
}

.login-page-custom .form-control::placeholder {
    color: #aab3c2;
}

/* PASSWORD */
.login-page-custom .ipt_pass {
    display: flex;
}

.login-page-custom .ipt_pass .form-control {
    border-radius: 9px 0 0 9px;
}

.login-page-custom .ipt_pass .input-group-text {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #dfe5ef;
    border-left: 0;
    border-radius: 0 9px 9px 0;
    background: #f5f7fb;
}

.login-page-custom .ipt_pass .input-group-text a {
    color: #64748b;
    text-decoration: none;
}

/* CAPTCHA */
.login-page-custom .captcha-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px;
    background: #f7f9fc;
    border: 1px dashed #d8dfeb;
    border-radius: 9px;
}

.login-page-custom .captcha-area img {
    max-width: 100%;
    object-fit: contain;
}

.login-page-custom .captcha-area a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 6px;
    background: #e9eef7;
}

.login-page-custom .captcha-area a:hover {
    background: #dce6f5;
}

/* TOMBOL LOGIN */
.login-page-custom .btn-login {
    height: 49px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #2868c7, #174a9c);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 16px rgba(40, 104, 199, 0.22);
    transition: all 0.25s ease;
}

.login-page-custom .btn-login:hover {
    background: linear-gradient(135deg, #174a9c, #103d82);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(40, 104, 199, 0.28);
}

.login-page-custom .btn-login:active {
    transform: translateY(0);
}

/* ALERT LOGIN */
.login-page-custom .alert {
    border-radius: 9px;
    font-size: 13px;
}

/* FOOTER */
.login-page-custom .footer-login {
    max-width: 520px;
    width: 100%;
    margin: 25px auto 0;
    padding: 0 8px;
    color: #8b96a8;
}

.login-page-custom .footer-login p {
    margin-bottom: 0;
}

.login-page-custom .footer-login a {
    color: #425574;
}

.login-page-custom .footer-login img {
    object-fit: contain;
}

/* RESPONSIVE HP */
@media (max-width: 991px) {

    .login-page-custom .kolominfo {
        display: none;
    }

    .login-page-custom .kolomlogin {
        min-height: 100vh;
        padding: 30px 18px;
    }

    .login-page-custom .login-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {

    .login-page-custom .login-card {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .login-page-custom .judul-login {
        font-size: 20px;
    }

    .login-page-custom .footer-login {
        font-size: 11px;
    }
}
