/* Hero section that covers full viewport.
   Navy/gold identity — same tokens as public/css/propp-home.css (loaded
   alongside this file), matching the default homepage. Not tied to MARA.
   Redesigned toward a calmer, product-login feel: single centered column
   pair, no marketing hero copy, quiet dot-grid texture instead of glow
   blobs, and a card that reads as an app surface rather than a landing
   page CTA. */
.hero-section {
    background: linear-gradient(135deg, var(--propp-navy-deep) 0%, var(--propp-navy-mid) 35%, var(--propp-navy) 65%, var(--propp-navy-light) 100%);
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    padding-top: 96px;
    /* Account for fixed navbar */
    padding-bottom: 4rem;
    position: relative;
    z-index: 10;
}

/* Brand column (left) */
.brand-col {
    padding-right: 3rem;
}

.brand-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--propp-gold);
    margin-bottom: 1.25rem;
}

.brand-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--propp-gold);
}

.brand-title {
    font-weight: 800;
    font-size: 2.35rem;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 1rem;
}

.brand-title strong {
    color: var(--propp-gold);
}

.brand-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    max-width: 420px;
    font-weight: 400;
    margin-bottom: 0;
}

/* Login Form Styles */
.login-form-container {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 45px rgba(9, 9, 20, 0.28);
    max-width: 420px;
    width: 100%;
    margin: 0 0 0 auto;
    position: relative;
    border-top: 4px solid var(--propp-gold);
}

.login-form-header {
    text-align: left;
    margin-bottom: 1.75rem;
}

.login-form-title {
    color: var(--propp-ink);
    font-weight: 700;
    font-size: 1.375rem;
    margin-bottom: 0.35rem;
}

.login-form-subtitle {
    color: #6b6b7a;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #43434f;
    margin-bottom: 0.4rem;
}

.form-control {
    border: 1.5px solid #e2e2e8;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 0.95rem;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    color: var(--propp-ink);
}

.form-control::placeholder {
    color: #b3b3bd;
}

.form-control:focus {
    border-color: var(--propp-gold-dim);
    box-shadow: 0 0 0 3px rgba(255, 200, 0, 0.18);
    outline: none;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.18);
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #9a9aa6;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.password-toggle:hover {
    color: var(--propp-ink);
    background: #f2f2f5;
}

.password-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 200, 0, 0.35);
}

.form-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #43434f;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--propp-gold-dim);
    cursor: pointer;
}

.btn-login {
    background: var(--propp-gold);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--propp-ink);
    width: 100%;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 14px rgba(255, 200, 0, 0.3);
}

.btn-login:hover {
    background: var(--propp-gold-bright);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 200, 0, 0.4);
}

.btn-login:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 200, 0, 0.4);
}

.register-link {
    text-align: center;
    color: #6b6b7a;
    font-size: 0.9rem;
}

.register-link a {
    color: var(--propp-navy-mid);
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

.forgot-password {
    color: var(--propp-navy-mid);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.info_login {
    margin-bottom: 0.5rem;
}

/* Error Messages */
.alert {
    padding: 12px 15px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.9rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

/* Stack columns below desktop */
@media (max-width: 991.98px) {
    .hero-content .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hero-section {
        align-items: flex-start;
    }

    .hero-content {
        padding-top: 100px;
    }

    .brand-col {
        padding-right: 0;
        margin-bottom: 2.5rem;
    }

    .brand-description {
        max-width: 100%;
    }

    .login-form-container {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .brand-title {
        font-size: 1.9rem;
    }

    .hero-content {
        padding-top: 110px;
    }

    .login-form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .brand-title {
        font-size: 1.65rem;
    }

    .login-form-container {
        padding: 1.5rem;
    }
}

/* Subtle entrance — a single quiet fade, not a staggered marketing reveal */
.hero-content > * {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.form-col {
    animation-delay: 0.1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Quiet dot-grid texture instead of decorative gradient blobs */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 80% 60% at 30% 40%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 40%, #000 0%, transparent 70%);
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-content > * {
        opacity: 1;
        animation: none;
    }

    .form-control,
    .btn-login,
    .password-toggle {
        transition: none;
    }

    .btn-login:hover {
        transform: none;
    }
}
