/* Login page custom styles */

body.login-page {
    background-color: #f0f4f8;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    display: flex;
    width: 100%;
    max-width: 960px;
    min-height: 580px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #fff;
}

/* ── Left Panel ────────────────────────────── */

.login-left-panel {
    position: relative;
    width: 50%;
    background: linear-gradient(160deg, #3a8fd4 0%, #1a6ab0 50%, #0f4f8a 100%);
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    overflow: hidden;
    color: #fff;
}

/* Secondary-color geometric overlay to soften background */
.login-left-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(108, 117, 125, 0.18); /* secondary color overlay */
    pointer-events: none;
    z-index: 0;
}

.login-left-panel > * {
    position: relative;
    z-index: 1;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: auto;
}

.login-brand img {
    height: 44px;
    width: auto;
}

.login-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0 16px;
}

.login-illustration img {
    width: 100%;
    max-width: 340px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
}

.login-features {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.login-feature-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    color: #fff;
    backdrop-filter: blur(4px);
}

.login-feature-card i {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 6px;
    opacity: 0.9;
}

.login-feature-card h6 {
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: #fff;
}

.login-feature-card small {
    font-size: 0.67rem;
    opacity: 0.75;
    color: #fff;
    line-height: 1.3;
    display: block;
}

/* ── Right Panel ───────────────────────────── */

.login-right-panel {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 44px;
    background: #fff;
}

.login-form-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.login-form-subtitle {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 28px;
}

.login-right-panel .form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 6px;
}

.login-right-panel .input-group-text {
    background-color: #f7fafc;
    border-color: #e2e8f0;
    color: #a0aec0;
}

.login-right-panel .form-control {
    border-color: #e2e8f0;
    font-size: 0.9rem;
    padding: 10px 14px;
    color: #2d3748;
}

.login-right-panel .form-control:focus {
    border-color: #71b6f9;
    box-shadow: 0 0 0 3px rgba(113, 182, 249, 0.18);
}

.login-right-panel .form-control::placeholder {
    color: #cbd5e0;
}


.login-btn-submit {
    padding: 11px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 8px;
}

.login-btn-submit i {
    margin-left: 6px;
}


/* ── Mobile Brand (logo on small screens) ──── */

.login-mobile-brand {
    display: none;
    justify-content: center;
    margin-bottom: 24px;
}

.login-mobile-brand img {
    height: 40px;
    width: auto;
}

/* ── Responsive ────────────────────────────── */

@media (max-width: 767.98px) {
    .login-left-panel {
        display: none;
    }

    .login-right-panel {
        width: 100%;
        padding: 36px 28px;
    }

    .login-card {
        border-radius: 12px;
    }

    .login-mobile-brand {
        display: flex;
    }
}

@media (max-width: 480px) {
    .login-right-panel {
        padding: 28px 20px;
    }

    .login-form-title {
        font-size: 1.5rem;
    }
}
