.tickets-header {
    position: relative;
    background-color: #fff;
    border-bottom: 3px solid #e31837;
}

.tickets-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tickets-logo img {
    height: 35px;
    width: auto;
}

.tickets-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    cursor: pointer;
}

.cart-icon {
    color: #e31837;
    font-size: 1rem;
}

.tickets-nav {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 0;
}

.tickets-nav a {
    padding: 10px 15px;
    color: #000;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    border-right: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.tickets-nav a:last-child {
    border-right: none;
}

.tickets-nav a:hover {
    background-color: #f5f5f5;
}

.tickets-progress {
    background-color: #2c3e7a;
}

.progress-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #8a95b8;
    font-size: 0.7rem;
}

.progress-step.active {
    color: #fff;
}

.progress-step i {
    font-size: 0.8rem;
}

.tickets-main {
    background-color: #f5f5f5;
    padding: 40px 0;
    min-height: 100vh;
}

.tickets-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.tickets-info-banner {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.tickets-info-banner a {
    color: #e31837;
    font-weight: 700;
    text-decoration: none;
}

.ticket-type-selector {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ticket-type-selector h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e7a;
    margin-bottom: 20px;
    text-align: center;
}

.ticket-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.ticket-type-btn {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 15px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.ticket-type-btn:hover {
    background: #e8f1f5;
    border-color: #2c3e7a;
    color: #2c3e7a;
}

.ticket-type-btn.active {
    background: #e31837;
    border-color: #e31837;
    color: #fff;
}

.old-price-inline {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85em;
    margin-right: 8px;
}

.ticket-package {
    background-color: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ticket-package h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.package-description {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 15px;
}

.ticket-details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e31837;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.ticket-details-link:hover {
    text-decoration: underline;
}

.ticket-options {
    margin-top: 30px;
}

.ticket-option {
    background-color: #f8f9fa;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #e8f1f5;
}

.ticket-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.ticket-price-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #2c3e7a;
    border-radius: 4px;
    padding: 5px;
}

.qty-btn {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 12px;
    transition: background-color 0.3s ease;
    user-select: none;
}

.qty-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.qty-btn:active {
    transform: scale(0.95);
}

.quantity {
    color: #fff;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.ticket-contents {
    padding: 20px 25px;
    font-size: 0.9rem;
    color: #333;
}

.ticket-contents p {
    margin-bottom: 8px;
}

.ticket-contents p:last-child {
    margin-bottom: 0;
}

.continue-button-container {
    text-align: center;
    margin-top: 40px;
}

.continue-btn {
    background-color: #e31837;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.continue-btn:hover {
    background-color: #c41530;
}

.tickets-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.sidebar-content p {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.learn-more {
    color: #e31837;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.learn-more:hover {
    text-decoration: underline;
}

.sidebar-info {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.sidebar-info p {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.sidebar-info a {
    color: #e31837;
    text-decoration: none;
    font-weight: 600;
}

.sidebar-info a:hover {
    text-decoration: underline;
}

body {
    padding-top: 0 !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #999;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #000;
}

.modal-content h2 {
    background-color: #2c3e7a;
    color: #fff;
    padding: 20px 25px;
    margin: 0;
    border-radius: 8px 8px 0 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-body {
    padding: 30px 25px;
    line-height: 1.8;
}

.modal-body p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 20px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-body a {
    color: #e31837;
    text-decoration: none;
    font-weight: 600;
}

.modal-body a:hover {
    text-decoration: underline;
}

.calendar-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.calendar-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}

.calendar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calendar-picker {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
}

.calendar-header {
    background-color: #2c3e7a;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    margin-bottom: 15px;
}

.calendar-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.calendar-nav-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: opacity 0.3s ease;
}

.calendar-nav-btn:hover {
    opacity: 0.7;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.calendar-weekdays div {
    background-color: #2c3e7a;
    color: #fff;
    text-align: center;
    padding: 10px 5px;
    font-size: 0.75rem;
    font-weight: 700;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    background-color: #2c3e7a;
    color: #fff;
    text-align: center;
    padding: 15px 5px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.calendar-day:hover {
    background-color: #3d4f8f;
}

.calendar-day.selected {
    background-color: #e31837;
}

.calendar-day.disabled {
    background-color: #6b7ba8;
    cursor: not-allowed;
    opacity: 0.5;
}

.calendar-day.empty {
    background-color: transparent;
    cursor: default;
}

.time-picker {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
}

.selected-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.time-picker h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.time-slot {
    background-color: #e31837;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.time-slot:hover {
    background-color: #c41530;
}

.time-slot.selected {
    background-color: #2c3e7a;
}

.calendar-actions {
    text-align: center;
    margin-top: 30px;
}

.return-btn {
    background-color: #e31837;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.return-btn:hover {
    background-color: #c41530;
}

.continue-to-cart-btn {
    background-color: #e31837;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.continue-to-cart-btn:hover {
    background-color: #c41530;
}

.cart-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cart-table {
    margin-bottom: 30px;
}

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    margin-bottom: 15px;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

.cart-item-name {
    font-weight: 600;
    color: #000;
}

.cart-item-details {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.cart-item-price {
    font-weight: 700;
    color: #000;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #2c3e7a;
    border-radius: 4px;
    padding: 5px;
}

.cart-qty-btn {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.cart-qty-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.cart-qty-display {
    color: #fff;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #e31837;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.cart-remove-btn:hover {
    color: #c41530;
}

.cart-update {
    text-align: right;
    margin-top: 15px;
}

.update-btn {
    background-color: #e31837;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.update-btn:hover {
    background-color: #c41530;
}

.promo-code-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.promo-code-section label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.promo-input-group {
    display: flex;
    gap: 10px;
}

.promo-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.apply-btn {
    background-color: #e31837;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.apply-btn:hover {
    background-color: #c41530;
}

.donation-section {
    display: flex;
    gap: 20px;
    padding: 25px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 30px;
    align-items: center;
}

.time-slot {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.time-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-value {
    font-size: 1.1rem;
    color: #000;
    font-weight: 700;
}

.time-note {
    font-size: 0.75rem;
    color: #999;
    font-weight: 400;
    font-style: italic;
}

.donation-icon {
    width: 80px;
    height: auto;
}

.donation-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.donation-content p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.donate-btn {
    background-color: #e31837;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.donate-btn:hover {
    background-color: #c41530;
}

.cart-total {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.cart-total h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 1rem;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}

.total-row.final {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    border-bottom: none;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 2px solid #000;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.continue-shopping-btn,
.checkout-btn {
    flex: 1;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.continue-shopping-btn {
    background-color: #fff;
    color: #e31837;
    border: 2px solid #e31837;
}

.continue-shopping-btn:hover {
    background-color: #fff5f7;
}

.checkout-btn {
    background-color: #e31837;
    color: #fff;
    border: none;
}

.checkout-btn:hover {
    background-color: #c41530;
}

@media (max-width: 1024px) {
    .tickets-header-container {
        padding: 8px 20px;
    }
    
    .tickets-nav {
        padding: 0 20px;
    }
    
    .progress-container {
        padding: 10px 20px;
    }
    
    .tickets-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tickets-header-container {
        padding: 8px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tickets-logo img {
        height: 30px;
    }
    
    .tickets-header-right {
        gap: 12px;
    }
    
    .language-selector {
        font-size: 0.7rem;
    }
    
    .tickets-nav {
        padding: 0 16px;
        flex-wrap: wrap;
    }
    
    .tickets-nav a {
        padding: 10px 12px;
        font-size: 0.7rem;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        flex: 1 1 calc(33.33% - 10px);
        text-align: center;
    }
    
    .progress-container {
        padding: 10px 16px;
        overflow-x: auto;
    }
    
    .progress-step {
        font-size: 0.65rem;
        white-space: nowrap;
    }
    
    .tickets-main {
        padding: 20px 0;
    }
    
    .tickets-container {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    
    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .ticket-package h1 {
        font-size: 1.8rem;
    }
    
    .ticket-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .ticket-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .calendar-container {
        grid-template-columns: 1fr;
    }
    
    .calendar-section h2 {
        font-size: 1.4rem;
    }
    
    .calendar-grid {
        gap: 8px;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .cart-summary {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .tickets-header-container {
        padding: 8px 12px;
    }
    
    .tickets-logo img {
        height: 28px;
    }
    
    .tickets-header-right {
        gap: 10px;
    }
    
    .language-selector {
        font-size: 0.65rem;
    }
    
    .cart-icon {
        font-size: 0.9rem;
    }
    
    .tickets-nav {
        padding: 0 12px;
    }
    
    .tickets-nav a {
        padding: 8px 10px;
        font-size: 0.65rem;
        flex: 1 1 calc(50% - 8px);
    }
    
    .progress-container {
        padding: 8px 12px;
    }
    
    .progress-step {
        font-size: 0.6rem;
    }
    
    .progress-step i {
        font-size: 0.7rem;
    }
    
    .tickets-main {
        padding: 16px 0;
    }
    
    .tickets-container {
        padding: 0 12px;
        gap: 16px;
    }
    
    .ticket-package {
        padding: 16px;
    }
    
    .ticket-package h1 {
        font-size: 1.5rem;
    }
    
    .ticket-type-selector {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .ticket-type-btn {
        flex: 1 1 100%;
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .ticket-option {
        padding: 16px;
    }
    
    .ticket-option h3 {
        font-size: 1rem;
    }
    
    .ticket-option p {
        font-size: 0.85rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .quantity-control button {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .quantity-control span {
        font-size: 1rem;
        min-width: 30px;
    }
    
    .calendar-section {
        padding: 16px;
    }
    
    .calendar-section h2 {
        font-size: 1.2rem;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .calendar-grid {
        gap: 6px;
    }
    
    .calendar-day {
        padding: 8px 4px;
        font-size: 0.75rem;
    }
    
    .time-slots {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .time-slot {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .cart-summary {
        padding: 16px 12px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }
    
    .cart-total {
        font-size: 1.2rem;
    }
    
    .checkout-btn {
        padding: 14px;
        font-size: 1rem;
    }
}
