/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 47, 64, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.hero-header {
    margin-bottom: 32px;
    padding-top: 50px;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    line-height: 1.5;
}

/* Booking Widget - Embedded Version */
.booking-widget {
    background: white;
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    height: auto;
    min-height: 600px;
    max-height: 95vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 1300px;
    /* Expanded to 1300px per user request */
    margin: 0 auto;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Override wizard styles for embedded mode */
.booking-wizard-container.embedded {
    background: transparent;
    box-shadow: none;
    border: none;
    min-height: 0;
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-rows: minmax(0, 1fr);
    /* Default 2 columns: Left Info | Content */
    gap: 24px;
    max-width: none;
    flex: 1;
    height: 100%;
    transition: grid-template-columns 0.3s ease;
}

.booking-wizard-container.embedded.show-summary {
    grid-template-columns: 280px 1fr 300px;
    /* 3 columns: Left Info | Content | Summary */
}

/* Step 4 & 5 Special Layout: Hide Sidebar Summary */
.booking-wizard-container.embedded.step-3-active.show-summary,
.booking-wizard-container.embedded.step-4-active.show-summary,
.booking-wizard-container.embedded.step-5-active.show-summary {
    grid-template-columns: 280px 1fr;
}

.booking-wizard-container.embedded.step-3-active .wizard-summary-wrapper,
.booking-wizard-container.embedded.step-4-active .wizard-summary-wrapper,
.booking-wizard-container.embedded.step-5-active .wizard-summary-wrapper {
    display: none !important;
}

/* Left Info Sidebar Styles */
.booking-wizard-container.embedded .wizard-info-sidebar {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align top */
    align-items: center;
    text-align: center;
    height: auto;
    /* Remove fixed height */
    min-height: 100%;
}

.booking-wizard-container.embedded .info-icon {
    width: 54px;
    height: 54px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #022F40;
    /* Fixed hardcoded primary */
    font-size: 1.3rem;
}

.booking-wizard-container.embedded .info-icon .wizard-regular-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #022F40;
}

.booking-wizard-container.embedded .info-icon .wizard-regular-icon svg,
.booking-wizard-container.embedded .info-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    stroke: currentColor;
}

.booking-wizard-container.embedded .info-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: #222728;
    margin-bottom: 10px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.booking-wizard-container.embedded .info-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 28px;
}

.booking-wizard-container.embedded .info-contact {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    width: 100%;
}

.booking-wizard-container.embedded .info-contact p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 4px;
}

.booking-wizard-container.embedded .info-contact a {
    color: #022F40;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-top: 4px;
}

.booking-wizard-container.embedded .wizard-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-right: none;
    padding-right: 0;
    flex: 1;
    min-width: 0;
    width: 100%;
    min-height: 0;
    max-height: none;
    overflow-y: visible;
    /* Wrapper shouldn't scroll, content should */
    padding: 20px 24px;
    box-sizing: border-box;
}

.booking-wizard-container.embedded.show-summary .wizard-content-wrapper {
    border-right: 1px solid #e2e8f0;
    padding-right: 0;
}

.booking-wizard-container.embedded .wizard-step-content {
    flex: 1;
    height: auto;
    min-height: 0;
    overflow-y: auto;
    /* Content scrolls here */
    scrollbar-width: thin;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    /* For absolutely positioned elements like Quick View */
}

/* Summary sidebar */
.booking-wizard-container.embedded .wizard-summary-wrapper {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    /* Increased padding */
    height: auto;
    display: none;
    flex-direction: column;
    max-height: none;
    overflow: visible;
    /* Remove internal scroll */
}

.booking-wizard-container.embedded.show-summary .wizard-summary-wrapper {
    display: flex;
}

.booking-wizard-container.embedded .summary-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #022F40;
    margin-bottom: 16px;
    text-align: left;
    /* Aligned left */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding-left: 4px;
}

.booking-wizard-container.embedded .summary-grid {
    display: flex;
    /* Flex column for stacking */
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.booking-wizard-container.embedded .summary-item {
    background: white;
    padding: 10px 12px;
    border-radius: 8px;
    /* Tighter radius */
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Center vertically */
    gap: 12px;
    min-width: 0;
}

.booking-wizard-container.embedded .summary-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 6px;
    color: #022F40;
    flex-shrink: 0;
}

.booking-wizard-container.embedded .summary-icon {
    width: 18px;
    height: 18px;
    color: #022F40;
}

.booking-wizard-container.embedded .summary-text-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
    /* Enable truncation */
    align-items: flex-start;
    text-align: left;
}

.booking-wizard-container.embedded .summary-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    font-weight: 600;
    margin: 0;
    line-height: 1;
    display: block;
    width: 100%;
    text-align: left;
}

.booking-wizard-container.embedded .summary-value {
    font-size: 0.9rem;
    color: #222728;
    font-weight: 600;
    line-height: 1.2;
    padding-left: 0;
    word-wrap: break-word;
    text-align: left;
}

/* Removed old classes */
.booking-wizard-container.embedded .summary-item-header {
    display: none;
}

.booking-wizard-container.embedded .cost-breakdown {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.booking-wizard-container.embedded .total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #022F40;
    padding: 12px;
    background: white;
    border-radius: 10px;
    border: 2px solid #022F40;
}

/* Wizard header */
.booking-wizard-container.embedded .wizard-header {
    text-align: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.booking-wizard-container.embedded .wizard-header h2 {
    font-size: 1.4rem;
    color: #022F40;
    margin: 0 0 4px 0;
    font-weight: 700;
}

.booking-wizard-container.embedded .wizard-header p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Form styles */
.booking-wizard-container.embedded .form-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.booking-wizard-container.embedded .form-group {
    margin-bottom: 0;
}

.booking-wizard-container.embedded .form-group.full-width {
    grid-column: 1 / -1;
}

.booking-wizard-container.embedded .form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #222728;
    margin-bottom: 6px;
}

.booking-wizard-container.embedded .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
}

.booking-wizard-container.embedded .form-control:focus {
    outline: none;
    border-color: #022F40;
    box-shadow: 0 0 0 3px rgba(2, 47, 64, 0.1);
}

/* Validation Styles */
.booking-wizard-container.embedded .form-control.is-invalid {
    border-color: #ef4444;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.booking-wizard-container.embedded .form-control.is-valid {
    border-color: #10b981;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.booking-wizard-container.embedded .invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #ef4444;
    font-weight: 500;
}

.booking-wizard-container.embedded .form-control.is-invalid~.invalid-feedback {
    display: block;
}

/* Step Transitions */
.wizard-step-content {
    animation: fadeInUp 0.4s ease-out forwards;
}

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

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

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Hero Entrance Animations */
.animate-hero {
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title.animate-hero {
    animation-delay: 0.1s;
}

.hero-subtitle.animate-hero {
    animation-delay: 0.3s;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.booking-wizard-container.embedded .text-center {
    text-align: center;
}

.booking-wizard-container.embedded .btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
}

.booking-wizard-container.embedded .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Social buttons */
.booking-wizard-container.embedded .social-btn {
    width: 48px;
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    background: white;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-wizard-container.embedded .social-facebook {
    color: #3b5998;
}

.booking-wizard-container.embedded .social-facebook:hover {
    background: #3b5998;
    color: white;
    border-color: #3b5998;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 89, 152, 0.3);
}

.booking-wizard-container.embedded .social-google {
    color: #db4437;
}

.booking-wizard-container.embedded .social-google:hover {
    background: #db4437;
    color: white;
    border-color: #db4437;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(219, 68, 55, 0.3);
}

/* Continue button styling */
/* Wizard Actions & Buttons */
.booking-wizard-container.embedded .wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    gap: 12px;
}

.booking-wizard-container.embedded .btn-back {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #64748b;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.booking-wizard-container.embedded .btn-back:hover {
    border-color: #94a3b8;
    color: #222728;
    background: #f8fafc;
}

.booking-wizard-container.embedded .btn-next {
    background: linear-gradient(135deg, #022F40 0%, #1a5f7a 100%);
    padding: 14px 32px;
    /* Wider button */
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 8px;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 47, 64, 0.2);
    flex: 1;
    /* Take up remaining space or just be wide? Let's make it auto but wide */
    max-width: 200px;
    margin-left: auto;
    /* Push to right if back button is missing */
    text-align: center;
}

.booking-wizard-container.embedded .btn-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 47, 64, 0.35);
    background: linear-gradient(135deg, #1a5f7a 0%, #022F40 100%);
}

.booking-wizard-container.embedded .btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Compact Grid for Stephens 1 & 2 */
.booking-wizard-container.embedded .services-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100%;
    margin: 0 auto;
}

.booking-wizard-container.embedded .service-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #022F40;
    flex-shrink: 0;
}

.booking-wizard-container.embedded .service-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.booking-wizard-container.embedded .service-card {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: white;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    cursor: pointer;
    gap: 12px;
    box-shadow: none;
}

.booking-wizard-container.embedded .service-card:hover {
    border-color: rgba(2, 47, 64, 0.28);
    background: #f8fafc;
}

.booking-wizard-container.embedded .service-card.active {
    border-color: #022F40;
    background: #f8fafc;
    box-shadow: 0 0 0 2px rgba(2, 47, 64, 0.12);
}

.booking-wizard-container.embedded .service-img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover !important;
    object-position: center !important;
    margin-bottom: 0;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
    display: block;
}

.booking-wizard-container.embedded .service-info {
    flex: 1;
    width: auto;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-wizard-container.embedded .service-info h3 {
    font-size: 1rem;
    margin: 0 0 3px 0;
    color: #222728;
    font-weight: 600;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.2;
}

.booking-wizard-container.embedded .service-info .text-sm {
    font-size: 0.8rem;
    color: #64748b;
    margin: 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2rem;
}

.wizard-specialists-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.wizard-specialist-tag {
    font-size: 0.62rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: 1px solid #e2e8f0;
}

.booking-wizard-container.embedded .service-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #022F40;
    margin-top: 0;
    margin-left: auto;
    flex-shrink: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding-left: 8px;
    border-left: none;
}

.booking-wizard-container.embedded .service-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
}

.booking-wizard-container.embedded .service-arrow svg {
    width: 16px;
    height: 16px;
}

.booking-wizard-container.embedded .service-card.active .service-arrow {
    color: #022F40;
}

/* Dentist grid in embedded mode */
.booking-wizard-container.embedded .dentist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    width: 100%;
}

.booking-wizard-container.embedded .dentist-card {
    padding: 16px 10px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.booking-wizard-container.embedded .dentist-card:hover {
    border-color: #63869F;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.booking-wizard-container.embedded .dentist-card.active {
    border-color: #022F40;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    box-shadow: 0 4px 16px rgba(2, 47, 64, 0.15);
}

.booking-wizard-container.embedded .dentist-avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.booking-wizard-container.embedded .dentist-card h4 {
    font-size: 0.95rem;
    margin: 0 0 4px 0;
    color: #222728;
    font-weight: 600;
}

.booking-wizard-container.embedded.confirmation-mode {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    /* Ensure rows adapt to content */
    /* Single column */
    width: 100%;
    margin: 0 auto;
}

.booking-wizard-container.embedded.confirmation-mode .wizard-info-sidebar,
.booking-wizard-container.embedded.confirmation-mode .wizard-summary-wrapper {
    display: none !important;
}

.booking-wizard-container.embedded.confirmation-mode .wizard-content-wrapper {
    border: none;
    padding: 0;
}

/* Success mode for embedded wizard */
.booking-wizard-container.embedded.success-mode {
    grid-template-columns: 1fr;
    max-width: none;
    height: 100%;
    overflow: auto;
    /* Changed to allow container scroll if necessary */
}

.booking-wizard-container.embedded.success-mode .wizard-info-sidebar,
.booking-wizard-container.embedded.success-mode .wizard-summary-wrapper,
.booking-wizard-container.embedded.step-3-active .wizard-sidebar,
.booking-wizard-container.embedded.step-4-active .wizard-sidebar,
.booking-wizard-container.embedded.step-5-active .wizard-sidebar {
    display: none !important;
}

.booking-wizard-container.embedded.step-3-active .wizard-content,
.booking-wizard-container.embedded.step-4-active .wizard-content,
.booking-wizard-container.embedded.step-5-active .wizard-content {
    width: 100% !important;
    max-width: 100% !important;
    border-right: none !important;
}

.booking-wizard-container.embedded.success-mode .wizard-content-wrapper {
    border: none;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.booking-wizard-container.embedded.success-mode .wizard-step-content {
    overflow-y: auto !important;
    /* Changed to allow success content scroll */
    width: 100%;
    max-height: 100% !important;
    padding: 0;
}

/* Calendar adjustments */
.booking-wizard-container.embedded .datetime-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.booking-wizard-container.embedded .calendar-wrapper {
    min-width: auto;
    width: 100%;
}

.booking-wizard-container.embedded .custom-calendar {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.booking-wizard-container.embedded .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.booking-wizard-container.embedded .calendar-title {
    font-weight: 700;
    font-size: 1rem;
    color: #222728;
    margin: 0;
}

.booking-wizard-container.embedded .calendar-nav-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    color: #222728;
}

.booking-wizard-container.embedded .calendar-nav-btn:hover {
    background: #022F40;
    border-color: #022F40;
    color: white;
}

.booking-wizard-container.embedded .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-top: 10px;
}

.booking-wizard-container.embedded .calendar-day-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
    padding: 4px 0;
    text-transform: uppercase;
}

.booking-wizard-container.embedded .calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
    color: #334155;
    position: relative;
    z-index: 1;
}

.booking-wizard-container.embedded .calendar-day:hover:not(.disabled):not(.empty) {
    background: #f1f5f9;
}

.booking-wizard-container.embedded .calendar-day.active {
    background: #022F40 !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(2, 47, 64, 0.25);
}

.booking-wizard-container.embedded .calendar-day.today {
    border: 2px solid #022F40;
    font-weight: 600;
    color: #022F40;
}

.booking-wizard-container.embedded .calendar-day.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

.booking-wizard-container.embedded .calendar-day.empty {
    cursor: default;
}

.booking-wizard-container.embedded .slots-wrapper {
    min-width: auto;
    width: 100%;
    scroll-margin-top: 20px;
}

.booking-wizard-container.embedded .slots-header {
    margin-bottom: 12px;
    padding: 8px;
    text-align: center;
    color: #222728;
}

.booking-wizard-container.embedded .slots-wrapper h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #222728;
    font-weight: 700;
    text-align: center;
}

.booking-wizard-container.embedded .slots-instruction {
    grid-column: 1 / -1;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.slots-instruction svg {
    animation: bounce 1s ease-in-out infinite;
}

/* Animación cuando se cargan los horarios */
.slots-container.slots-loaded {
    animation: highlight 2s ease-in-out;
}

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

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

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(251, 191, 36, 0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}

@keyframes highlight {
    0% {
        background: transparent;
    }

    50% {
        background: rgba(251, 191, 36, 0.1);
    }

    100% {
        background: transparent;
    }
}

.booking-wizard-container.embedded .slots-container.modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    justify-content: center;
    max-height: none;
    overflow-y: visible;
    padding: 4px;
    width: 100%;
}

.booking-wizard-container.embedded .time-slot {
    padding: 10px 4px;
    /* Slightly compact */
    font-size: 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    color: #222728;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
}

.booking-wizard-container.embedded .time-slot:hover {
    border-color: #022F40;
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.booking-wizard-container.embedded .time-slot.active {
    background: #022F40;
    /* Use primary color instead of success */
    border-color: #022F40;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(2, 47, 64, 0.3);
}

/* Payment Options */
.booking-wizard-container.embedded .payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns */
    gap: 12px;
    width: 100%;
}

.booking-wizard-container.embedded .payment-card {
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.booking-wizard-container.embedded .payment-card:hover {
    border-color: #022F40;
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.booking-wizard-container.embedded .payment-card.active {
    border-color: #022F40;
    background: #f0f9ff;
    box-shadow: 0 0 0 2px rgba(2, 47, 64, 0.2);
}

.booking-wizard-container.embedded .payment-icon {
    font-size: 2rem;
    margin-bottom: 4px;
    line-height: 1;
}

.booking-wizard-container.embedded .payment-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222728;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Confirmation Styles */
.booking-wizard-container.embedded .confirmation-container {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    max-width: 100% !important;
    margin: 0 auto;
    overflow: visible;
    font-size: 0.95rem;
}

.booking-wizard-container.embedded .confirmation-item {
    padding: 8px 0;
    /* Compact padding */
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-wizard-container.embedded .confirmation-item:last-of-type {
    border-bottom: none;
}

.booking-wizard-container.embedded .confirmation-label {
    font-weight: 600;
    color: #64748b;
    font-size: 0.85rem;
    /* Smaller label */
}

.booking-wizard-container.embedded .confirmation-value {
    font-weight: 600;
    color: #222728;
    font-size: 0.95rem;
    /* Smaller value */
    text-align: right;
    /* Ensure right alignment */
}

.booking-wizard-container.embedded .confirmation-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 10px 0;
    /* Reduced margin */
}

.booking-wizard-container.embedded .confirmation-price-box {
    margin-top: 12px;
    /* Reduced margin */
    padding: 12px;
    /* Reduced padding */
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #022F40;
    border-radius: 8px;
    text-align: center;
}

.booking-wizard-container.embedded .confirmation-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #022F40;
}

/* Success/Final Styles */
.booking-wizard-container.embedded .success-container {
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.booking-wizard-container.embedded .success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.3);
}

.booking-wizard-container.embedded .success-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222728;
    margin: 0 0 8px 0;
}

.booking-wizard-container.embedded .success-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 24px 0;
}

.booking-wizard-container.embedded .appointment-details {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    text-align: left;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.booking-wizard-container.embedded .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.booking-wizard-container.embedded .detail-row:last-child {
    border-bottom: none;
}

.booking-wizard-container.embedded .detail-label {
    color: #64748b;
    font-weight: 500;
}

.booking-wizard-container.embedded .detail-value {
    color: #222728;
    font-weight: 600;
}

.booking-wizard-container.embedded .detail-divider {
    height: 2px;
    background: #e2e8f0;
    margin: 16px 0;
}

.booking-wizard-container.embedded .success-message {
    background: #f0fdf4;
    border-left: 4px solid #2ecc71;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.booking-wizard-container.embedded .success-message p {
    margin: 8px 0;
    color: #15803d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.booking-wizard-container.embedded .success-message p:first-child {
    margin-top: 0;
}

/* --- Final Professional UX/UI Polish (All Wizard Steps) --- */
.booking-wizard-container.embedded.wizard-minimal {
    gap: 20px;
}

.booking-wizard-container.embedded.wizard-minimal .wizard-content-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.booking-wizard-container.embedded.wizard-minimal .wizard-step-content {
    padding: 26px 28px;
}

.booking-wizard-container.embedded.wizard-minimal .wizard-header {
    text-align: left;
    margin-bottom: 18px;
}

.booking-wizard-container.embedded.wizard-minimal .wizard-header h2 {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.booking-wizard-container.embedded.wizard-minimal .wizard-header p {
    font-size: 0.98rem;
    color: #64748b;
}

.booking-wizard-container.embedded.wizard-minimal .wizard-actions {
    padding: 14px 20px 16px;
    border-top: 1px solid #e2e8f0;
    background: #fcfdff;
    justify-content: flex-end;
    gap: 12px;
}

.booking-wizard-container.embedded.wizard-minimal .btn-back,
.booking-wizard-container.embedded.wizard-minimal .btn-next {
    min-height: 46px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.booking-wizard-container.embedded.wizard-minimal .btn-back {
    min-width: 110px;
    padding: 0 18px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
}

.booking-wizard-container.embedded.wizard-minimal .btn-next {
    min-width: 170px;
    max-width: none;
    margin-left: 0;
    padding: 0 24px;
}

.booking-wizard-container.embedded.wizard-minimal .form-container {
    gap: 14px;
}

.booking-wizard-container.embedded.wizard-minimal .form-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: block;
}

.booking-wizard-container.embedded.wizard-minimal .form-control {
    min-height: 52px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
    background-color: #ffffff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.booking-wizard-container.embedded.wizard-minimal .form-control:focus {
    outline: none;
    border-color: #022F40;
    box-shadow: 0 0 0 4px rgba(2, 47, 64, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: #f8fafc;
}

.booking-wizard-container.embedded.wizard-minimal .form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.booking-wizard-container.embedded.wizard-minimal .services-list {
    gap: 12px;
}

.booking-wizard-container.embedded.wizard-minimal .service-card {
    border-radius: 12px;
    border-color: #dce5ef;
    padding: 14px 14px;
    align-items: center;
}

.booking-wizard-container.embedded.wizard-minimal .service-info h3 {
    font-size: 1.02rem;
}

.booking-wizard-container.embedded.wizard-minimal .service-info .text-sm {
    font-size: 0.88rem;
    line-height: 1.35;
}

.booking-wizard-container.embedded.wizard-minimal .service-price {
    font-size: 0.92rem;
    color: #0f4b63;
    background: #f0f7fa;
    border: 1px solid #d7e7ef;
    border-radius: 999px;
    padding: 4px 10px;
}

.booking-wizard-container.embedded.wizard-minimal .dentist-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.booking-wizard-container.embedded.wizard-minimal .dentist-card {
    border: 1px solid #d9e4ee;
    border-radius: 12px;
    padding: 16px 12px;
    box-shadow: none;
}

.booking-wizard-container.embedded.wizard-minimal .dentist-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(2, 47, 64, 0.08);
}

.booking-wizard-container.embedded.wizard-minimal .dentist-card.active {
    background: #f7fbfd;
    border-color: #0f4b63;
    box-shadow: 0 0 0 2px rgba(15, 75, 99, 0.14);
}

.booking-wizard-container.embedded.wizard-minimal .step-4-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.booking-wizard-container.embedded.wizard-minimal .step-4-header-row .wizard-header {
    margin: 0;
    padding: 0;
    border: none;
}

/* Compact Clock in Header */
.timezone-notice-compact {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.timezone-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timezone-text {
    display: flex;
    flex-direction: column;
}

.tz-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 2px;
}

.live-clock-minimal {
    font-family: 'JetBrains Mono', 'Monaco', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #022F40;
    line-height: 1;
}

/* Grid V2: Calendar & Slots 50/50 */
.datetime-container-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
}

/* Step 4 & 5 Simplified State (Hide Bottom Summary) */
.step-4-active #wizard-summary-inline,
.step-5-active #wizard-summary-inline,
.step-5-active .wizard-summary-bottom {
    display: none !important;
}

/* Professional Form Layout (Step 5) */
.form-grid-professional {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 900px;
    margin: 24px auto 0;
}

.form-grid-professional .form-group.full-width {
    grid-column: span 2;
}

.input-with-icon-premium {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon-premium .input-icon-wrapper {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    pointer-events: none;
    transition: color 0.2s;
}

.input-with-icon-premium .form-control {
    padding-left: 48px !important;
}

.input-with-icon-premium .form-control:focus + .input-icon-wrapper {
    color: #022F40;
}

@media (max-width: 768px) {
    .form-grid-professional {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .form-grid-professional .form-group.full-width {
        grid-column: span 1;
    }
}

/* Demo Button Upgrade */
.btn-demo-utility {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-demo-utility:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Form Container Premium (Step 5) */
.form-container-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.form-container-premium .form-group.full-width {
    grid-column: span 2;
}

/* Quick View Review Button & Popover */
.quick-view-wrapper {
    position: absolute;
    bottom: 25px;
    right: 30px;
    z-index: 100;
}

.btn-quick-view {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-quick-view:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.quick-view-popover {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    width: 320px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 100;
}

.quick-view-footer-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.quick-view-popover.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: all;
}

/* Summary Grid inside Popover/Sidebar */
.summary-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.summary-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.summary-value {
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 600;
}

.cost-breakdown {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed #f1f5f9;
}

.total-price {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: #0f172a;
    font-size: 1rem;
}

.slots-wrapper {
    padding-bottom: 40px;
    /* Space for quick view button */
}

/* Bottom Summary */
.wizard-summary-bottom {
    background: #ffffff;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.wizard-summary-bottom .summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns for full width bottom view */
    gap: 20px;
}

.wizard-summary-bottom .summary-item {
    padding: 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}

.wizard-summary-bottom .cost-breakdown {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #f1f5f9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
}

.booking-wizard-container.embedded.wizard-minimal .datetime-container {
    max-width: none;
    grid-template-columns: 1fr 1fr;
    /* Perfect 50/50 split */
    gap: 32px;
    align-items: start;
}

/* Premium Confirmation Grid */
.confirmation-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    /* Adaptive column layout */
    gap: 16px;
    /* Reduced from 24px */
    margin-bottom: 20px;
    /* Reduced from 32px */
}

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

.conf-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Reduced gap */
    color: #022F40;
    font-weight: 700;
    font-size: 1.05rem;
    /* Reduced font size */
    margin-bottom: 6px;
    /* Reduced margin */
    padding-bottom: 8px;
    /* Reduced padding */
    border-bottom: 2px solid #f1f5f9;
}

.conf-section-title svg {
    color: #3b82f6;
}

.conf-footer-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.btn-back-inline-premium {
    background: #f8fafc;
    color: #475569;
    padding: 14px 28px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-back-inline-premium:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-confirm-inline-premium {
    background: linear-gradient(135deg, #022F40 0%, #083c52 100%);
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(2, 47, 64, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-confirm-inline-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(2, 47, 64, 0.45);
    background: linear-gradient(135deg, #083c52 0%, #022F40 100%);
}

/* Ensure the main Step 4 area has no internal fixed-proportions grid that conflicts with V2 */
.booking-wizard-container.embedded.step-4-active .datetime-container {
    display: none !important;
    /* Obsolete in V2 */
}

/* Ensure Slots and Summary in the right column are well spaced */
.booking-wizard-container.embedded.wizard-minimal .slots-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 20px;
    /* Ensure no overlap with footer */
}

.booking-wizard-container.embedded.wizard-minimal .wizard-summary-inline {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.booking-wizard-container.embedded.wizard-minimal .wizard-summary-inline .summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.booking-wizard-container.embedded.wizard-minimal .wizard-summary-inline .summary-item {
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
}

.booking-wizard-container.embedded.wizard-minimal .wizard-summary-inline .cost-breakdown {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px dashed #f1f5f9;
}

.booking-wizard-container.embedded.wizard-minimal .calendar-wrapper,
.booking-wizard-container.embedded.wizard-minimal .slots-wrapper {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.booking-wizard-container.embedded.wizard-minimal .custom-calendar {
    border: none;
    box-shadow: none;
    padding: 0;
}

.booking-wizard-container.embedded.wizard-minimal .calendar-day {
    min-height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.booking-wizard-container.embedded.step-4-active.show-summary {
    grid-template-columns: 280px 1fr;
    /* Info Sidebar | Content Area */
}

/* Ensure the grid inside Step 4 is perfectly balanced 50/50 */
.booking-wizard-container.embedded.step-4-active .datetime-container {
    grid-template-columns: 1fr 1fr !important;
}

.booking-wizard-container.embedded.wizard-minimal .slots-container.modern {
    grid-template-columns: repeat(3, 1fr) !important;
    /* Forces exactly 3 columns as requested */
    gap: 12px;
}

.booking-wizard-container.embedded.wizard-minimal .time-slot {
    min-height: 40px;
    padding: 8px 4px;
    border-radius: 9px;
    font-size: 0.86rem;
}

.booking-wizard-container.embedded.wizard-minimal .payment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.booking-wizard-container.embedded.wizard-minimal .payment-card {
    min-height: 110px;
    border: 1px solid #d7e1eb;
    border-radius: 12px;
    align-items: flex-start;
    text-align: left;
    padding: 16px;
}

.booking-wizard-container.embedded.wizard-minimal .payment-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 6px;
}

.booking-wizard-container.embedded.wizard-minimal .confirmation-container {
    border-radius: 12px;
    border: 1px solid #dce5ef;
    padding: 16px;
    /* Reduced padding from 24px */
    max-width: 900px;
    margin: 0 auto;
}

.booking-wizard-container.embedded.wizard-minimal .confirmation-item {
    padding: 10px 0;
}

.booking-wizard-container.embedded.wizard-minimal .confirmation-total {
    font-size: 1.4rem;
}

.booking-wizard-container.embedded.wizard-minimal .success-container {
    padding: 8px 8px 16px;
}

.booking-wizard-container.embedded.wizard-minimal .success-title {
    font-size: 1.6rem;
    letter-spacing: -0.015em;
}

.booking-wizard-container.embedded.wizard-minimal .appointment-details {
    border: 1px solid #dce5ef;
    border-radius: 12px;
    padding: 24px;
    max-height: none;
    overflow: visible;
}

.booking-wizard-container.embedded.wizard-minimal .wizard-summary-wrapper {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fbfdff;
    padding: 18px;
}

.booking-wizard-container.embedded.wizard-minimal .summary-title {
    font-size: 1rem;
    margin-bottom: 12px;
}

.booking-wizard-container.embedded.wizard-minimal .summary-item {
    border-radius: 10px;
    padding: 10px;
    gap: 10px;
    align-items: flex-start;
}

.booking-wizard-container.embedded.wizard-minimal .summary-label {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-align: left;
}

.booking-wizard-container.embedded.wizard-minimal .summary-value {
    font-size: 0.88rem;
    line-height: 1.3;
    word-break: break-word;
}

.booking-wizard-container.embedded.wizard-minimal .step5-aux-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 2px;
}

.booking-wizard-container.embedded.wizard-minimal .btn-demo {
    width: auto;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    background: #022F40 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(2, 47, 64, 0.2);
}

.booking-wizard-container.embedded.wizard-minimal .btn-demo .wizard-regular-icon {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.booking-wizard-container.embedded.wizard-minimal .step5-or-row {
    margin: 6px 0 2px;
}

.booking-wizard-container.embedded.wizard-minimal .step5-or-row p {
    margin: 0;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
}

.booking-wizard-container.embedded.wizard-minimal .step5-social-row {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

.booking-wizard-container.embedded.wizard-minimal .payment-icon {
    color: #022F40 !important;
}

.booking-wizard-container.embedded.wizard-minimal .payment-card.active .payment-icon {
    color: #0f4b63 !important;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 20px 12px;
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .booking-widget {
        padding: 24px;
        height: auto;
        min-height: 500px;
        max-height: 85vh;
    }

    .booking-wizard-container.embedded .wizard-step-content {
        min-height: 350px;
        max-height: 450px;
    }

    .booking-wizard-container.embedded .form-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-wizard-container.embedded .summary-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-wizard-container.embedded .payment-options {
        grid-template-columns: 1fr;
    }

    .booking-wizard-container.embedded .confirmation-container {
        padding: 16px;
        max-height: 400px;
    }

    .booking-wizard-container.embedded .detail-row {
        flex-direction: column;
        gap: 4px;
    }

    .booking-wizard-container.embedded .appointment-details {
        padding: 16px;
        max-height: 350px;
    }

    .booking-wizard-container.embedded.success-mode .appointment-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .colombia-clock-badge {
        padding: 4px 10px;
    }

    .colombia-clock-badge .clock-label {
        display: none;
    }
}

/* Dynamic Field Animation */
.dynamic-fade-in {
    animation: fieldFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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


/* STYLES MIGRATED FROM WIZARD.BLADE.PHP FOR LANDING PAGE */
body { font-family: 'Outfit', sans-serif !important; overflow-x: hidden !important; }
.premium-data-row { display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 20px !important; padding: 10px 0 !important; }
.data-label { font-size: 0.75rem !important; flex-shrink: 0 !important; }
.data-value { font-size: 0.85rem !important; text-align: right !important; word-break: break-all !important; font-weight: 700 !important; color: #1e293b !important; }
.services-list, .dentist-grid { display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; width: 100% !important; max-width: 100% !important; padding: 0 !important; }
.datetime-container-compact { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 32px !important; align-items: start !important; margin-top: 20px !important; width: 100% !important; }
@media (max-width: 768px) { .datetime-container-compact { grid-template-columns: 1fr !important; gap: 20px !important; } }
.calendar-grid { display: grid !important; grid-template-columns: repeat(7, 1fr) !important; gap: 4px !important; width: 100% !important; margin-top: 10px !important; }
.calendar-day { display: flex !important; align-items: center !important; justify-content: center !important; min-height: 40px !important; font-weight: 500 !important; }
.calendar-day.active { background: #022F40 !important; color: #ffffff !important; border-radius: 8px !important; font-weight: 700 !important; height: 40px !important; max-height: 40px !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: visible !important; box-shadow: 0 4px 12px rgba(2, 47, 64, 0.25) !important; }
.calendar-day.disabled { opacity: 0.3 !important; cursor: not-allowed !important; }
.calendar-day.active.today { color: #ffffff !important; border-color: #ffffff !important; }
.service-card, .dentist-card { display: flex !important; width: 100% !important; max-width: 100% !important; flex: 0 0 auto !important; margin: 0 0 10px 0 !important; box-sizing: border-box !important; padding: 10px 16px !important; border-radius: 14px !important; }
.wizard-header h2 { font-size: 1.25rem !important; margin-bottom: 5px !important; }
.wizard-header p { font-size: 0.85rem !important; }
.service-info h3, .dentist-card h4 { font-size: 0.95rem !important; }
.price-value { font-size: 1.15rem !important; }
.service-info .text-light { font-size: 0.8rem !important; }
.summary-label { font-size: 0.65rem !important; }
.summary-value { font-size: 0.85rem !important; }
.total-price-box .price-value { font-size: 1.8rem !important; }
.btn-next { font-size: 0.95rem !important; padding: 10px 25px !important; }
.wizard-content { overflow-x: hidden !important; }
.booking-wizard-container { width: 100% !important; max-width: 1000px !important; }

/* FORCE ICON SIZES TO PREVENT 0x0 COLLAPSE */
.input-with-icon-premium .input-icon-wrapper svg {
    width: 18px !important;
    height: 18px !important;
}

/* COMPREHENSIVE MOBILE RESPONSIVE FIXES FOR WIZARD / LANDING PAGE */
@media (max-width: 768px) {
    .booking-wizard-container.embedded,
    .booking-wizard-container.embedded.show-summary,
    .booking-wizard-container.embedded.step-3-active.show-summary,
    .booking-wizard-container.embedded.step-4-active.show-summary,
    .booking-wizard-container.embedded.step-5-active.show-summary {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
    }

    /* Hide the left intro sidebar on mobile to save space */
    .booking-wizard-container.embedded .wizard-info-sidebar {
        display: none !important;
    }

    /* Allow wizard content to take full width and wrap properly */
    .booking-wizard-container.embedded .wizard-content-wrapper {
        border-right: none !important;
        padding-right: 0 !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Remove fixed height limits so content can stack */
    .booking-widget {
        max-height: none !important;
        height: auto !important;
    }

    .booking-wizard-container.embedded .wizard-step-content {
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Make sure services list fits */
    .services-list {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Stack calendar and slots */
    .datetime-container-compact {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* Calendar mobile fix */
    .calendar-grid {
        gap: 2px !important;
    }
    
    .calendar-day {
        min-height: 35px !important;
        font-size: 0.8rem !important;
    }

    .calendar-day.active {
        height: 35px !important;
        max-height: 35px !important;
    }
}

/* SERVICE CARD RESPONSIVE FIXES (Replaced Inline Styles) */
.service-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 8px !important;
    padding: 12px 18px !important;
}

.service-card .service-img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover !important;
    object-position: center !important;
    flex-shrink: 0;
    display: block;
}

.service-card .service-name-text {
    font-size: 1rem !important;
    margin: 0 !important;
    color: #022F40;
}

.service-card .service-desc-text {
    font-size: 0.8rem !important;
    margin: 2px 0 0 0 !important;
    color: #64748b;
}

.service-card .service-price-wrap {
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.service-card .price-value {
    font-size: 1.15rem !important;
    font-weight: 700;
    color: #0d8de0;
}

.service-card .price-label {
    font-size: 0.7rem !important;
    color: #94a3b8;
}

@media (max-width: 480px) {
    .service-card {
        padding: 14px 20px !important;
    }
    
    .service-card .service-name-text {
        font-size: 0.9rem !important;
    }
    
    .service-card .service-desc-text {
        font-size: 0.75rem !important;
    }
    
    .service-card .price-value {
        font-size: 1rem !important;
    }

    .service-card .service-price-wrap {
        min-width: 80px;
    }
}

/* MOBILE FOOTER ACTIONS FIX */
@media (max-width: 500px) {
    .booking-wizard-container.embedded .wizard-actions {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }
    
    .booking-wizard-container.embedded .wizard-actions > div {
        width: auto !important;
        flex: 0 0 auto !important;
    }
    
    .btn-back, .btn-quick-view {
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    .btn-back .btn-text, .btn-quick-view .btn-text {
        display: none !important;
    }

    .btn-back .btn-icon, .btn-quick-view .btn-icon {
        margin: 0 !important;
        width: 20px;
        height: 20px;
    }
    
    .btn-next {
        flex: 1 !important;
        width: auto !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 16px !important;
    }
    
    .quick-view-footer-wrapper {
        width: auto !important;
        flex-shrink: 0 !important;
    }

    .quick-view-popover {
        right: auto !important;
        left: -56px !important;
        width: 290px !important;
        transform: translateY(10px) scale(0.95) !important;
    }
    
    .quick-view-popover.active {
        transform: translateY(0) scale(1) !important;
    }
}

/* STEP 7: FINISH YOUR BOOKING PREMIUM STYLES */
.premium-title {
    font-size: 1.6rem;
    color: #022F40;
    margin-bottom: 8px;
    font-weight: 700;
}

.premium-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 24px;
}

.premium-confirmation-wrapper {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.premium-conf-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.premium-conf-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
}

.premium-conf-card .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.premium-conf-card .card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 600;
}

.card-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon-circle svg { width: 22px; height: 22px; stroke: currentColor; }

/* Icon Colors */
.card-icon-circle.blue { background: #e0f2fe; color: #0284c7; }
.card-icon-circle.green { background: #dcfce7; color: #16a34a; }
.card-icon-circle.purple { background: #f3e8ff; color: #9333ea; }
.card-icon-circle.orange { background: #ffedd5; color: #ea580c; }

.card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.premium-data-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.data-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    min-width: 100px;
}

.data-value {
    font-size: 0.95rem;
    color: #334155;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.data-value.highlight {
    color: #0d8de0;
    font-weight: 700;
}

.premium-total-card {
    background: #022F40 !important;
    color: white;
}

.premium-total-card .card-header h3,
.premium-total-card .data-label,
.premium-total-card .data-value {
    color: white;
}

.premium-total-card .data-value.highlight {
    color: #38bdf8;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .premium-confirmation-wrapper {
        padding: 16px;
    }
    
    .premium-conf-card {
        padding: 16px;
    }
    
    .premium-data-row {
        flex-direction: row;
        align-items: center;
    }
    
    .data-label { font-size: 0.8rem; }
    .data-value { font-size: 0.85rem; }
}

@media (max-width: 400px) {
    .premium-data-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .data-value {
        text-align: left;
    }
}

/* UNIVERSAL BOX SIZING FIX */
html, body { width: 100%; overflow-x: hidden !important; }
*, *::before, *::after { box-sizing: border-box !important; }

/* ROBUST FLEX LAYOUT FOR SERVICE CARDS */
.service-card {
    display: flex !important;
    align-items: center !important;
}

.service-card .service-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-right: 12px !important;
}

.service-card .service-name-text, 
.service-card .service-desc-text {
    white-space: normal !important;
    word-break: break-word !important;
}

.service-card .service-price-wrap {
    flex: 0 0 auto !important;
    min-width: 85px !important;
    margin-left: auto !important;
}

@media (max-width: 480px) {
    .service-card .service-price-wrap {
        min-width: 75px !important;
    }
}

/* CRITICAL FIX FOR SERVICE INFO TEXT DIRECTION */
.booking-wizard-container.embedded .service-info {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 4px;
}

.service-card .service-name-text, 
.service-card .service-desc-text {
    word-break: normal !important; /* Remove harsh break-word */
    overflow-wrap: break-word !important;
}

/* MAXIMIZE WIDTH SETTINGS FOR MOBILE */
@media (max-width: 768px) {
    .hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .booking-widget {
        padding: 16px 10px !important;
        border-radius: 0 !important; /* Edge to edge feeling */
        width: 100% !important;
        max-width: 100vw !important;
    }

    .booking-wizard-container.embedded .wizard-content-wrapper {
        padding: 0 4px !important;
    }
}

/* Flow Selection Step 0 */
.booking-wizard-container.embedded.step-0-active {
    grid-template-columns: 1fr !important;
}

.booking-wizard-container.embedded.step-0-active .wizard-info-sidebar {
    display: none !important;
}

/* Flow Selection Step 0 - Premium Redesign */
.booking-wizard-container.embedded.step-0-active {
    grid-template-columns: 1fr !important;
}

.booking-wizard-container.embedded.step-0-active .wizard-info-sidebar {
    display: none !important;
}

/* Header Upscale & Center */
.hero-header-step0 {
    text-align: center !important;
    padding: 20px 0 0px 0;
    margin-bottom: 0px !important;
    animation: fadeInDownPremium 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

.hero-step-title {
    font-size: 2.8rem !important;
    font-weight: 900 !important;
    color: #022F40 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.1 !important;
    margin-bottom: 12px !important;
    font-family: 'Inter', sans-serif;
    text-transform: capitalize;
}

.hero-step-subtitle {
    font-size: 1.15rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    max-width: 600px;
    margin: 0 auto !important;
    letter-spacing: 0.01em;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Staggered Entrance Animation */
.animate-stagger {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpPremium 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--delay) * 0.12s);
}

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

.flow-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 28px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    min-height: 280px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    z-index: 1;
}

/* Accent Gradients & Glows */
.flow-card.card-personal { --accent: #0ea5e9; --accent-light: rgba(14, 165, 233, 0.1); }
.flow-card.card-virtual { --accent: #6366f1; --accent-light: rgba(99, 102, 241, 0.1); }
.flow-card.card-assessment { --accent: #10b981; --accent-light: rgba(16, 185, 129, 0.1); }

.flow-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.flow-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 0 20px var(--accent-light);
}

.flow-card:hover::before {
    opacity: 1;
}

/* Glass Shine Effect */
.flow-card::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 50%;
    height: 300%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.flow-card:hover::after {
    left: 150%;
}

.flow-icon-container {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #475569;
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.flow-card:hover .flow-icon-container {
    background: white;
    color: var(--accent);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px var(--accent-light);
}

.flow-icon-container svg {
    width: 36px !important;
    height: 36px !important;
    stroke-width: 1.5;
}

.flow-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    font-family: "Inter", sans-serif;
    letter-spacing: -0.025em;
}

.flow-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

/* Dynamic Badge for Free Eval */
.badge-free {
    display: inline-block;
    margin-top: 15px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 900px) {
    .flow-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        gap: 20px;
    }
    
    .flow-card {
        min-height: 200px;
        padding: 30px 20px;
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }
    
    .flow-icon-container {
        margin-bottom: 0;
        width: 64px;
        height: 64px;
    }
    
    .flow-title { font-size: 1.15rem; }
    .flow-desc { font-size: 0.85rem; }
    
    .flow-content-body {
        flex: 1;
    }
}

/* ==========================================================================
   PREMIUM PROCESSING OVERLAY - REFINED
   ========================================================================== */
.wizard-processing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    border-radius: 24px;
    animation: wizardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.processing-loader-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* Elegant Outer Ring */
.processing-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(13, 110, 253, 0.05);
    border-top: 2px solid #0d6efd;
    border-radius: 50%;
    animation: wizardSpin 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Floating Icon Wrapper */
.processing-icon-inner {
    width: 40px;
    height: 40px;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wizardFloat 3s ease-in-out infinite;
    z-index: 2;
}

.processing-icon-inner svg {
    width: 100% !important;
    height: 100% !important;
    stroke-width: 1.5;
}

/* Shimmering Professional Text */
.processing-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #0f172a 0%, #64748b 50%, #0f172a 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 2.5s linear infinite;
}

.processing-subtext {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    max-width: 220px;
    font-weight: 500;
    opacity: 0.8;
}

@keyframes wizardSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes wizardFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

@keyframes textShimmer {
    to { background-position: 200% center; }
}

@keyframes wizardFadeIn {
    from { opacity: 0; backdrop-filter: blur(0px); }
    to { opacity: 1; backdrop-filter: blur(20px); }
}

@keyframes wizardFadeOut {
    from { opacity: 1; backdrop-filter: blur(20px); }
    to { opacity: 0; backdrop-filter: blur(0px); }
}

.wizard-processing-overlay.removing {
    animation: wizardFadeOut 0.4s ease-in forwards;
}

