/* ================================================
   BOOKING SYSTEM STYLES - MOBILE FIRST
   ================================================ */

/* Progress Bar Container */
.booking-progress {
    width: 100%;
    padding: 1.5rem 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-width: 600px;
    padding: 0 1rem;
}

/* Progress Line */
.progress-line {
    position: absolute;
    top: 20px;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background: var(--text-tertiary);
    z-index: 1;
    opacity: 0.3;
}

.progress-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--zone-color, var(--accent-color));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

/* Individual Step */
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 3;
    flex: 1;
    min-width: 90px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
    position: relative;
}

.step-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1.2;
}

/* Step States */
.progress-step.active .step-circle {
    background: var(--zone-color, var(--accent-color));
    border-color: var(--zone-color, var(--accent-color));
    color: #fff;
    box-shadow: 0 0 0 4px rgba(var(--zone-color-rgb, 59, 130, 246), 0.2);
    transform: scale(1.1);
}

.progress-step.active .step-label {
    color: var(--zone-color, var(--accent-color));
    font-weight: 700;
}

.progress-step.completed .step-circle {
    background: var(--zone-color, var(--accent-color));
    border-color: var(--zone-color, var(--accent-color));
    color: #fff;
}

.progress-step.completed .step-circle::after {
    content: '✓';
    position: absolute;
    font-size: 1rem;
    font-weight: 700;
}

.progress-step.completed .step-label {
    color: var(--text-primary);
}

/* Booking Sections */
.booking-section {
    display: none;
    animation: fadeIn 0.4s ease;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 0.02rem 1.5rem 2rem 1.5rem;
    margin-bottom: 2rem;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Navigation Buttons */
.booking-nav {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-booking {
    flex: 1;
    min-width: 140px;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-back {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.btn-back:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: translateX(-2px);
}

.btn-next {
    background: var(--zone-color, var(--accent-color));
    color: #fff;
}

.btn-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--zone-color-rgb, 59, 130, 246), 0.4);
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Icons for buttons */
.btn-icon {
    font-size: 1.25rem;
    line-height: 1;
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .booking-progress {
        padding: 2rem 0;
    }

    .progress-steps {
        min-width: auto;
        padding: 0 2rem;
    }

    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 0.875rem;
    }

    .booking-section {
        padding: 0.02rem 1.5rem 2rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .btn-booking {
        min-width: 160px;
    }
}

@media (min-width: 1024px) {
    .booking-progress {
        padding: 2.5rem 0;
    }

    .progress-steps {
        padding: 0 3rem;
    }

    .progress-step {
        min-width: 120px;
    }

    .booking-section {
        padding: 0.02rem 1.5rem 2rem 1.5rem;
    }
}

/* ================================================
   JUMP TYPE SELECTION STYLES
   ================================================ */

.jump-selection-wrapper {
    margin-top: 0.5rem;
}

/* Form Controls */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-select {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    border: 3px solid var(--zone-color, var(--accent-color));
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-select:hover {
    border-color: var(--zone-color, var(--accent-color));
    box-shadow: 0 4px 12px rgba(var(--zone-color-rgb, 102, 126, 234), 0.2);
    transform: translateY(-1px);
}

.form-select:focus {
    outline: none;
    border-color: var(--zone-color, var(--accent-color));
    box-shadow: 0 0 0 4px rgba(var(--zone-color-rgb, 102, 126, 234), 0.2),
        0 4px 12px rgba(var(--zone-color-rgb, 102, 126, 234), 0.3);
}

/* Dark mode improvements for select */
[data-theme="dark"] .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border-width: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .form-select:hover {
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(var(--zone-color-rgb, 102, 126, 234), 0.3);
}

[data-theme="dark"] .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Jump Cards Container */
.jump-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1rem;
}

/* Jump Info Card (Left) */
.jump-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .jump-info-card {
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.jump-info-card .card-header {
    padding: 1rem;
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
}

.jump-info-card .card-body {
    padding: 1.25rem 1rem;
}

/* Price Section */
.price-section {
    text-align: center;
    padding: 0.85rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.price-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--zone-color, var(--accent-color));
    line-height: 1;
    margin-bottom: 0.25rem;
}

.price-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.price-or {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0.5rem 0;
    position: relative;
}

.price-or::before,
.price-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--border-color);
}

.price-or::before {
    left: 0;
}

.price-or::after {
    right: 0;
}

.price-deposit {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Jump Details */
.jump-details {
    margin-bottom: 0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.4rem 0.5rem;
    margin-bottom: 0.25rem;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
}

.detail-item .icon {
    font-size: 1rem;
    flex-shrink: 0;
    line-height: 1.3;
}

.detail-item span:last-child {
    flex: 1;
    font-size: 0.8125rem;
    color: var(--text-primary);
    line-height: 1.25;
}

/* Reserve Online Button */
.btn-reserve-online {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--zone-color, var(--accent-color));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reserve-online:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--zone-color-rgb, 102, 126, 234), 0.4);
}

/* Contact Info Card (Right) */
.contact-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--zone-color, var(--accent-color));
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--zone-color, var(--accent-color));
}

[data-theme="dark"] .contact-info-card {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--zone-color, var(--accent-color));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-info-card .card-header {
    padding: 1rem 1.5rem;
    background: var(--bg-hover);
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-card .card-header .icon {
    font-size: 1.25rem;
}

.contact-info-card .card-body {
    padding: 1rem;
}

.info-section {
    margin-bottom: 1rem;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-section p {
    font-size: 0.8125rem;
    color: var(--text-primary);
    margin: 0.15rem 0;
    line-height: 1.4;
}

.info-section a {
    color: var(--zone-color, var(--accent-color));
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.info-section a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.contact-name {
    font-weight: 600;
}

.contact-address {
    font-size: 0.8125rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.5;
}

/* Responsive Layout */
@media (min-width: 768px) {
    .jump-cards-container {
        grid-template-columns: 1fr 320px;
        align-items: start;
        gap: 2rem;
    }

    .price-main {
        font-size: 2rem;
    }

    .price-section {
        padding: 1.25rem;
    }

    .jump-info-card .card-body {
        padding: 1.5rem 1.25rem;
    }

    .contact-info-card .card-body {
        padding: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .jump-cards-container {
        grid-template-columns: 1.2fr 350px;
        max-width: 900px;
        margin: 0 auto;
        column-gap: 3rem !important;
        gap: 3rem;
    }

    .price-main {
        font-size: 2.25rem;
    }

    .jump-info-card .card-header {
        padding: 1.25rem;
        font-size: 1.15rem;
    }

    .jump-info-card .card-body {
        padding: 1.75rem 1.5rem;
    }

    .contact-info-card .card-body {
        padding: 1.5rem;
    }
}