/* Festival Booking - Simplified Styles */

.festival-booking-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Progress Bar */
.booking-progress {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: #DCB306;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-steps .step {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.progress-steps .step.active {
    color: #DCB306;
}

/* Steps */
.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
}

.step-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step-content h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.section-title {
    font-size: 20px;
    margin: 30px 0 15px 0;
    color: #333;
}

/* Accommodation Choice */
.accommodation-choice {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-choice {
    flex: 1;
    max-width: 300px;
    padding: 40px 30px;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-choice:hover {
    border-color: #DCB306;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(220, 179, 6, 0.2);
}

.choice-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.choice-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Accommodation Type */
.accommodation-type-choice {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.accommodation-card {
    flex: 1;
    max-width: 350px;
    padding: 30px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    background: #fff;
}

.card-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.accommodation-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.accommodation-card p {
    color: #666;
    margin-bottom: 20px;
}

.btn-select-type {
    background: #DCB306;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-select-type:hover {
    background: #CD121F;
    transform: scale(1.05);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.product-card:hover {
    border-color: #DCB306;
    box-shadow: 0 4px 12px rgba(220, 179, 6, 0.2);
}

.product-card.selected {
    border-color: #DCB306;
    border-width: 3px;
    background: rgba(220, 179, 6, 0.05);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.product-card .price {
    font-size: 24px;
    font-weight: 700;
    color: #DCB306;
}

/* Day Selection Grid */
.day-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.day-option {
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
}

.day-option:hover {
    border-color: #DCB306;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(220, 179, 6, 0.3);
}

.day-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.day-option h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
}

.day-option p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

.day-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #CD121F;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

/* Attendee Inputs */
.attendee-inputs {
    max-width: 600px;
    margin: 0 auto 30px;
}

.input-group {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.label-icon {
    font-size: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.input-group input[type="number"],
.input-group input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 18px;
    background: #fff;
}

.input-group input[type="number"]:focus,
.input-group input[type="date"]:focus {
    border-color: #DCB306;
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 179, 6, 0.1);
}

/* DOB Inputs */
.children-dob-container {
    max-width: 600px;
    margin: 0 auto 30px;
}

.dob-input-group {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.dob-input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.dob-input-group input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
}

.dob-input-group input[type="date"]:focus {
    border-color: #DCB306;
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 179, 6, 0.1);
}

.info-notice {
    background: #fffbea;
    border-left: 4px solid #DCB306;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 15px;
}

/* Day Selection */
.day-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.day-option {
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
}

.day-option:hover {
    border-color: #DCB306;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(220, 179, 6, 0.2);
}

.day-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.day-option h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
}

.day-option p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

.day-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #CD121F;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Carer Section */
.carer-prompt {
    margin: 20px 0;
    text-align: center;
}

.btn-carer-prompt {
    background: linear-gradient(135deg, #DCB306 0%, #CD121F 100%);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 179, 6, 0.3);
}

.btn-carer-prompt:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 179, 6, 0.4);
}

.carer-section {
    background: #fff8e1;
    border: 2px solid #DCB306;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.carer-section-content h3 {
    color: #CD121F;
    margin-bottom: 10px;
}

.carer-info {
    color: #666;
    margin-bottom: 20px;
}

.carer-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-recalculate {
    background: #DCB306;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-recalculate:hover {
    background: #CD121F;
}

.btn-reset, .btn-reset-inline {
    background: #f0f0f0;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover, .btn-reset-inline:hover {
    background: #e0e0e0;
}

.carer-notice {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.carer-notice p {
    color: #155724;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Loading Message */
.loading-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

/* Ticket Bundles */
.group-summary {
    background: rgba(220, 179, 6, 0.1);
    border-left: 4px solid #DCB306;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 4px;
}

/* Carer Section */
.carer-prompt {
    margin: 20px 0;
    text-align: center;
}

.btn-carer-prompt {
    background: rgba(205, 18, 31, 0.1);
    border: 2px solid #CD121F;
    color: #CD121F;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 600px;
}

.btn-carer-prompt:hover {
    background: #CD121F;
    color: #fff;
}

.carer-section {
    background: #fffbea;
    border: 2px solid #DCB306;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.carer-section-content h3 {
    margin-top: 0;
    color: #333;
}

.carer-info {
    color: #666;
    margin-bottom: 20px;
}

.carer-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-recalculate {
    flex: 1;
    background: #DCB306;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-recalculate:hover {
    background: #CD121F;
}

.btn-reset {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background: #5a6268;
}

.carer-notice {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.carer-notice p {
    margin: 0;
    color: #155724;
    font-weight: 600;
}

.btn-reset-inline {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-inline:hover {
    background: #5a6268;
}

.ticket-bundles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.bundle-card {
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    background: #fff;
    transition: all 0.3s ease;
}

.bundle-card:hover {
    border-color: #DCB306;
    box-shadow: 0 6px 20px rgba(220, 179, 6, 0.2);
    transform: translateY(-5px);
}

.bundle-card h3 {
    background: #DCB306;
    color: #fff;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 700;
}

.family-badge {
    background: #28a745;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-left: 8px;
}

.family-bundle {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.family-bundle:hover {
    border-color: #28a745;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.bundle-card h4 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #333;
}

.bundle-desc {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.bundle-items {
    margin: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.bundle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.bundle-item .qty {
    font-weight: 700;
    color: #DCB306;
    min-width: 30px;
}

.bundle-item .name {
    flex: 1;
    color: #333;
    margin: 0 10px;
}

.bundle-item .price {
    color: #666;
    text-align: right;
}

.bundle-item .free {
    background: #28a745;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.bundle-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    font-size: 18px;
}

.bundle-total strong {
    color: #333;
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #DCB306;
}

.btn-add-bundle {
    width: 100%;
    background: #CD121F;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-bundle:hover {
    background: #a00f19;
    transform: scale(1.02);
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-back {
    background: #f0f0f0;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #e0e0e0;
}

.btn-continue {
    background: #DCB306;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continue:hover {
    background: #CD121F;
}

.btn-continue:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Overlay */
#booking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.overlay-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #DCB306;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .accommodation-choice,
    .accommodation-type-choice,
    .ticket-bundles {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .step-content {
        padding: 20px;
    }
}
