/* CSS Design System for 6-Step Appointment Booking Form */

:root {
    /* Color Palette - Arkveda Custom Brand Colors */
    --primary: #5A8F7B; /* Muted sage green */
    --primary-hover: #4A7A68;
    --primary-light: #f0f6f3; /* Soft green tint */
    --success: #2b4c1d; /* Arkveda forest green */
    --success-light: #f1f6ee; /* Soft green tint */
    --danger: #d9463e;
    --danger-light: #fef3f2;
    --bg-main: #FDFFF7; /* Warm cream/ivory */
    --bg-card: #FDFFF7;
    --text-main: #2b2620; /* Dark warm brown/charcoal */
    --text-title: #274416; /* Arkveda header dark forest green */
    --text-muted: #7a6f64; /* Muted warm grey */
    --border-color: #e7e3da; /* Soft warm border */
    --border-hover: #d0c8b8;
    --shadow-sm: 0 1px 3px 0 rgba(43, 38, 32, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(43, 38, 32, 0.08), 0 2px 4px -2px rgba(43, 38, 32, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(43, 38, 32, 0.1), 0 4px 6px -4px rgba(43, 38, 32, 0.1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Screen Reader Only Utility (Visually Hidden) */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Global Reset (Scoped to iframe friendly environment) */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Hide scrollbar visually but keep scrolling functional */
html, body {
    overflow: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

body {
    font-family: 'Plus Jakarta Sans', 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 12px 8px;
}

/* App Wrapper */
.booking-app-container {
    width: 100%;
    max-width: 100%;
    background-color: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header & Progress Tracker */
.booking-header {
    padding: 32px 32px 16px;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.progress-tracker {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.progress-bar-bg {
    position: absolute;
    top: 18px;
    left: 20px;
    right: 20px;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    z-index: 1;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--primary), var(--primary));
    border-radius: 2px;
    transition: width var(--transition-normal);
}

.tracker-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
    flex: 1;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.step-label {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    transition: color var(--transition-normal);
}

/* Tracker Active & Completed States */
.tracker-step.active .step-number {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
    box-shadow: 0 0 0 4px rgba(90, 143, 123, 0.15);
}

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

.tracker-step.completed .step-number {
    border-color: var(--primary);
    background-color: var(--primary);
    color: #ffffff;
}

.tracker-step.completed .step-label {
    color: var(--text-main);
}

/* Main Form Area */
.booking-form-wrapper {
    padding: 32px;
    min-height: 380px;
    flex-grow: 1;
}

/* Step Container Animations */
.form-step {
    display: none;
    opacity: 0;
}

.form-step.active {
    display: block;
    animation: stepEnter var(--transition-normal) forwards;
}

@keyframes stepEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography & Subtitles */
.step-title-container {
    margin-bottom: 28px;
}

.step-title-container h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-title);
    letter-spacing: -0.02em;
}

.step-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Interactive Card Options (Step 1 & 2) */
.region-grid, .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Hide native radio inputs inside option containers */
.card-option input[type="radio"],
.slot-chip input[type="radio"] {
    display: none !important;
}

.card-option {
    cursor: pointer;
    position: relative;
    border-radius: 16px;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    overflow: hidden; /* Clips corners of children */
}

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

.card-inner {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.card-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.card-icon {
    width: 26px;
    height: 26px;
}

.card-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.card-desc {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    opacity: 0;
    transform: scale(0.9);
    transition: all var(--transition-fast);
}

/* Card Selection Highlights */
input[type="radio"]:checked + .card-inner {
    /* Background color applied to parent .card-option to avoid subpixel gaps */
}

input[type="radio"]:checked ~ .card-inner .card-badge {
    opacity: 1;
    transform: scale(1);
}

.card-option:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background-color: var(--primary-light);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
}

.card-option:has(input[type="radio"]:checked) .card-icon-wrapper {
    background-color: #ffffff; /* Contrast icon wrapper in selected card */
    color: var(--primary);
}

/* Service Metadata Details */
.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
}

.service-duration {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.meta-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.service-price {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* STEP 3: Date & Time Layout */
.datetime-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

/* Inline Calendar Custom Styles */
.calendar-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

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

.calendar-month-year {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.btn-cal-nav {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cal-nav:hover {
    background-color: var(--bg-main);
    color: var(--text-main);
    border-color: var(--border-hover);
}

.btn-cal-nav svg {
    width: 16px;
    height: 16px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px 4px;
    text-align: center;
}

.calendar-day-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.calendar-day-item:hover:not(.disabled):not(.selected) {
    background-color: var(--bg-main);
}

.calendar-day-item.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    font-weight: 400;
}

.calendar-day-item.selected {
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(90, 143, 123, 0.3);
}

.calendar-day-item.today:not(.selected) {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

/* Time Slots Grid Styles */
.slots-wrapper {
    display: flex;
    flex-direction: column;
}

.slots-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
}

.slots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.slot-chip {
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    background-color: var(--bg-card);
    transition: all var(--transition-fast);
    display: block;
    user-select: none;
}

.slot-chip:hover:not(.booked):not(:has(input[type="radio"]:checked)) {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
}

.slot-chip:has(input[type="radio"]:checked) {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(90, 143, 123, 0.2);
}

.slot-chip.booked {
    background-color: #f1f5f9;
    border-color: var(--border-color);
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.7;
}

.slots-helper-text {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

/* STEP 4: Contact Form Inputs & Verification */
.contact-form-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 550px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--transition-fast);
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    font-size: 15px;
    font-family: inherit;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.form-input::placeholder {
    color: #94a3b8;
}

/* Focus State styling */
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(90, 143, 123, 0.15);
}

.form-input:focus + .input-icon {
    color: var(--primary);
}

/* Native/JS Field Validation States */
.form-group.validated .form-input:valid {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group.validated .form-input:invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.validation-message {
    font-size: 12px;
    color: var(--danger);
    margin-top: 4px;
    display: none;
}

.form-group.validated .form-input:invalid ~ .validation-message {
    display: block;
    animation: slideInMsg var(--transition-fast) forwards;
}

@keyframes slideInMsg {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* STEP 5: Payment Gateway Checkout Details */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

.checkout-summary-card {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.checkout-summary-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.summary-label {
    color: var(--text-muted);
}

.summary-val {
    color: var(--text-main);
    font-weight: 500;
}

.summary-val.font-semibold {
    font-weight: 600;
}

.summary-row.border-top {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.summary-row.border-top .summary-label.text-lg {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.summary-row.border-top .summary-val.text-xl {
    font-size: 20px;
    font-weight: 800;
}

.color-primary {
    color: var(--primary);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
}

.security-badge-icon {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

.security-badge span {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Razorpay Info & CTA Button */
.payment-action-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.razorpay-info {
    border: 1px solid var(--border-color);
    background-color: var(--bg-main);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.razorpay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.razorpay-badge {
    font-size: 11px;
    font-weight: 700;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
}

.razorpay-powered {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.razorpay-info p {
    font-size: 12px;
    color: var(--text-main);
    line-height: 1.4;
}

.btn-pay {
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(90, 143, 123, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    transition: all var(--transition-fast);
}

.btn-pay:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 16px rgba(90, 143, 123, 0.35);
}

.btn-pay:disabled {
    background-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/* Spinner Animation State */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.btn-pay.loading .btn-text,
.btn-pay.loading svg {
    opacity: 0;
}

.btn-pay.loading .btn-spinner {
    display: block;
    position: absolute;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.payment-terms {
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

.payment-terms a {
    color: var(--primary);
    text-decoration: none;
}

.payment-terms a:hover {
    text-decoration: underline;
}

/* STEP 6: Success screen elements */
.success-screen {
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
    padding: 12px 0;
}

.success-screen h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-title);
    margin-top: 20px;
    letter-spacing: -0.02em;
}

.success-message {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.5;
}

/* Receipt Details Card */
.receipt-card {
    background-color: #ffffff;
    border: 1px dashed var(--border-color);
    border-radius: 14px;
    margin: 28px 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.receipt-header {
    background-color: var(--bg-main);
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-id-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.receipt-id-val {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.receipt-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.receipt-row span {
    color: var(--text-muted);
}

.receipt-row strong {
    color: var(--text-main);
    font-weight: 600;
}

.receipt-row strong.text-emerald {
    color: var(--success);
}

/* Zoom Meeting Link Row */
.receipt-row-zoom strong {
    display: flex;
    align-items: center;
    gap: 6px;
}

.zoom-link-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 12px;
}

.shimmer-bar {
    display: inline-block;
    width: 80px;
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(
        90deg,
        var(--border-color) 25%,
        var(--primary-light) 50%,
        var(--border-color) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.zoom-link-anchor {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all var(--transition-fast);
    padding: 2px 0;
}

.zoom-link-anchor:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.zoom-link-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-copy-link {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
}

.btn-copy-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.btn-copy-link.success {
    color: #16a34a; /* green */
    background-color: #f0fdf4;
}

/* Tooltip style */
.btn-copy-link .tooltip-text {
    visibility: hidden;
    width: 60px;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    border-radius: 4px;
    padding: 4px 0;
    position: absolute;
    z-index: 10;
    bottom: 125%; /* Position above the button */
    left: 50%;
    margin-left: -30px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 10px;
    font-weight: 500;
}

.btn-copy-link:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.zoom-link-anchor svg {
    flex-shrink: 0;
}

.zoom-link-error {
    color: #dc2626;
    font-weight: 500;
    font-size: 12px;
    font-style: italic;
}

/* Success Actions Container */
.success-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* WhatsApp CTA Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25d366;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 11px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-whatsapp:hover {
    background-color: #20ba59;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Download ICS Calendar Button */
.btn-download-ics {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-download-ics:hover {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(90, 143, 123, 0.25);
}

/* Restart Booking button */
.btn-restart {
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 11px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-restart:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* Success Checkmark Animation Styles */
.success-checkmark-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-checkmark {
    width: 68px;
    height: 68px;
}

.checkmark-svg {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #ffffff;
    stroke-miterlimit: 10;
    box-shadow: inset 0 0 0 var(--success);
    animation: fillCheckmark 0.4s ease-in-out 0.3s forwards, scaleCheckmark 0.3s ease-in-out 0.8s forwards;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--success);
    fill: none;
    animation: strokeCheckmark 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: strokeCheckmark 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.7s forwards;
}

@keyframes strokeCheckmark {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scaleCheckmark {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fillCheckmark {
    100% {
        box-shadow: inset 0 0 0 40px var(--success);
    }
}

/* Footer Navigation Layout */
.booking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px 32px;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.btn-nav {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-back {
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-muted);
}

.btn-back:hover:not(:disabled) {
    border-color: var(--border-hover);
    color: var(--text-main);
    background-color: var(--bg-main);
}

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

.btn-next {
    border: none;
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(90, 143, 123, 0.15);
}

.btn-next:hover:not(:disabled) {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(90, 143, 123, 0.25);
}

.btn-next:disabled {
    background-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-icon-left {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.btn-icon-right {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

/* Responsive Breakpoints & Device Scaling */
@media (max-width: 768px) {
    body {
        padding: 8px 4px;
    }
    
    .booking-header {
        padding: 24px 20px 12px;
    }
    
    .progress-tracker {
        max-width: 100%;
    }
    
    .progress-bar-bg {
        left: 12px;
        right: 12px;
        top: 17px;
        height: 3px;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 11px;
        margin-top: 6px;
    }
    
    .booking-form-wrapper {
        padding: 24px 20px;
    }
    
    .step-title-container h2 {
        font-size: 22px;
    }
    
    .step-subtitle {
        font-size: 14px;
    }

    .region-grid, .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .card-inner {
        padding: 22px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-desc {
        font-size: 13px;
    }
    
    .card-icon-wrapper {
        margin-bottom: 12px;
    }
    
    .datetime-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .booking-footer {
        padding: 16px 20px 24px;
    }

    .success-actions {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .btn-whatsapp, .btn-restart {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        text-align: center;
    }
}
