/**
 * Login page – split screen (form left, image right)
 */
.login-page {
    margin: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

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

/* ========== Form panel (left, 50%) ========== */
.login-form-panel {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #fff;
}

.login-form-inner {
    width: 100%;
    max-width: 400px;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    margin-bottom: 2.5rem;
}

.login-logo i {
    font-size: 1.75rem;
    color: #0d6efd;
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.35rem;
}

.login-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.login-form .form-label {
    font-weight: 500;
    color: #334155;
}

.login-form .form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 0.65rem 1rem;
}

.login-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.login-btn {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    background: #0d6efd;
    border: none;
}

.login-btn:hover {
    background: #0a58ca;
}

.login-footer-text {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.login-footer-text a {
    color: #0d6efd;
    text-decoration: none;
}

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

/* ========== Image panel (right, 50%) ========== */
.login-image-panel {
    flex: 0 0 50%;
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #0d6efd 50%, #0a58ca 100%);
    background-size: cover;
    background-position: center;
    background-image: url('https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=1200');
}

.login-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.85) 0%, rgba(30, 58, 95, 0.9) 100%);
}

.login-image-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    color: #fff;
}

.login-image-quote {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 1rem;
    max-width: 420px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.login-image-tagline {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ========== Mobile: stack form on top, image below (or hide image) ========== */
@media (max-width: 991.98px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-form-panel {
        flex: 1;
        min-height: 100vh;
        padding: 1.5rem;
    }

    .login-image-panel {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .login-form-inner {
        max-width: 360px;
    }

    .login-image-content {
        padding: 3rem;
    }

    .login-image-quote {
        font-size: 1.5rem;
    }
}
