/* Custom Style Khusus Halaman Login */
:root {
    --primary-blue: #1e3c72;
    --secondary-blue: #2a5298;
    --accent-blue: #64b5f6;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f1f5f9;
}

body.login-page,
html.login-page {
    height: 100%;
    margin: 0;
    background-color: var(--bg-light);
    font-family: 'Roboto', sans-serif;
    padding-top: 0 !important;
}

body.login-page nav,
body.login-page .navbar,
body.login-page header,
body.login-page .header-area,
body.login-page .background-header,
html.login-page nav,
html.login-page .navbar,
html.login-page header,
html.login-page .header-area,
html.login-page .background-header {
    display: none !important;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Side Left Section - Foto Gedung + Overlay Gradien Biru */
.login-left-bg {
    background: linear-gradient(135deg, rgba(15, 32, 67, 0.88) 0%, rgba(27, 56, 107, 0.85) 100%),
        url('../images/IMG_ubp.jpg') no-repeat center center !important;
    background-size: cover !important;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 50px 40px;
    overflow: hidden;
}

.login-left-bg #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.login-left-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 580px;
}

.login-left-content h2 {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.3;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.login-left-content p {
    color: #f1f5f9;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

/* Form / Side Right Section */
.login-right-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    min-height: 100vh;
    background-color: var(--bg-light);
}

.card-login {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    width: 100%;
    max-width: 420px;
    padding: 35px 32px;
    position: relative;
}

/* Tombol Kembali di Dalam Card */
.card-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    margin-bottom: 15px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.card-back-link:hover {
    color: var(--secondary-blue);
    transform: translateX(-3px);
}

/* Logo UBP di Atas Form Login */
.card-login .brand-logo {
    text-align: center;
    margin-bottom: 18px;
}

.card-login .brand-logo img {
    width: 70px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.card-login h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: -0.3px;
}

.form-group label {
    font-weight: 500;
    color: #334155;
    font-size: 14px;
    margin-bottom: 6px;
}

.form-control-custom {
    height: 48px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    padding: 0 16px;
    font-size: 14px;
    color: var(--text-dark);
    background-color: #f8fafc;
    transition: all 0.25s ease;
}

.form-control-custom:focus {
    background-color: #ffffff;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 4px rgba(42, 82, 152, 0.15);
    outline: none;
}

/* Tombol Login */
.btn-login {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: #ffffff;
    border: none;
    height: 48px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.25);
}

.btn-login:hover {
    background: linear-gradient(135deg, #162c54 0%, #1e3c72 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(30, 60, 114, 0.35);
    transform: translateY(-1px);
}

/* Pusat Bantuan WhatsApp */
.help-center {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
    text-align: center;
}

.help-center p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 400;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25D366;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 13px;
    padding: 9px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
    transition: all 0.25s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .login-left-bg {
        display: none;
    }

    .login-right-container {
        min-height: 100vh;
        padding: 20px;
    }
}
