/* 
 * Modern Light Theme Overrides
 * Adds clean aesthetics, modern typography, and glassmorphism.
 */

body {
    background-color: var(--bs-light-bg) !important;
    color: var(--bs-text-color) !important;
}

/* Force text readability across all elements */
p, span, li, label, td, th, div.text-dark, .text-muted, .text-body, .text-black-50 {
    color: var(--bs-text-color) !important;
}

/* Modals */
.modal-content {
    background-color: var(--bs-surface) !important;
    color: var(--bs-text-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Cards & Containers */
.card, .box, .cinema-area {
    background-color: var(--bs-surface) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(229, 9, 20, 0.15);
}

/* Typography & Links */
a {
    color: var(--bs-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--bs-primary);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--bs-text-color);
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Buttons */
.btn-primary, .btn-warning, .btn-danger {
    background: linear-gradient(135deg, var(--bs-warning) 0%, var(--bs-primary) 50%, var(--bs-secondary) 100%) !important;
    border: none !important;
    color: white !important;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(227, 24, 55, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-warning:hover, .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 24, 55, 0.4);
}

/* Inputs */
.form-control, .input-group-text {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    color: #111827 !important;
    border-radius: 8px;
}

.form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(229, 9, 20, 0.15) !important;
}

/* Navigation specific */
.home-back-btn i {
    color: #111827;
    background: rgba(0,0,0,0.05);
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s;
}
.home-back-btn i:hover {
    background: rgba(0,0,0,0.1);
    color: var(--bs-primary);
}

/* Date Selection Pills */
.calender-my-slider1 {
    background-color: transparent !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 20px !important;
    margin: 5px !important;
    transition: all 0.3s ease !important;
    text-align: center;
}
.calender-my-slider1 a {
    display: block;
    padding: 8px 15px;
    color: var(--bs-text-muted) !important;
}
.calender-my-slider1 a p {
    margin: 0 !important;
    line-height: 1.2;
}
.calender-my-slider1.active, .calender-my-slider1:hover {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}
.calender-my-slider1.active a, .calender-my-slider1.active a p, .calender-my-slider1:hover a, .calender-my-slider1:hover a p {
    color: #ffffff !important;
}

/* Showtime Pills */
.ticket-booking-detailsss-time button {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 6px !important;
    padding: 6px 16px !important;
    margin-right: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}
.ticket-booking-detailsss-time button:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.ticket-booking-detailsss-time button:hover span, .ticket-booking-detailsss-time button:hover p {
    color: #ffffff !important;
}
.ticket-booking-detailsss-time button span {
    font-size: 14px;
    font-weight: 500;
}

/* Ticket Booking Banner Overrides */
.ticket-booking-banner {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
    padding: 30px 15px !important;
    color: white !important;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.ticket-booking-bannerss h3 {
    color: white !important;
    font-weight: 700;
    margin-right: 15px;
}
.ticket-booking-bannerss span {
    color: #ffffff !important;
}
.ticket-booking-bannerss p span {
    color: #d1d5db !important;
    font-size: 14px;
}

/* Footer Overrides */
.footer-contents {
    background-color: #f3f4f6 !important;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.footer-contents-txt h4 {
    color: #111827 !important;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}
.footer-contents-txt p a {
    color: var(--bs-text-muted) !important;
    font-size: 13px;
}
.footer-contents-txt p a:hover {
    color: var(--bs-primary) !important;
}
.footer-customer-care {
    background-color: #ffffff !important;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.footer-customer-care-icon p, .footer-customer-care-icon span, .footer-customer-care-icon a {
    color: var(--bs-text-color) !important;
}

/* Seat Layout Modernization */
.select-seats-input .seat label {
    width: 22px !important;
    height: 22px !important;
    border-radius: 6px !important;
    border: 1px solid #555 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    color: #111 !important;
    transition: all 0.2s ease !important;
    background: #fff !important;
}

.select-seats-input .seat label:hover {
    background: #f1f5f9 !important;
    border-color: #333 !important;
    transform: scale(1.1) !important;
}

.select-seats-input .seat input[type="checkbox"]:checked + label {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
    border-color: #15803d !important;
    color: #ffffff !important;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.3), 0 2px 4px rgba(22,163,74,0.4) !important;
    transform: scale(1.1) !important;
}

.select-seats-input .seat input[type="checkbox"]:disabled + label {
    background: #cbd5e1 !important;
    border-color: #cbd5e1 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
}

.select-seats-input .row-label {
    width: 22px !important;
    height: 22px !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #64748b !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
    font-size: 12px !important;
}

.select-seats-input table td[colspan] {
    font-weight: 600 !important;
    color: #334155 !important;
    padding-bottom: 12px !important;
    padding-top: 12px !important;
    font-size: 15px !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.select-seats-input .sold::before {
    background-color: #cbd5e1 !important;
    border-radius: 4px !important;
}

.select-seats-input .available::before {
    background-color: #fff !important;
    border: 1px solid #555 !important;
    border-radius: 4px !important;
}

.select-seats-input .selected::before {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
    border: 1px solid #15803d !important;
    border-radius: 4px !important;
}
