/**
 * EZY Auto Booking - Public Styles
 * Beautiful, mobile-first booking form
 */

/* Variables */
:root {
    --ezy-primary: #1a365d;
    --ezy-primary-light: #2d4a7c;
    --ezy-primary-dark: #0f2442;
    --ezy-accent: #3b82f6;
    --ezy-accent-light: #60a5fa;
    --ezy-success: #10b981;
    --ezy-success-light: #34d399;
    --ezy-warning: #f59e0b;
    --ezy-danger: #ef4444;
    --ezy-gray-50: #f8fafc;
    --ezy-gray-100: #f1f5f9;
    --ezy-gray-200: #e2e8f0;
    --ezy-gray-300: #cbd5e1;
    --ezy-gray-400: #94a3b8;
    --ezy-gray-500: #64748b;
    --ezy-gray-600: #475569;
    --ezy-gray-700: #334155;
    --ezy-gray-800: #1e293b;
    --ezy-gray-900: #0f172a;
    --ezy-radius: 8px;
    --ezy-radius-lg: 12px;
    --ezy-radius-xl: 16px;
    --ezy-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --ezy-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --ezy-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --ezy-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Trigger Button */
.ezy-booking-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--ezy-primary) 0%, var(--ezy-primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: var(--ezy-radius-lg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.4);
    transition: var(--ezy-transition);
}

.ezy-booking-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.5);
}

.ezy-booking-trigger:active {
    transform: translateY(0);
}

.ezy-booking-trigger svg {
    flex-shrink: 0;
}

/* Modal */
.ezy-booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ezy-booking-modal.active {
    opacity: 1;
    visibility: visible;
}

.ezy-booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}

.ezy-booking-modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: #fff;
    border-radius: var(--ezy-radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
    margin: 20px;
}

.ezy-booking-modal.active .ezy-booking-modal-container {
    transform: scale(1) translateY(0);
}

.ezy-booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ezy-gray-200);
    flex-shrink: 0;
}

.ezy-booking-modal-header h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--ezy-gray-900);
    margin: 0;
}

.ezy-booking-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ezy-gray-100);
    border: none;
    border-radius: 50%;
    color: var(--ezy-gray-500);
    cursor: pointer;
    transition: var(--ezy-transition);
}

.ezy-booking-modal-close:hover {
    background: var(--ezy-gray-200);
    color: var(--ezy-gray-700);
}

.ezy-booking-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Container */
.ezy-booking-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: var(--ezy-gray-800);
    -webkit-font-smoothing: antialiased;
}

.ezy-booking-container * {
    box-sizing: border-box;
}

.ezy-booking-wrapper {
    padding: 24px;
}

/* Progress Steps */
.ezy-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 0 10px;
}

.ezy-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.ezy-progress-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ezy-gray-100);
    border: 2px solid var(--ezy-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ezy-gray-400);
    transition: var(--ezy-transition);
}

.ezy-progress-icon svg {
    width: 22px;
    height: 22px;
}

.ezy-progress-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--ezy-gray-400);
    margin-top: 8px;
    transition: var(--ezy-transition);
}

.ezy-progress-line {
    flex: 1;
    height: 2px;
    background: var(--ezy-gray-200);
    margin: 0 12px;
    margin-bottom: 28px;
    max-width: 80px;
    transition: var(--ezy-transition);
}

.ezy-progress-step.active .ezy-progress-icon {
    background: var(--ezy-primary);
    border-color: var(--ezy-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.2);
}

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

.ezy-progress-step.completed .ezy-progress-icon {
    background: var(--ezy-success);
    border-color: var(--ezy-success);
    color: #fff;
}

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

.ezy-progress-step.completed + .ezy-progress-line {
    background: var(--ezy-success);
}

/* Steps */
.ezy-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

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

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

.ezy-step-header {
    text-align: center;
    margin-bottom: 32px;
}

.ezy-step-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--ezy-gray-900);
    margin: 0 0 8px;
}

.ezy-step-header p {
    font-size: 16px;
    color: var(--ezy-gray-500);
    margin: 0;
}

/* Services Grid */
.ezy-services-grid {
    display: grid;
    gap: 12px;
}

/* Selected Services Summary */
.ezy-selected-summary {
    background: linear-gradient(135deg, var(--ezy-primary) 0%, var(--ezy-primary-light) 100%);
    border-radius: var(--ezy-radius-lg);
    padding: 16px 20px;
    margin-top: 20px;
    color: #fff;
}

.ezy-summary-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.ezy-summary-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.ezy-summary-service {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.ezy-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 16px;
}

.ezy-summary-total strong {
    font-size: 20px;
    font-weight: 700;
}

/* Payment Methods */
.ezy-payment-methods {
    display: grid;
    gap: 12px;
}

.ezy-payment-option {
    cursor: pointer;
}

.ezy-payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ezy-payment-card {
    background: #fff;
    border: 2px solid var(--ezy-gray-200);
    border-radius: var(--ezy-radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--ezy-transition);
    position: relative;
}

.ezy-payment-card:hover {
    border-color: var(--ezy-gray-300);
    box-shadow: var(--ezy-shadow);
}

.ezy-payment-option input:checked + .ezy-payment-card {
    border-color: var(--ezy-primary);
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02) 0%, rgba(26, 54, 93, 0.05) 100%);
    box-shadow: var(--ezy-shadow-lg);
}

.ezy-payment-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--ezy-radius);
    background: var(--ezy-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ezy-gray-600);
    flex-shrink: 0;
}

.ezy-payment-option input:checked + .ezy-payment-card .ezy-payment-icon {
    background: linear-gradient(135deg, var(--ezy-primary) 0%, var(--ezy-primary-light) 100%);
    color: #fff;
}

.ezy-payment-icon svg {
    width: 24px;
    height: 24px;
}

.ezy-payment-info {
    flex: 1;
}

.ezy-payment-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ezy-gray-800);
    margin: 0;
}

.ezy-payment-info p {
    font-size: 13px;
    color: var(--ezy-gray-500);
    margin: 4px 0 0;
}

.ezy-payment-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ezy-success);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--ezy-transition);
}

.ezy-payment-check svg {
    width: 14px;
    height: 14px;
}

.ezy-payment-option input:checked + .ezy-payment-card .ezy-payment-check {
    opacity: 1;
    transform: scale(1);
}

/* Review Services */
.ezy-review-services {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.ezy-review-service-item {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

.ezy-review-service-item span:first-child {
    color: var(--ezy-gray-700);
}

.ezy-review-service-item span:last-child {
    font-weight: 500;
    color: var(--ezy-gray-800);
}

.ezy-review-service-total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--ezy-gray-200);
    font-size: 16px;
    margin: 0;
}

.ezy-review-service-total span {
    color: var(--ezy-gray-600);
}

.ezy-review-service-total strong {
    font-size: 20px;
    color: var(--ezy-primary);
}

.ezy-review-payment {
    font-size: 16px;
    font-weight: 500;
    color: var(--ezy-gray-800);
}

.ezy-service-option {
    cursor: pointer;
}

.ezy-service-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ezy-service-card {
    background: #fff;
    border: 2px solid var(--ezy-gray-200);
    border-radius: var(--ezy-radius-lg);
    padding: 20px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 16px;
    align-items: center;
    transition: var(--ezy-transition);
    position: relative;
}

.ezy-service-card:hover {
    border-color: var(--ezy-gray-300);
    box-shadow: var(--ezy-shadow);
}

.ezy-service-option input:checked + .ezy-service-card {
    border-color: var(--ezy-primary);
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02) 0%, rgba(26, 54, 93, 0.05) 100%);
    box-shadow: var(--ezy-shadow-lg);
}

.ezy-service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--ezy-radius);
    background: linear-gradient(135deg, var(--ezy-primary) 0%, var(--ezy-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ezy-service-icon svg {
    width: 28px;
    height: 28px;
}

.ezy-service-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ezy-gray-800);
    margin: 0 0 4px;
}

.ezy-service-info p {
    font-size: 14px;
    color: var(--ezy-gray-500);
    margin: 0;
    line-height: 1.4;
}

.ezy-service-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.ezy-service-duration {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--ezy-gray-500);
}

.ezy-service-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--ezy-primary);
}

.ezy-service-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ezy-success);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--ezy-transition);
}

.ezy-service-check svg {
    width: 14px;
    height: 14px;
}

.ezy-service-option input:checked + .ezy-service-card .ezy-service-check {
    opacity: 1;
    transform: scale(1);
}

/* Date & Time Picker */
.ezy-datetime-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.ezy-date-section label,
.ezy-time-section label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ezy-gray-700);
    margin-bottom: 12px;
}

/* Mini Calendar */
.ezy-calendar-mini {
    background: #fff;
    border: 1px solid var(--ezy-gray-200);
    border-radius: var(--ezy-radius-lg);
    padding: 16px;
}

.ezy-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ezy-cal-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ezy-gray-800);
    margin: 0;
}

.ezy-cal-nav {
    display: flex;
    gap: 4px;
}

.ezy-cal-nav button {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--ezy-gray-100);
    border-radius: var(--ezy-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ezy-gray-600);
    transition: var(--ezy-transition);
}

.ezy-cal-nav button:hover {
    background: var(--ezy-gray-200);
}

.ezy-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.ezy-cal-day-name {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--ezy-gray-400);
    padding: 8px 0;
    text-transform: uppercase;
}

.ezy-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: var(--ezy-radius);
    cursor: pointer;
    transition: var(--ezy-transition);
    color: var(--ezy-gray-700);
}

.ezy-cal-day:hover:not(.ezy-cal-disabled):not(.ezy-cal-empty) {
    background: var(--ezy-gray-100);
}

.ezy-cal-day.ezy-cal-today {
    font-weight: 600;
    color: var(--ezy-primary);
}

.ezy-cal-day.ezy-cal-selected {
    background: var(--ezy-primary);
    color: #fff;
    font-weight: 600;
}

.ezy-cal-day.ezy-cal-disabled {
    color: var(--ezy-gray-300);
    cursor: not-allowed;
}

.ezy-cal-day.ezy-cal-empty {
    cursor: default;
}

/* Time Slots */
.ezy-time-slots {
    background: #fff;
    border: 1px solid var(--ezy-gray-200);
    border-radius: var(--ezy-radius-lg);
    padding: 16px;
    min-height: 280px;
    max-height: 350px;
    overflow-y: auto;
}

.ezy-time-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--ezy-gray-400);
    text-align: center;
}

.ezy-time-placeholder svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.ezy-time-placeholder p {
    margin: 0;
    font-size: 14px;
}

.ezy-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.ezy-time-slot {
    padding: 12px 8px;
    border: 2px solid var(--ezy-gray-200);
    border-radius: var(--ezy-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--ezy-transition);
    font-size: 14px;
    font-weight: 500;
    color: var(--ezy-gray-700);
}

.ezy-time-slot:hover {
    border-color: var(--ezy-primary);
    background: rgba(26, 54, 93, 0.02);
}

.ezy-time-slot.selected {
    border-color: var(--ezy-primary);
    background: var(--ezy-primary);
    color: #fff;
}

.ezy-time-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--ezy-gray-500);
}

/* Details Form */
.ezy-details-form {
    max-width: 600px;
    margin: 0 auto;
}

.ezy-form-section {
    margin-bottom: 32px;
}

.ezy-form-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ezy-gray-800);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ezy-gray-200);
}

.ezy-form-row {
    margin-bottom: 16px;
}

.ezy-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ezy-form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.ezy-form-group {
    margin-bottom: 0;
}

.ezy-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ezy-gray-700);
    margin-bottom: 6px;
}

.ezy-input,
.ezy-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--ezy-gray-200);
    border-radius: var(--ezy-radius);
    font-size: 15px;
    transition: var(--ezy-transition);
    background: #fff;
    color: var(--ezy-gray-800);
}

.ezy-input:focus,
.ezy-textarea:focus {
    outline: none;
    border-color: var(--ezy-primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.ezy-input::placeholder,
.ezy-textarea::placeholder {
    color: var(--ezy-gray-400);
}

.ezy-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Review Summary */
.ezy-review-summary {
    background: var(--ezy-gray-50);
    border-radius: var(--ezy-radius-lg);
    overflow: hidden;
}

.ezy-review-section {
    padding: 24px;
    border-bottom: 1px solid var(--ezy-gray-200);
}

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

.ezy-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ezy-review-header h3 {
    font-size: 12px;
    font-weight: 600;
    color: var(--ezy-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.ezy-edit-btn {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--ezy-accent);
    cursor: pointer;
    padding: 0;
}

.ezy-edit-btn:hover {
    text-decoration: underline;
}

.ezy-review-service-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--ezy-gray-900);
    margin: 0 0 4px;
}

.ezy-review-service-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--ezy-primary);
    margin: 0;
}

.ezy-review-datetime {
    display: flex;
    gap: 32px;
}

.ezy-review-datetime > div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ezy-gray-700);
}

.ezy-review-datetime svg {
    color: var(--ezy-accent);
}

.ezy-review-datetime span {
    font-size: 16px;
    font-weight: 500;
}

.ezy-review-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ezy-review-row {
    display: flex;
    justify-content: space-between;
}

.ezy-review-label {
    color: var(--ezy-gray-500);
    font-size: 14px;
}

.ezy-review-value {
    color: var(--ezy-gray-800);
    font-size: 14px;
    font-weight: 500;
}

/* Step Actions */
.ezy-step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--ezy-gray-200);
}

.ezy-step-actions .ezy-btn:only-child {
    margin-left: auto;
}

/* Buttons */
.ezy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--ezy-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--ezy-transition);
}

.ezy-btn svg {
    flex-shrink: 0;
}

.ezy-btn-primary {
    background: linear-gradient(135deg, var(--ezy-primary) 0%, var(--ezy-primary-light) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.3);
}

.ezy-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.4);
}

.ezy-btn-primary:active {
    transform: translateY(0);
}

.ezy-btn-secondary {
    background: var(--ezy-gray-100);
    color: var(--ezy-gray-700);
}

.ezy-btn-secondary:hover {
    background: var(--ezy-gray-200);
}

.ezy-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Success Step */
.ezy-step-success {
    text-align: center;
    padding: 40px 20px;
}

.ezy-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ezy-success) 0%, var(--ezy-success-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #fff;
    animation: successPop 0.5s ease-out;
}

.ezy-success-icon svg {
    width: 40px;
    height: 40px;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.ezy-step-success h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--ezy-gray-900);
    margin: 0 0 8px;
}

.ezy-step-success > p {
    font-size: 16px;
    color: var(--ezy-gray-500);
    margin: 0 0 32px;
}

.ezy-success-reference {
    background: var(--ezy-gray-100);
    border-radius: var(--ezy-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    display: inline-block;
}

.ezy-success-reference span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--ezy-gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ezy-success-reference strong {
    font-size: 28px;
    font-weight: 700;
    color: var(--ezy-primary);
    letter-spacing: 2px;
}

.ezy-success-details {
    margin-bottom: 24px;
}

.ezy-success-details p {
    font-size: 16px;
    color: var(--ezy-gray-700);
    margin: 0 0 4px;
}

.ezy-success-email {
    font-size: 14px;
    color: var(--ezy-gray-500);
    margin: 0 0 32px !important;
}

.ezy-success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Loading Spinner */
.ezy-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

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

/* Error Message */
.ezy-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--ezy-radius);
    padding: 16px;
    margin-bottom: 24px;
    color: #dc2626;
    font-size: 14px;
}

/* Services List (shortcode) */
.ezy-services-list {
    display: grid;
    gap: 16px;
}

.ezy-service-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--ezy-gray-200);
    border-radius: var(--ezy-radius-lg);
}

.ezy-service-item .ezy-service-icon {
    flex-shrink: 0;
}

.ezy-service-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ezy-gray-800);
    margin: 0 0 4px;
}

.ezy-service-content p {
    font-size: 14px;
    color: var(--ezy-gray-500);
    margin: 0 0 12px;
}

.ezy-service-details {
    display: flex;
    gap: 16px;
}

.ezy-service-details .ezy-duration {
    font-size: 13px;
    color: var(--ezy-gray-500);
}

.ezy-service-details .ezy-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--ezy-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .ezy-booking-modal-container {
        max-height: 100vh;
        height: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .ezy-booking-modal-body {
        padding-bottom: 20px;
    }
    
    .ezy-progress {
        padding: 0;
    }
    
    .ezy-progress-label {
        display: none;
    }
    
    .ezy-progress-line {
        margin-bottom: 0;
    }
    
    .ezy-progress-icon {
        width: 40px;
        height: 40px;
    }
    
    .ezy-progress-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .ezy-step-header h2 {
        font-size: 22px;
    }
    
    .ezy-step-header p {
        font-size: 14px;
    }
    
    .ezy-service-card {
        grid-template-columns: 48px 1fr;
        gap: 12px;
    }
    
    .ezy-service-icon {
        width: 48px;
        height: 48px;
    }
    
    .ezy-service-meta {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 12px;
        border-top: 1px solid var(--ezy-gray-100);
    }
    
    .ezy-datetime-picker {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .ezy-time-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ezy-form-row-2,
    .ezy-form-row-3 {
        grid-template-columns: 1fr;
    }
    
    .ezy-review-datetime {
        flex-direction: column;
        gap: 12px;
    }
    
    .ezy-step-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .ezy-step-actions .ezy-btn {
        width: 100%;
    }
    
    .ezy-btn {
        padding: 14px 20px;
    }
    
    .ezy-success-actions {
        flex-direction: column;
    }
    
    .ezy-success-actions .ezy-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ezy-booking-wrapper {
        padding: 16px;
    }
    
    .ezy-booking-modal-header {
        padding: 16px;
    }
    
    .ezy-booking-modal-header h2 {
        font-size: 18px;
    }
    
    .ezy-service-info h3 {
        font-size: 16px;
    }
    
    .ezy-service-info p {
        font-size: 13px;
    }
    
    .ezy-cal-grid {
        gap: 2px;
    }
    
    .ezy-cal-day {
        font-size: 13px;
    }
    
    .ezy-step-header {
        margin-bottom: 24px;
    }
    
    .ezy-success-reference strong {
        font-size: 22px;
    }
}
