/* ==========================
   Global Styles (Site-wide)
   ========================== */
body {
    font-family: "Oswald", sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    margin: 0;
}
body.glightbox-open {
    overflow: hidden;
}

/* ===== Sidebar ===== */
.sidebar {
    width: 250px; /* FIXED: single source of truth */
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #1a1a1a;
    color: #ff6600;
    transition: 0.3s;
    z-index: 1000;
}

/* Shrink sidebar */
.sidebar.shrink {
    width: 60px;
}

/* Sidebar links */
.sidebar a {
    color: #ff6600;
    padding: 12px 20px;
    display: block;
    text-decoration: none;
}
.sidebar a:hover {
    background: #1f2937;
    color: #fff;
}
.dropdown-toggle::after {
  display: none !important;
}
.toggle-icon {
  transition: transform 0.3s ease;
}

/* Rotate when open */
a[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

/* ===== Main Content (FIXED PROPERLY) ===== */
.main {
    padding-left: 250px; /* SAME as sidebar width */
    transition: 0.3s;
}

/* When sidebar shrinks */
.sidebar.shrink ~ .main {
    padding-left: 60px;
}

/* ===== Topbar ===== */
.topbar {
    height: 60px;
    background: #1a1a1a;
    color: #ff6600;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ===== Cards ===== */
.card {
    background-color: #1e1e1e;
    border: none;
    color: #fff;
    border-radius: 12px;
    transition: 0.3s;
}
.card:hover {
    transform: translateY(-6px);
}
.menu {
    background-color: #1e1e1e;
    border: none;
    margin-top: 12px;
    color: #fff;
    border-radius: 12px;
}
/* Modal Content */
.modal-content {
    border-radius: 1rem; /* Rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Soft shadow */
    border: none;
}

/* Modal Header */
.modal-header {
    background-color: #1a1a1a; /* Dark header */
    color: #ff6600; /* Accent color for text */
    border-bottom: none;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* Modal Title */
.modal-title {
    font-weight: 600;
    font-size: 1.2rem;
}

/* Modal Body */
.modal-body {
    background-color: #121212; /* Dark modal body */
    color: #ffffff;
}

/* Form Inputs */
.modal-body .form-control,
.modal-body .form-select {
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    border-radius: 0.5rem;
}

/* Focus effect */
.modal-body .form-control:focus,
.modal-body .form-select:focus {
    border-color: #ff6600;
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
    background-color: #1a1a1a;
    color: #fff;
}

/* Modal Footer */
.modal-footer {
    background-color: #1a1a1a;
    border-top: none;
    justify-content: flex-end;
}

/* Buttons */
.modal-footer .btn-primary {
    background-color: #ff6600;
    border-color: #ff6600;
    border-radius: 0.5rem;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: 0.3s;
}

.modal-footer .btn-primary:hover {
    background-color: #e65c00;
    border-color: #e65c00;
}

.modal-footer .btn-secondary {
    background-color: #333;
    border-color: #333;
    border-radius: 0.5rem;
    padding: 0.5rem 1.2rem;
}

.modal-footer .btn-secondary:hover {
    background-color: #444;
    border-color: #444;
}
/* ===== Overlay (for mobile) ===== */
.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    z-index: 999;
}
.overlay.active {
    display: block;
}

/* ===== Mobile Fix ===== */
@media (max-width: 768px) {
    .sidebar {
        left: -250px;
    }

    .sidebar.active {
        left: 0;
    }

    /* IMPORTANT: remove padding in mobile */
    .main {
        padding-left: 0;
    }
}

.navbar {
    background-color: #1a1a1a;
}
.navbar-brand,
.nav-link {
    color: #ff6600 !important;
}

.brand {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding: 4px 10px;
    color: #ff6600;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #1a1a1a, #111);
    border-bottom: 1px solid #2a2a2a;
    text-transform: uppercase;
}

/* ==========================
   Hero Section
   ========================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    /* ❌ removed pointer-events: none */
}

/* Background Image */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../img/hero.jpeg") no-repeat center center;
    background-size: cover;
    transform: scale(1);
    animation: zoomHero 20s ease-in-out infinite alternate;
    filter: blur(2px);
    z-index: 0;
    pointer-events: none; /* ✅ keep this */
}
/* Dark Overlay */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none; /* 🔥 ADD THIS */
}
@keyframes zoomHero {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}
/* Content */
.hero-content {
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 4rem;
    color: #ff6600;
}
.hero-title {
    font-size: 4.5rem;
    color: #ff6600;
    -webkit-text-stroke: 1px #000;
    text-stroke: 1px #fff;
    font-weight: 900;
}
.alert {
    position: relative;
    z-index: 9999;
}
/* ==========================
   Buttons
   ========================== */
.btn-orange {
    background-color: #ff6600;
    color: #fff;
    border-radius: 50px;
    padding: 10px 25px;
    transition: 0.3s;
    text-decoration: none;
    border: none;
}
.btn-orange:hover {
    background-color: #e65c00;
    color: #fff;
}
.btn-outline-orange {
    border: 2px solid #ff6600;
    color: #ff6600;
    transition: 0.3s;
}
.btn-outline-orange:hover {
    background-color: #ff6600;
    color: #fff;
}

/* ==========================
   Sections / Cards
   ========================== */
.section-title {
    color: #ff6600;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-align: center;
}
.card {
    background-color: #1e1e1e;
    border: none;
    color: #fff;
    transition: transform 0.3s ease-in-out;
}
.card h5,
.card p {
    color: #fff;
}
.card:hover {
    transform: translateY(-8px);
}

/* ==========================
   Footer
   ========================== */
footer {
    background: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    color: #aaa;
}
footer a {
    color: #ff6600;
    text-decoration: none;
}

/* ==========================
   Booking Form
   ========================== */
#tickets input,
#tickets select {
    font-size: 0.9rem;
    padding: 6px 10px;
}
#tickets .btn-orange {
    font-size: 0.9rem;
    padding: 8px 18px;
}

/* ==========================
   Timeline
   ========================== */
.event-history {
    max-width: 800px;
    margin: auto;
    padding: 40px 20px;
    font-family: "Segoe UI", sans-serif;
}

.event-history .title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ff6600;
}

.history-card {
    display: flex;
    align-items: flex-start;
    background: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.history-card .icon {
    font-size: 1.8rem;
    color: #ff6600;
    margin-right: 15px;
}

.history-card .details h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.2rem;
}

.history-card .details .date {
    font-size: 0.9rem;
    color: #aaa;
    margin-left: 10px;
}

.history-card p {
    color: #ddd;
    margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .history-card {
        flex-direction: column;
    }
    .history-card .icon {
        margin-bottom: 10px;
    }
}
/* ==========================
   Gallery
   ========================== */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #ff6600;
    transition: transform 0.3s;
    cursor: pointer;
}
.gallery-img:hover {
    transform: scale(1.05);
}
.glightbox-container {
    z-index: 99999 !important;
}

.goverlay {
    background: rgba(0, 0, 0, 0.5) !important; /* lighter background */
}
/* ==========================
   DataTables
   ========================== */
table.dataTable tbody tr {
    background-color: #1e1e1e;
}
table.dataTable thead {
    background-color: #262626;
    color: #ff6600;
}
table.dataTable th,
table.dataTable td {
    color: #000;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #ff6600 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #ff6600 !important;
    color: #fff !important;
    border-radius: 5px;
}

/* ===== OVERLAY ===== */

.notification {
    position: relative;
    font-size: 1.2rem;
    color: #ff6600;
    cursor: pointer;
}
.notification .badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #e65c00;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    padding: 3px 6px;
}

/* ==========================
   Content
   ========================== */

.text-orange {
    color: #ff6600 !important;
}

/* ==========================
   Login Page Specific
   (use <body class="login-page">)
   ========================== */
/* 🔥 Login Page Wrapper */
.login-page {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* 🔥 Hero Background */
.login-page .hero {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.login-page .hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../img/hero.jpeg") no-repeat center center;
    background-size: cover;
    filter: blur(4px) brightness(0.7);
    transform: scale(1.1); /* prevents blur edges */
}

/* 🔥 Centered Login Box */
.login-container {
    position: relative;
    z-index: 10;
    max-width: 380px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 26, 0.9);
    padding: 40px;
    border-radius: 12px;
    /* box-shadow: 0 0 25px rgba(255, 102, 0, 0.4); */
    text-align: center;
}

.login-container h2 {
    color: #ff6600;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}
.input-icon {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
    color: #ff6600;
}
.form-control {
    width: 100%;
    padding: 5px;
    border: none;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    outline: none;
}

.form-control::placeholder {
    color: #aaa;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
    color: #ff6600;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #ff6600;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: #e65c00;
}

.extra-links {
    margin-top: 15px;
    font-size: 14px;
}

.extra-links a {
    color: #ff6600;
    text-decoration: none;
}

.extra-links a:hover {
    text-decoration: underline;
}
.custom-accordion .accordion-item {
    background-color: #1e1e1e;
    border: none;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.2);
}

.custom-accordion .accordion-button {
    background-color: #262626;
    color: #ff6600;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 20px;
    border: none;
    box-shadow: none;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.custom-accordion .accordion-button i {
    color: #ff6600;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #ff6600;
    color: #fff;
}

.custom-accordion .accordion-button:not(.collapsed) i {
    color: #fff;
}

.custom-accordion .accordion-body {
    background-color: #1a1a1a;
    color: #ddd;
    padding: 20px;
    line-height: 1.6;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
}

/* Add hover effect */
.custom-accordion .accordion-button:hover {
    background-color: #333;
    color: #ff8533;
}

/* Datatables */
/* Space below search bar */
.dataTables_filter {
    margin-bottom: 15px;
}

/* Space above table controls */
.dataTables_wrapper .row {
    margin-bottom: 10px;
}
/* Full table border */
table.dataTable {
    border: 1px solid #dee2e6 !important;
    border-collapse: collapse !important;
}

/* Reduce padding inside table */
table.dataTable td, 
table.dataTable th {
    padding: 6px 10px;
    font-size: 13px;
     border: 1px solid #dee2e6 !important;
}

/* Reduce header size */
table.dataTable thead th {
    font-size: 13px;
    border-bottom: 2px solid #dee2e6 !important;
}

/* Compact pagination */
.dataTables_paginate .paginate_button {
    padding: 3px 8px !important;
    font-size: 12px;
}

/* Compact search box */
.dataTables_filter input {
    height: 30px;
    font-size: 13px;
    padding: 3px 8px;
}

/* FIX DROPDOWN VISIBILITY */
#clubSuggestions {
    position: absolute !important;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99999 !important;
    background: #fff;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
}

/* Ensure parent does not cut it */
.container, .row, .col-md-6 {
    overflow: visible !important;
}
.select2-container--default .select2-selection--single {
    background-color: #fff;
    color: #fff;
    border: 1px solid #444;
    height: 38px;
    padding: 5px;
    
}

.select2-container--default .select2-selection__rendered {
    color: #fff;
}

.select2-dropdown {
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #444;
}

.select2-results__option {
    color: #fff;
}
.blink {
    animation: blink-animation 1s infinite;
}

@keyframes blink-animation {
    0%   { opacity: 1; }
    50%  { opacity: 0.3; }
    100% { opacity: 1; }
}