/* === Progress Steps === */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 600px;
    margin: 0 auto var(--space-8);
    padding: 0 var(--space-4);
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gray-200);
    z-index: 0;
}

.progress-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    width: 80px;
}

.progress-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--color-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.progress-step-label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-muted);
    text-align: center;
    white-space: nowrap;
}

.progress-step.active .progress-step-circle {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(206, 50, 39, 0.15);
}

.progress-step.active .progress-step-label {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

.progress-step.completed .progress-step-circle {
    border-color: var(--color-success);
    background: var(--color-success);
    color: white;
}

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

@media (max-width: 640px) {
    .progress-steps {
        margin-bottom: var(--space-6);
    }

    .progress-step-label {
        display: none;
    }

    .progress-step.active .progress-step-label {
        display: block;
        position: absolute;
        top: 45px;
        width: 100px;
    }
}

.booking-tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    border-bottom: 2px solid var(--color-gray-200);
    overflow-x: auto;
}

.booking-tab {
    flex: 1;
    min-width: 150px;
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.booking-tab:hover {
    color: var(--color-primary);
    background: var(--color-gray-50);
}

.booking-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    background: rgba(206, 50, 39, 0.05);
}

.booking-tab-icon {
    margin-left: var(--space-2);
    font-size: 1.25rem;
    vertical-align: middle;
}

/* === Tab Content === */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

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

/* === Period Selection Cards === */
.period-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    background: white;
    position: relative;
    overflow: hidden;
}

.period-option::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(206, 50, 39, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.period-option:hover::before {
    opacity: 1;
}

.period-option:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.period-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background: var(--color-gray-100);
    filter: grayscale(60%);
}

.period-option.disabled .period-icon-wrapper {
    background-color: var(--color-gray-200) !important;
    color: var(--color-gray-500) !important;
}

.period-option.disabled p {
    color: var(--color-gray-500) !important;
}

.period-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.period-radio-indicator {
    display: none !important;
}

.period-radio-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-base);
}

.period-option:has(input:checked) .period-radio-indicator {
    border-color: var(--color-primary);
    background: white;
}

.period-option:has(input:checked) .period-radio-dot {
    opacity: 1;
    transform: scale(1);
}

/* === Date Range Picker === */
.date-range-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.date-input-wrapper {
    position: relative;
}

.date-input-wrapper label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
}

.date-input-wrapper input[type="date"] {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-base);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.date-input-wrapper input[type="date"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(206, 50, 39, 0.1);
}

.date-input-icon {
    position: absolute;
    left: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
}

/* === Booking Summary Card === */
.booking-summary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    color: white;
    position: relative;
    overflow: hidden;
}

.booking-summary::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.booking-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.booking-summary-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.booking-summary-value {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
}

/* === Price Display === */
.price-breakdown {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-top: var(--space-4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) 0;
    font-size: var(--font-size-sm);
}

.price-row.total {
    border-top: 2px solid var(--color-gray-300);
    margin-top: var(--space-2);
    padding-top: var(--space-3);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: white;
}

.price-original {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
}

.price-discount {
    color: var(--color-success);
    font-weight: var(--font-weight-semibold);
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: var(--color-success);
    color: white;
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    margin-right: var(--space-2);
}

/* === Calendar Enhancements === */
/* === Calendar Enhancements === */
.calendar-date-range {
    background: rgba(206, 50, 39, 0.1);
    border-radius: 0 !important;
}

.calendar-date-start {
    background: var(--color-primary) !important;
    color: white !important;
    font-weight: var(--font-weight-bold);
    border-top-right-radius: var(--radius-lg) !important;
    border-bottom-right-radius: var(--radius-lg) !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.calendar-date-end {
    background: var(--color-primary) !important;
    color: white !important;
    font-weight: var(--font-weight-bold);
    border-top-left-radius: var(--radius-lg) !important;
    border-bottom-left-radius: var(--radius-lg) !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.calendar-date-single {
    border-radius: var(--radius-lg) !important;
    position: relative;
    overflow: hidden;
}

.calendar-checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 1;
}

.calendar-date-start .calendar-checkmark,
.calendar-date-end .calendar-checkmark,
.calendar-date-single[data-selected="true"] .calendar-checkmark {
    display: none;
    /* Hide checkmark in favor of text labels */
}

.calendar-label {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 700;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.calendar-date-range {
    background: rgba(206, 50, 39, 0.2) !important;
    /* Increased opacity */
    border-radius: 0 !important;
}

/* === Guest Counter === */
.guest-counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
}

.guest-input {
    width: 80px;
    text-align: center;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    padding: var(--space-2);
    transition: all var(--transition-fast);
    appearance: textfield;
    -moz-appearance: textfield;
}

.guest-input::-webkit-outer-spin-button,
.guest-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.guest-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(206, 50, 39, 0.1);
}

/* === Days Counter Display === */
.days-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--color-info-light) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: var(--radius-lg);
    margin: var(--space-4) 0;
}

.days-counter-number {
    font-size: 2rem;
    font-weight: var(--font-weight-black);
    color: var(--color-info);
}

.days-counter-label {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-semibold);
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .date-range-picker {
        grid-template-columns: 1fr;
    }

    .booking-tabs {
        gap: 0;
    }

    .booking-tab {
        min-width: 120px;
        padding: var(--space-3) var(--space-4);
        font-size: var(--font-size-sm);
    }

    .booking-tab-icon {
        font-size: 1rem;
    }
}

/* === Loading States === */
.booking-skeleton {
    background: linear-gradient(90deg,
            var(--color-gray-200) 0%,
            var(--color-gray-300) 50%,
            var(--color-gray-200) 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

.booking-skeleton-card {
    height: 120px;
    margin-bottom: var(--space-4);
}

.booking-skeleton-text {
    height: 1em;
    margin-bottom: var(--space-2);
}

/* === Toast Notifications === */
.toast {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    min-width: 300px;
    max-width: 500px;
    padding: var(--space-4) var(--space-6);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: slideInRight 0.3s ease-out;
    z-index: var(--z-toast, 9999);
}

.toast.success {
    border-right: 4px solid var(--color-success);
}

.toast.error {
    border-right: 4px solid var(--color-error);
}

.toast.info {
    border-right: 4px solid var(--color-info);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

@media (max-width: 640px) {
    .toast {
        bottom: var(--space-4);
        right: var(--space-4);
        left: var(--space-4);
        min-width: auto;
    }
}