:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --card-bg: #ffffff;
    /* Solid white for maximum contrast and pop */
    --glass-border: 1px solid rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    /* Stronger shadow for highlight */
    --backdrop-blur: blur(0px);
    /* No blur needed for solid opacity */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text-color);
    margin: 0;
    padding-bottom: 2rem;
    overflow-x: hidden;
}

/* Header Logos */
/* Header Logos */
.main-header-wrapper {
    background: #ffffff;
    /* Solid white background */
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Shadow on wrapper */
}

.page-header {
    background: transparent;
    /* Remove individual BG */
    padding: 1rem 0;
    /* Box shadow removed from here as it's on wrapper now */
    backdrop-filter: none;
}

.header-logo {
    max-height: 80px;
    /* Adjust based on preference */
    width: auto;
    object-fit: contain;
}

/* Glassmorphism Card (Now Highlighted Card) */
.glass-card {
    background: #ffffff;
    /* Explicitly solid white */
    border-radius: 20px;
    border: none;
    /* Remove border to avoid glass feel */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    /* Soft, deep shadow */
    padding: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Removed shine effect to prevent any transparency interpretation */

.card-header-custom {
    background: #f8f9fa;
    /* Light gray solid header */
    border-bottom: 1px solid #eee;
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
    margin: -3rem -3rem 2rem -3rem;
    /* Adjust for increased padding */
    text-align: center;
}

.card-header-custom h2 {
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

/* Form Styling */
.form-label {
    font-weight: 700;
    /* Bolder labels */
    color: #444;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    background: #fff;
    /* Solid white inputs for better readability */
    border: 1px solid #ced4da;
    border-radius: 8px;
    /* Slightly less rounded */
    padding: 0.75rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus,
.form-select:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(78, 84, 200, 0.15);
    transform: translateY(-1px);
}

/* Custom Checkbox */
.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.required:after {
    content: " *";
    color: var(--accent-color);
    font-weight: bold;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(78, 84, 200, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 84, 200, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Navigation - Now simpler since we have a header */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0;
    z-index: 100;
}

.navbar-brand span {
    font-weight: 700;
    color: var(--primary-color);
}

/* Scrolling Posters */
.scrolling-poster-container {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 15%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    padding-top: 150px;
    /* Increased space for taller header */
}

.scrolling-poster-container.left {
    left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.scrolling-poster-container.right {
    right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.poster-track {
    display: flex;
    flex-direction: column;
    animation: scroll-vertical 40s linear infinite;
}

.poster-track img {
    max-width: 90%;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
    /* More visible */
}

@keyframes scroll-vertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .glass-card {
        padding: 1.5rem;
    }

    .header-logo {
        max-height: 60px;
    }

    .scrolling-poster-container {
        display: none;
    }
}

@media (max-width: 576px) {
    .header-logo {
        max-height: 40px !important;
    }

    .page-header {
        padding: 0.5rem 0;
    }
}