/* Reservation Wizard Styles */
.reservation-wizard-section {
    padding: 80px 0 40px 0;
    background-color: #ffffff;
    margin-top: 30px;
}

.wizard-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-top: 20px;
}

.wizard-layout {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.wizard-content {
    flex: 1;
    min-width: 0;
    padding-right: 30px;
}

.wizard-sidebar {
    width: 300px;
    margin-left: 20px;
}

.persistent-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 100px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #471E65;
}

.persistent-summary h4 {
    color: #471E65;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
    text-align: center;
}

.summary-content {
    margin-bottom: 20px;
}

.summary-note {
    font-size: 12px;
    color: #777;
    font-style: italic;
    text-align: center;
    margin-top: 15px;
    border-top: 1px dashed #ddd;
    padding-top: 10px;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    margin-bottom: 10px;
    font-size: 14px;
}

.wizard-step.active .step-number {
    background-color: #471E65;
    color: #fff;
}

.step-title {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

.wizard-step.active .step-title {
    color: #471E65;
    font-weight: bold;
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
}

.wizard-panel h3 {
    color: #471E65;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
}

/* Use native browser select styling */
select.form-control {
    padding: 10px 15px;
    height: auto;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

/* Basic styling for select options */
select.form-control option {
    padding: 5px;
    background-color: white;
    color: #333;
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.radio-container, .checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-container input[type="radio"],
.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #471E65;
    width: 18px;
    height: 18px;
}

.radio-label, .checkbox-label {
    margin-left: 5px;
    color: #333;
}

.pricing-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
}

.pricing-info h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 500;
}

.pricing-details {
    margin-top: 15px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.pricing-row span {
    display: inline-block;
    min-width: 80px;
}

.pricing-row.total {
    font-weight: bold;
    font-size: 16px;
    border-top: 2px solid #471E65;
    border-bottom: none;
    padding-top: 10px;
    margin-top: 5px;
}

.pricing-label {
    color: #555;
}

.validation-message {
    color: #d9534f;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.validation-message.show {
    display: block;
}

#team-size-validation.show {
    color: #654e1e;
    background-color: #f9f0f0;
    padding: 8px;
    border-radius: 4px;
    margin-top: 10px;
    border-left: 3px solid #654e1e;
}

.requirements-note {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.games-info-box, .sets-info-box {
    background-color: #f0f0f9;
    border-left: 3px solid #471E65;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.games-info-box p, .sets-info-box p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

/* Alert styling - unified system */
.alert {
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffc107;
}

.alert-info {
    background-color: #e0f3ff;
    color: #0c5460;
    border-color: #17a2b8;
}

.alert-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.alert-title i {
    margin-right: 10px;
}

.alert-content {
    font-size: 1rem;
    line-height: 1.5;
}

.alert-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.alert-button {
    display: inline-block;
    background-color: #471E65;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.alert-button:hover {
    background-color: #5a2a7e;
    transform: translateY(-2px);
}

.alert-button i {
    margin-right: 8px;
}

/* Remove the old large-group-box styles as they're replaced by the alert system */

.contact-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.contact-button {
    display: inline-block;
    background-color: #3498db;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.contact-button i {
    margin-right: 8px;
}

/* Address fields styles */
.address-fields {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    margin-bottom: 15px;
}

.form-row > .form-group {
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 0;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

@media (max-width: 767px) {
    .col-md-4, .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .form-row > .form-group {
        margin-bottom: 15px;
    }
}

/* Team size selector styles */
.team-size-selector {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.team-size-option {
    flex: 1;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-size-option:hover {
    border-color: #471E65;
    background-color: #f0f0f9;
}

.team-size-option.active {
    border-color: #471E65;
    background-color: #f0f0f9;
    box-shadow: 0 0 10px rgba(71, 30, 101, 0.2);
}

.team-size-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #e0e0e0;
    background-color: #f8f9fa;
}

.team-icon {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
    color: #471E65;
    font-size: 18px;
}

.team-size-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.venue-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    border-left: 3px solid #471E65;
}

.venue-info h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

.venue-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.venue-info-label {
    color: #555;
}

.event-duration-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 3px solid #471E65;
}

.event-duration-info h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

.duration-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.duration-info-label {
    color: #555;
}

.addons-info {
    margin-bottom: 20px;
}

.addons-pricing {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.addons-pricing h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

.summary-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-section:last-child {
    border-bottom: none;
}

.summary-section h5 {
    color: #471E65;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item .summary-label {
    color: #555;
    flex: 1;
}

.summary-item .summary-value {
    color: #333;
    font-weight: 500;
    min-width: 120px;
    text-align: right;
}

.summary-item.total {
    font-weight: bold;
    border-top: 2px solid #471E65;
    border-bottom: none;
    padding-top: 10px;
    margin-top: 5px;
}

.summary-section.pricing {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-top: 30px;
}

/* Video container styles */
.intro-video-container {
    margin-bottom: 20px;
}

.wizard-sidebar .intro-video-container {
    margin-bottom: 20px;
}

.video-placeholder {
    background-color: #f0f0f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio for main content */
    height: 0;
}

.wizard-sidebar .video-wrapper {
    padding-bottom: 100%; /* 1:1 aspect ratio for square video in sidebar */
    height: 0;
}

.video-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #471E65;
    font-size: 18px;
}

.video-message i {
    font-size: 48px;
    margin-bottom: 15px;
}

/* Confirmation styles */
.confirmation-text {
    margin-bottom: 25px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.confirmation-details {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    border-left: 3px solid #471E65;
}

.confirmation-details h4 {
    color: #471E65;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.confirmation-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.confirmation-label {
    color: #555;
    flex: 1;
}

.confirmation-value {
    color: #333;
    font-weight: 500;
    min-width: 120px;
    text-align: right;
}

.wizard-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
    gap: 15px;
}

.wizard-buttons button.prev-step {
    background-color: transparent;
    border: 1px solid #471E65;
    color: #471E65;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    min-width: 100px;
    order: 1;
}

.wizard-buttons button.next-step,
.wizard-buttons button.submit-booking {
    background-color: #471E65;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    min-width: 100px;
    order: 2;
}

.booking-summary {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item.total {
    font-weight: bold;
    font-size: 18px;
    border-top: 2px solid #471E65;
    border-bottom: none;
    padding-top: 10px;
}

.conditional-fields {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #471E65;
}

.support-info {
    margin-top: 30px;
    font-size: 16px;
}

.support-info a {
    color: #471E65;
    font-weight: bold;
}

/* Support info styling */
.support-info {
    text-align: center;
    margin-top: 30px;
    color: #666;
}

.support-info a {
    color: #471E65;
    font-weight: bold;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .wizard-layout {
        flex-direction: column;
    }

    .wizard-content {
        padding-right: 0;
    }

    .wizard-sidebar {
        width: 100%;
        margin-left: 0;
        margin-top: 30px;
    }

    .persistent-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .reservation-wizard-section {
        padding: 60px 0 20px 0;
        margin-top: 20px;
    }

    .wizard-container {
        padding: 20px;
        margin-top: 10px;
    }

    .wizard-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .wizard-steps::before {
        display: none;
    }

    .wizard-panel h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .wizard-buttons {
        flex-direction: row;
        justify-content: flex-end;
        gap: 10px;
    }

    .wizard-buttons button {
        padding: 8px 15px;
        font-size: 14px;
        min-width: auto;
    }

    .summary-item {
        flex-direction: row; /* Keep as row for better mobile display */
    }

    .summary-label {
        margin-bottom: 0;
    }

    .form-control {
        padding: 10px;
        font-size: 14px;
    }

    /* Improve form elements on mobile */
    .radio-group, .checkbox-group {
        gap: 12px;
    }

    .radio-container input[type="radio"],
    .checkbox-container input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    /* Ensure buttons are properly spaced on mobile */
    .wizard-buttons {
        justify-content: flex-end !important;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 30px;
    }

    /* Adjust persistent summary for mobile */
    .persistent-summary {
        padding: 15px;
    }

    .persistent-summary h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* Make sure buttons stack properly on very small screens */
@media (max-width: 480px) {
    .wizard-buttons {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .wizard-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Make sure the step indicators are visible */
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .step-title {
        font-size: 10px;
    }
}

.large-group-box {
    background-color: #f0f0f9;
    border-left: 3px solid #471E65;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.large-group-box .alert-title {
    font-weight: bold;
    font-size: 16px;
    color: #471E65;
    margin-bottom: 10px;
}

.large-group-box .alert-content {
    margin-bottom: 15px;
}

.large-group-box .contact-options {
    display: flex;
    gap: 10px;
}

.large-group-box .contact-button {
    display: inline-flex;
    align-items: center;
    background-color: #471E65;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.large-group-box .contact-button:hover {
    background-color: #5a2a80;
}

.large-group-box .contact-button i {
    margin-right: 5px;
}



