html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Background Carousel ─────────────────────────────────────── */
#bg-carousel {
    position: fixed;
    inset: 0;
    z-index: -2;
}

#bg-carousel .carousel-inner,
#bg-carousel .carousel-item {
    height: 100%;
}

#bg-carousel .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── Overlay (makes background less distracting) ─────────────── */
.overlay {
    position: fixed;
    /* changed to fixed so it covers whole viewport */
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    /* ← MAIN OPACITY CONTROL */
    /* 
 Quick guide to rgba values:
 rgba(0, 0, 0, 0.3)  → very light / subtle
 rgba(0, 0, 0, 0.5)  → medium (good balance)
 rgba(0, 0, 0, 0.65) → quite dark, very readable text
 rgba(0, 0, 0, 0.8)  → almost black background

 You can also use other colors, examples:
 rgba(30, 40, 80, 0.6)   → dark blue tint
 rgba(100, 20, 20, 0.5)  → dark red/wine tint
*/
    z-index: -1;
    pointer-events: none;
    /* lets clicks pass through to content */
}

/* ── Main Content Layer ──────────────────────────────────────── */
.content-on-top {
    position: relative;
    z-index: 10;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.7);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.print-only {
    display: none;
}

@media print {
    .print-only {
        display: block;
    }
}

/* ── Alert Styling ──────────────────────────────────────────── */
/*
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert .bi {
    font-size: 1.1rem;
    color: #ffc107;
}

.alert .btn-close {
    opacity: 0.6;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.alert .btn-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.alert .btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
    opacity: 1;
}

*/