.validation-message {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--bs-danger);
}

/* ===== Auth pages (Sign-in / Sign-up) ===== */
.auth-bg {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: url('../images/brand-logos/OIG2.jpg') center/cover no-repeat fixed;
}

.auth-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 10, 30, 0.85) 0%, rgba(0, 20, 60, 0.6) 50%, rgba(0, 10, 30, 0.75) 100%);
    z-index: 1;
}

.auth-bg > * {
    position: relative;
    z-index: 2;
}

.auth-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 520px;
}

.auth-top-logo {
    max-width: 340px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5));
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.auth-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
}

.bg-white-transparent {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.border-white-transparent {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

.auth-input:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

.auth-btn {
    letter-spacing: 0.5px;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.05rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.45);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Responsive: center card on small screens */
@media (max-width: 768px) {
    .auth-bg {
        padding: 1rem;
    }

    .auth-card {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .auth-top-logo {
        max-width: 240px;
    }
}

/* Signup page: centered wider card with scroll */
.auth-bg-center {
    overflow-y: auto;
    padding: 2rem 1rem;
}

.auth-card-wide {
    max-width: 520px;
}

/* Select option text for dark-themed dropdowns */
.auth-input option {
    background-color: #1a1f36;
    color: #fff;
}
