/* ========== Booking Steps Indicator ========== */
.booking-steps {
    padding: 0 2vw;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.steps-container::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-label {
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #ce2a1d;
    color: white;
}

.step.active .step-label {
    color: #ce2a1d;
    font-weight: 600;
}
/* ========== Booking Steps Content ========== */
.booking-step {
    display: none;
    padding: 2vw 0;
}

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

/* ========== Calendar Styles ========== */
.calendar-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-month-year {
    font-family: var(--primary-font);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
}

.nav-btn {
    background: none;
    border: none;
    color: #ce2a1d;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(206, 42, 29, 0.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.weekday {
    text-align: center;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    padding: 0.3rem;
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Roboto Mono", monospace;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.9rem;
}

.calendar-day:hover {
    background: rgba(206, 42, 29, 0.1);
}

.calendar-day.other-month {
    color: #dee2e6;
    cursor: not-allowed;
}

.calendar-day.other-month:hover {
    background: transparent;
}

.calendar-day.selected {
    background: #ce2a1d;
    color: white;
    border-color: #ce2a1d;
}

.calendar-day.today {
    border-color: #ce2a1d;
}

/* Past date styles */
.calendar-day.past-date {
    color: #dee2e6 !important;
    background-color: #f8f9fa !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.calendar-day.past-date:hover {
    background-color: #f8f9fa !important;
    transform: none !important;
}

/* Emergency Calendar Fix */
#calendar-days {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 0.3rem !important;
}

.calendar-day {
    aspect-ratio: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-family: "Roboto Mono", monospace !important;
    font-size: 0.9rem !important;
    min-height: 40px !important;
    min-width: 40px !important;
}

/* Make sure calendar section is visible */
.calendar-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Debug borders - remove after fixing */
/* 
.calendar-section {
    border: 2px solid red !important;
}
#calendar-days {
    border: 2px solid blue !important;
}
.calendar-day {
    border: 1px solid green !important;
} 
*/

/* Disabled time slots */
.time-slot.disabled {
    background: #f8f9fa !important;
    color: #dee2e6 !important;
    cursor: not-allowed !important;
    border-color: #e9ecef !important;
    opacity: 0.6;
}

.time-slot.disabled:hover {
    transform: none !important;
    border-color: #e9ecef !important;
}

/* Past time slot styles */
.time-slot.past-time {
    background: #f8f9fa !important;
    color: #dee2e6 !important;
    cursor: not-allowed !important;
    border-color: #e9ecef !important;
    opacity: 0.5;
    position: relative;
    overflow: hidden;
}

.time-slot.past-time::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #dc3545;
    transform: rotate(-45deg);
}

.time-slot.past-time:hover {
    transform: none !important;
    border-color: #e9ecef !important;
}

/* Available slots count with past times */
.available-slots-count .past-time-info {
    font-size: 0.7rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

/* Booking Success Styles */
.booking-success {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #28a745;
    text-align: left;
}

.success-details p {
    margin-bottom: 0.5rem;
    font-family: "Roboto Mono", monospace;
}

.success-actions {
    margin-top: 2rem;
}

.selected-slots-info {
    text-align: center;
}

/* ========== Time Selection Styles ========== */
.time-selection-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.selected-date-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.selected-date-header h4 {
    font-family: var(--primary-font);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timezone-info {
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timezone-info i {
    color: #ce2a1d;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
    min-height: 200px;
}

/* When no slots available, center the content */
.time-slots-grid:has(.no-slots-available) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.time-slot {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-align: center;
    font-family: "Roboto Mono", monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.time-slot:hover {
    border-color: #ce2a1d;
    transform: translateY(-2px);
}

.time-slot.selected {
    background: #ce2a1d;
    color: white;
    border-color: #ce2a1d;
}

.time-slot.disabled {
    background: #f8f9fa;
    color: #dee2e6;
    cursor: not-allowed;
    border-color: #e9ecef;
    opacity: 0.6;
}

.time-slot.disabled:hover {
    transform: none;
    border-color: #e9ecef;
}

/* No slots available message */
.no-slots-available {
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    width: 100%;
}

.no-slots-icon {
    color: #6c757d;
}

/* Available slots count */
.available-slots-count {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ce2a1d;
}

.slots-count-info {
    font-family: "Roboto Mono", monospace;
}

/* ========== Customer Information Styles ========== */
.customer-info-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-section-title {
    font-family: var(--primary-font);
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid #ce2a1d;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.form-section {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f1f1;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-label {
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: "Roboto Mono", monospace;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #ce2a1d;
    box-shadow: 0 0 0 0.2rem rgba(206, 42, 29, 0.25);
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
    font-family: "Roboto Mono", monospace;
}

.form-control.error {
    border-color: #dc3545;
}

.form-control.error + .error-message {
    display: block;
}

/* Contact Form Style for Step 3 */
.contact-form-style {
    max-width: 100%;
    margin: 0 auto;
}

.contact-form-style .form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-style .form-header p {
    color: #6c757d;
    font-family: "Roboto Mono", monospace;
    font-size: 0.95rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form-style .contact-input {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 5px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: var(--primary-font);
    font-size: 1rem;
    color: #1d1d1d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 2px 5px rgba(38, 47, 99, 0.02);
}

.contact-form-style .contact-input:hover {
    background: #f1f3f5;
    box-shadow: 0 4px 10px rgba(50, 55, 114, 0.05);
}

.contact-form-style .contact-input:focus {
    background: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 15px rgba(113, 109, 167, 0.15);
    transform: translateY(-2px);
}

.contact-form-style .contact-input::placeholder {
    color: #6c757d;
    font-family: "Roboto Mono", monospace;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.contact-form-style .contact-input.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.contact-form-style .error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
    font-family: "Roboto Mono", monospace;
}

/* Phone Input Styles */
.phone-input-group {
    display: flex;
    align-items: center;
    width: 100%;
}

.country-code {
    background: #f8f9fa;
    border: 2px solid transparent;
    border-right: none;
    border-radius: 10px 0 0 10px;
    padding: 16px 15px;
    font-family: "Roboto Mono", monospace;
    color: #6c757d;
    font-size: 1rem;
}

.phone-input-group .contact-input {
    border-radius: 0 10px 10px 0;
    flex: 1;
    border-left: none;
}

.phone-input-group .form-control {
    border-radius: 0 10px 10px 0;
    flex: 1;
}

/* Email Tags Styles */
.email-tags-container {
    margin-top: 0.5rem;
}

.email-tags-input {
    margin-bottom: 0.5rem;
}

.input-hint {
    font-size: 0.8rem;
    color: #6c757d;
    font-family: "Roboto Mono", monospace;
    margin-bottom: 1rem;
}

.email-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.email-tag {
    background: rgba(206, 42, 29, 0.1);
    color: #ce2a1d;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-tag-remove {
    background: none;
    border: none;
    color: #ce2a1d;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== Booking Actions ========== */
.booking-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.continue-btn {
    background: linear-gradient(135deg, #ce2a1d, #b32419);
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-family: var(--primary-font);
    font-weight: 600;
    transition: all 0.3s ease;
}

.continue-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(206, 42, 29, 0.3);
}

.continue-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.back-btn {
    border: 2px solid #6c757d;
    color: #6c757d;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-family: var(--primary-font);
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #6c757d;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calendar-section,
    .time-selection-section,
    .customer-info-container {
        padding: 1rem;
    }

    .time-slots-grid {
        grid-template-columns: 1fr;
    }

    .booking-actions {
        flex-direction: column;
    }

    .steps-container::before {
        left: 40px;
        right: 40px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

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

@media (max-width: 576px) {
    .calendar-days,
    .calendar-weekdays {
        gap: 0.2rem;
    }

    .calendar-day,
    .weekday {
        padding: 0.2rem;
        font-size: 0.8rem;
    }
}

/* ========== Payment Section Styles ========== */
.payment-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.payment-section-title {
    font-family: var(--primary-font);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 0.5rem;
}

/* Booking Summary Card */
.booking-summary-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #ce2a1d;
    margin-bottom: 2rem;
}

.booking-summary-card .summary-title {
    font-family: var(--primary-font);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.summary-details {
    margin-top: 1rem;
}

.summary-details .row {
    margin-bottom: 0.5rem;
}

.summary-details .col-6 {
    padding: 0.5rem;
}

.summary-details p {
    font-family: "Roboto Mono", monospace;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
    font-size: 0.95rem;
}

/* Payment Methods */
.payment-options {
    space-y: 1rem;
}

.payment-option {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.payment-option.active {
    border-color: #ce2a1d;
    box-shadow: 0 5px 15px rgba(206, 42, 29, 0.1);
}

.payment-option-header {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option.active .payment-option-header {
    background: rgba(206, 42, 29, 0.05);
}

.payment-option-header input[type="radio"] {
    margin-right: 1rem;
    accent-color: #ce2a1d;
}

.payment-option-label {
    font-family: var(--primary-font);
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    cursor: pointer;
}

.payment-option-label i {
    font-size: 1.5rem;
    color: #ce2a1d;
}

.payment-option-content {
    padding: 1.5rem;
    display: none;
}

.payment-option.active .payment-option-content {
    display: block;
}

.payment-option-description {
    font-family: "Roboto Mono", monospace;
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

/* Stripe Card Elements */
.stripe-card-element {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    transition: all 0.3s ease;
    min-height: 50px;
}

.stripe-card-element.StripeElement--focus {
    border-color: #ce2a1d;
    box-shadow: 0 0 0 0.2rem rgba(206, 42, 29, 0.25);
}

.stripe-card-element.StripeElement--invalid {
    border-color: #dc3545;
}

.stripe-errors {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-family: "Roboto Mono", monospace;
    display: none;
}

.stripe-errors.visible {
    display: block;
}

/* Apple Pay Button */
.apple-pay-button {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.apple-pay-button:hover {
    background: #333;
}

/* Billing Address */
.billing-address-section .form-check-label {
    font-family: "Roboto Mono", monospace;
    color: var(--primary-color);
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #6c757d;
}

.badge-item i {
    color: #28a745;
    font-size: 1rem;
}

/* Payment Submit Button */
.payment-submit-btn {
    background: linear-gradient(135deg, #ce2a1d, #b32419);
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-family: var(--primary-font);
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
}

.payment-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(206, 42, 29, 0.3);
}

.payment-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Payment Loading State */
.payment-loading {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 2rem;
}

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

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

.loading-note {
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Progress Bar for Payment Loading */
.progress {
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    height: 6px;
    margin: 1.5rem auto;
    max-width: 300px;
}

.progress-bar {
    background: linear-gradient(90deg, #ce2a1d, #ff6b6b);
    border-radius: 10px;
    height: 100%;
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }
    100% {
        background-position: 0 0;
    }
}

.progress-bar-striped {
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
}

.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

/* Form Elements in Payment Section */
.payment-container .form-control,
.payment-container .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: "Roboto Mono", monospace;
    transition: all 0.3s ease;
}

.payment-container .form-control:focus,
.payment-container .form-select:focus {
    border-color: #ce2a1d;
    box-shadow: 0 0 0 0.2rem rgba(206, 42, 29, 0.25);
}

.payment-container .form-label {
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Terms and Conditions */
.terms-section .form-check-label {
    font-family: "Roboto Mono", monospace;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.terms-section .form-check-label a {
    color: #ce2a1d;
    text-decoration: none;
}

.terms-section .form-check-label a:hover {
    text-decoration: underline;
}

/* Responsive Design for Payment Section */
@media (max-width: 768px) {
    .payment-container {
        padding: 1.5rem;
    }

    .security-badges {
        gap: 1rem;
    }

    .badge-item {
        font-size: 0.7rem;
    }

    .payment-option-header {
        padding: 1rem;
    }

    .payment-option-content {
        padding: 1rem;
    }

    .booking-summary-card {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .security-badges {
        flex-direction: column;
        gap: 0.5rem;
    }

    .payment-actions {
        flex-direction: column;
    }

    .payment-submit-btn {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Booking Success Styles */
.booking-success {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-icon i {
    font-size: 4rem;
    color: #28a745;
}

.booking-confirmation-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.detail-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #ce2a1d;
    margin-bottom: 1rem;
    height: 100%;
}

.detail-card small {
    font-family: "Roboto Mono", monospace;
    color: #6c757d;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.25rem;
}

.detail-card p {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.success-actions {
    margin-top: 2rem;
}

/* Loading state */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Error state */
.no-slots-available .btn {
    font-family: "Roboto Mono", monospace;
}

/* ========== Hour-Based Booking System Styles ========== */

/* Duration Selection */
.duration-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.duration-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: white;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Roboto Mono", monospace;
}

.duration-btn:hover {
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.duration-btn.active {
    background: #ce2a1d;
    color: white;
    border-color: #ce2a1d;
}

.duration-custom .input-group {
    margin-top: 0.5rem;
}

.duration-custom .input-group-text {
    background: #f8f9fa;
    border-color: #dee2e6;
    font-family: "Roboto Mono", monospace;
}

/* Time Slider */
.time-slider-container {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid #e9ecef;
}

.time-slider-track {
    position: relative;
    height: 40px;
    background: #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.time-slots-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.available-time-range {
    position: absolute;
    height: 100%;
    border-radius: 20px;
    background: rgba(40, 167, 69, 0.3);
    border: 1px solid rgba(40, 167, 69, 0.5);
    z-index: 1;
}

.time-selection-range {
    position: absolute;
    height: 100%;
    border: 3px solid #ce2a1d;
    border-radius: 20px;
    pointer-events: none;
    display: none;
    z-index: 10;
    background: rgba(206, 42, 29, 0.15);
}

.time-slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.time-slider-header .time-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
}

.time-slider-labels {
    display: flex;
    justify-content: space-between;
}

.time-slider-labels .time-marker {
    font-size: 0.7rem;
    color: #6c757d;
    font-family: "Roboto Mono", monospace;
}

/* Time Range Inputs */
.time-range-inputs .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.time-range-inputs select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem;
    font-family: "Roboto Mono", monospace;
}

.time-range-inputs select:focus {
    border-color: #ce2a1d;
    box-shadow: 0 0 0 0.2rem rgba(206, 42, 29, 0.25);
}

/* Availability Status */
.availability-status .alert {
    padding: 0.75rem 1rem;
    margin-bottom: 0;
    border-radius: 10px;
}

.availability-status .alert i {
    font-size: 1.1rem;
}

/* No Availability Message */
.no-availability {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
}

.no-availability i {
    margin-bottom: 0.5rem;
}

/* Range Labels */
.range-start-label,
.range-end-label {
    position: absolute;
    top: -25px;
    font-size: 0.8rem;
    font-family: "Roboto Mono", monospace;
    font-weight: bold;
    white-space: nowrap;
}

.range-start-label {
    left: 5px;
    color: #ce2a1d;
}

.range-end-label {
    right: 5px;
    color: #ce2a1d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .duration-buttons {
        gap: 0.25rem;
    }

    .duration-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }

    .time-slider-track {
        height: 30px;
    }

    .range-start-label,
    .range-end-label {
        font-size: 0.7rem;
        top: -20px;
    }
}

@media (max-width: 576px) {
    .time-range-inputs .col-md-6 {
        margin-bottom: 1rem;
    }

    .time-range-inputs .col-md-6:last-child {
        margin-bottom: 0;
    }

    .duration-btn {
        flex: 1;
        min-width: calc(33.333% - 0.5rem);
        text-align: center;
    }
}

/* ========== 5-Step Booking System Styles ========== */

/* Steps Indicator */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    flex: 1;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #e9ecef;
    margin: 0 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-label {
    font-family: "Roboto Mono", monospace;
    font-size: 0.9rem;
    color: #6c757d;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
}

.step.active .step-number {
    background: #ce2a1d;
    color: white;
}

.step.active .step-label {
    color: #ce2a1d;
    font-weight: 600;
}

/* Step Headers */
.step-header {
    margin-bottom: 2rem;
    text-align: center;
}

.step-title {
    font-family: var(--primary-font);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.step-subtitle {
    font-family: "Roboto Mono", monospace;
    font-size: 1rem;
    color: #6c757d;
}

/* Selected Date Preview */
.selected-date-preview .card {
    border: 2px solid #ce2a1d;
    background: rgba(206, 42, 29, 0.05);
}

.selected-date-preview .card-title {
    color: #ce2a1d;
    font-family: var(--primary-font);
    margin-bottom: 1rem;
}

.selected-date-preview .card-text {
    font-size: 1.2rem;
    font-family: "Roboto Mono", monospace;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Duration Section */
.duration-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Price Calculation */
.price-calculation .card {
    border: 2px solid #f8f9fa;
}

.price-calculation .card-title {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 0.5rem;
}

.price-details .row {
    padding: 0.25rem 0;
}

.price-details hr {
    margin: 0.75rem 0;
}

/* Booking Overview */
.booking-overview .card {
    border: 2px solid #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.booking-overview .card-title {
    color: #28a745;
    font-family: var(--primary-font);
    border-bottom: 1px solid rgba(40, 167, 69, 0.2);
    padding-bottom: 0.75rem;
}

.detail-item {
    padding: 0.5rem 0;
}

.detail-item p {
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

/* Form Sections */
.section-title {
    font-family: var(--primary-font);
    color: var(--primary-color);
    /* border-bottom: 2px solid #ce2a1d; */
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Time Selection Section */
.time-selection-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Time Info */
.time-info {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #ce2a1d;
}

/* Booking Summary Step 2 */
#booking-summary-step2 {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #ce2a1d;
}

#booking-summary-step2 .summary-title {
    font-family: var(--primary-font);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* ========== Sidebar Layout Styles ========== */
.booking-container {
    padding: 2vw 0;
}

/* Sidebar Styling */
.booking-sidebar {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: sticky;
    top: 100px;
}

/* Vertical Steps Indicator */
.steps-container-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-vertical {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.step-vertical:last-child {
    padding-bottom: 0;
}

.step-vertical-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.step-vertical-content {
    flex: 1;
}

.step-vertical-title {
    font-family: var(--primary-font);
    font-weight: 600;
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.step-vertical-subtitle {
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #adb5bd;
    transition: all 0.3s ease;
}

.step-vertical-line {
    position: absolute;
    left: 18px;
    top: 56px;
    bottom: -1.25rem;
    width: 2px;
    background: #e9ecef;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-vertical:last-child .step-vertical-line {
    display: none;
}

/* Active Step Styling */
.step-vertical.active .step-vertical-number {
    background: #ce2a1d;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(206, 42, 29, 0.1);
}

.step-vertical.active .step-vertical-title {
    color: #ce2a1d;
}

.step-vertical.active .step-vertical-subtitle {
    color: #ce2a1d;
}

.step-vertical.active .step-vertical-line {
    background: #ce2a1d;
}

/* Completed Step Styling */
.step-vertical.completed .step-vertical-number {
    background: #28a745;
    color: white;
}

.step-vertical.completed .step-vertical-title {
    color: #28a745;
}

.step-vertical.completed .step-vertical-subtitle {
    color: #6c757d;
}

/* Mobile Step Indicator */
.mobile-step-indicator {
    display: none;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ce2a1d;
}

.mobile-step-indicator .step-mobile-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ce2a1d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
    margin: 0 auto 0.5rem;
    font-size: 1rem;
}

.mobile-step-indicator .step-mobile-title {
    font-family: var(--primary-font);
    font-weight: 600;
    color: #ce2a1d;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.mobile-step-indicator .step-mobile-subtitle {
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #6c757d;
}

/* Sidebar Price Summary */
.sidebar-price-summary {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    animation: fadeIn 0.3s ease;
}

.sidebar-price-header {
    margin-bottom: 1rem;
}

.sidebar-price-header h6 {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.price-label {
    font-family: "Roboto Mono", monospace;
    font-size: 0.85rem;
    color: #6c757d;
}

.price-value {
    font-family: "Roboto Mono", monospace;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    text-align: right;
}

.price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    border-top: 2px solid #e9ecef;
}

.total-label {
    font-family: var(--primary-font);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.total-value {
    font-family: var(--primary-font);
    font-weight: 700;
    color: #ce2a1d;
    font-size: 1.1rem;
}

/* Main Content Area */
.booking-main-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    min-height: 500px;
}

/* Step Header in Main Content */
.booking-main-content .step-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.booking-main-content .step-title {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.booking-main-content .step-subtitle {
    font-family: "Roboto Mono", monospace;
    color: #6c757d;
    font-size: 1rem;
}

/* Calendar Section Adjustments */
.booking-main-content .calendar-section {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: none;
    max-width: 500px;
    margin: 0 auto;
}

/* Remove old booking steps styles */
.booking-steps {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .booking-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 1.5rem;
    }

    /* Show mobile step indicator, hide full sidebar on mobile */
    .steps-container-vertical {
        display: none;
    }

    .mobile-step-indicator {
        display: block;
    }

    .sidebar-price-summary {
        margin-top: 1.5rem;
    }

    .booking-main-content {
        padding: 1.5rem;
    }

    .booking-main-content .step-title {
        font-size: 1.5rem;
    }

    /* Smaller calendar on tablet */
    .booking-main-content .calendar-section {
        max-width: 450px;
        padding: 1rem;
    }

    .calendar-day {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .booking-container {
        padding: 1rem 0;
    }

    .booking-sidebar {
        padding: 1rem;
    }

    .booking-main-content {
        padding: 1rem;
    }

    .booking-main-content .step-title {
        font-size: 1.3rem;
    }

    .booking-main-content .calendar-section {
        max-width: 100%;
        padding: 0.75rem;
    }

    .calendar-day {
        font-size: 0.8rem;
        padding: 0.1rem;
    }

    .weekday {
        font-size: 0.75rem;
        padding: 0.1rem;
    }

    /* Stack duration and time selection on mobile */
    .time-selection-section,
    .duration-section {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .sidebar-price-summary {
        display: none;
    }

    /* Even smaller calendar on mobile */
    .calendar-day {
        font-size: 0.75rem;
    }

    .weekday {
        font-size: 0.7rem;
    }

    .calendar-header h4 {
        font-size: 0.9rem;
    }

    /* Stack booking confirmation details on mobile */
    .booking-confirmation-details .col-md-6 {
        margin-bottom: 1rem;
    }

    .booking-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .booking-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .back-btn {
        order: 2;
    }

    .continue-btn {
        order: 1;
    }
}

/* Animation for step transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-step {
    animation: fadeIn 0.3s ease;
}

/* Print styles for booking confirmation */
@media print {
    .booking-sidebar,
    .booking-actions,
    .modal,
    .section-heading,
    .mobile-step-indicator {
        display: none !important;
    }

    .booking-main-content {
        box-shadow: none;
        padding: 0;
    }

    .booking-confirmation-details {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
