.silva-booking-cta { margin: 10px 0; }

.silva-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Legacy button - deprecated, use .silva-booking-btn instead */
.silva-btn { 
    background:#1e73be; 
    color:#fff; 
    padding:10px 14px; 
    border-radius:4px; 
    border:none; 
    cursor:pointer;
}

/* Shared booking button - used by both CRM and Portal systems */
.silva-booking-btn {
    background: #014385;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(1, 67, 133, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
}

.silva-booking-btn:hover {
    background: #012d5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 67, 133, 0.25);
}

.silva-booking-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(1, 67, 133, 0.2);
}

.silva-booking-btn:focus-visible {
    outline: 3px solid rgba(1, 67, 133, 0.4);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .silva-booking-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
}

/* CRM Booking Modal - Namespaced to prevent Portal conflicts */
.silva-crm-booking-modal { 
    position:fixed; 
    left:0; 
    right:0; 
    top:0; 
    bottom:0; 
    background:rgba(0,0,0,0.6); 
    display:none; 
    align-items:center; 
    justify-content:center; 
    z-index:9999999;
    padding: 16px;
}

/* Show modal when open */
.silva-crm-booking-modal.is-open {
    display:flex !important;
    position:fixed !important;
    z-index:9999999 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Body scroll lock */
body.silva-modal-open {
    overflow:hidden !important;
}

/* Success Modal (Booking Confirmation) */
.silva-crm-success-modal,
div.silva-crm-success-modal,
#silva-booking-success.silva-crm-success-modal {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999999 !important;
    padding: 16px !important;
}

.silva-crm-success-modal.is-open,
div.silva-crm-success-modal.is-open,
#silva-booking-success.silva-crm-success-modal.is-open {
    display: flex !important;
}

body.silva-success-open {
    overflow: hidden !important;
}

.silva-crm-success-inner {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 14px;
    padding: 28px 24px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
    position: relative;
}

.silva-crm-success-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 20px;
    cursor: pointer;
}

.silva-crm-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #22c55e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 16px;
}

.silva-crm-success-inner h3 {
    margin: 0 0 12px 0;
    color: #1f2937;
    font-size: 24px;
}

.silva-crm-success-inner p {
    margin: 0 0 16px 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.5;
}

.silva-crm-success-details {
    background: #f3f4f6;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 12px 0 16px;
    text-align: left;
}

.silva-crm-success-label {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 6px;
}

.silva-crm-success-datetime {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.silva-crm-success-ics {
    display: inline-block;
    margin: 6px 0 18px;
    color: #014385;
    text-decoration: none;
    font-weight: 600;
}

.silva-crm-success-home {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 10px;
    background: #014385;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.silva-crm-success-home:hover {
    background: #012d5a;
}

/* Desktop body scroll lock with fixed positioning */
@media screen and (min-width: 769px) {
    body.silva-modal-open {
        position:fixed !important;
        width:100% !important;
    }
}

.silva-crm-booking-modal-inner { 
    background:#fff; 
    padding:24px; 
    width:100%; 
    max-width:440px; 
    border-radius:8px; 
    position:relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.silva-close { 
    position:absolute; 
    right:12px; 
    top:12px; 
    background:transparent; 
    border:none; 
    font-size:28px;
    cursor:pointer;
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#666;
    line-height:1;
}

.silva-close:hover {
    color:#333;
}

.silva-crm-booking-modal h2 {
    margin:0 0 20px 0;
    font-size:22px;
    padding-right:40px;
    color:#333;
}

.silva-crm-booking-modal label { 
    display:block; 
    margin-bottom:14px;
    font-size:14px;
    font-weight:500;
    color:#333;
}

.silva-crm-booking-modal input[type="text"], 
.silva-crm-booking-modal input[type="email"], 
.silva-crm-booking-modal input[type="date"], 
.silva-crm-booking-modal select,
.silva-crm-booking-modal textarea { 
    width:100%; 
    padding:12px; 
    box-sizing:border-box;
    border:1px solid #ddd;
    border-radius:4px;
    font-size:16px;
    margin-top:4px;
    font-family: inherit;
}

.silva-crm-booking-modal input:focus,
.silva-crm-booking-modal select:focus,
.silva-crm-booking-modal textarea:focus {
    outline:none;
    border-color:#1e73be;
    box-shadow:0 0 0 3px rgba(30,115,190,0.1);
}

.silva-crm-booking-modal .silva-submit { 
    width:100%; 
    margin-top:20px; 
    padding:14px;
    font-size:16px;
    font-weight:600;
    background:#1e73be;
    color:#fff;
    border:none;
    border-radius:6px;
    cursor:pointer;
    transition: all 0.2s;
}

.silva-crm-booking-modal .silva-submit:hover {
    background:#155a8a;
    transform:translateY(-1px);
}

/* iOS Safari Viewport Fixes */
@supports (height: 100dvh) {
    .silva-crm-booking-modal {
        height: 100dvh !important;
        max-height: 100dvh !important;
    }
}

/* Enhanced Mobile Modal (Priority: 481px+ for better tablet coverage) */
@media screen and (max-width: 768px) {
    .silva-crm-booking-modal {
        /* Viewport & Positioning */
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        width: 100dvw !important; /* Dynamic viewport for mobile browsers */
        height: 100vh !important;
        height: 100dvh !important; /* Dynamic viewport for mobile browsers */
        max-height: 100vh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 12px !important;
        
        /* iOS Safari Fallback */
        min-height: -webkit-fill-available;
        
        /* Background & Visual */
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        
        /* Performance */
        transform: translateZ(0);
        transform: translate3d(0, 0, 0);
        will-change: opacity, transform;
        -webkit-transform: translateZ(0);
        -webkit-transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        
        /* Interaction */
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: manipulation;
        
        /* Z-index priority */
        z-index: 9999999 !important;
        
        /* Hidden by default */
        display: none !important;
        
        /* Flex centering (ready for when .is-open is added) */
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
    }
    
    /* Ensure modal displays when opened on mobile - Maximum specificity */
    .silva-crm-booking-modal.is-open,
    #silva-crm-booking-modal.is-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999999 !important;
        position: fixed !important;
        inset: 0 !important; /* Ensure it covers full viewport */
    }
    
    .silva-crm-booking-modal-inner {
        /* Sizing */
        width: calc(100vw - 32px) !important;
        max-width: 420px !important;
        min-height: 300px !important;
        height: auto !important;
        max-height: 85vh !important;
        max-height: 85dvh !important;
        margin: auto !important;
        
        /* iOS Safari adaptive height */
        max-height: 90vh !important;
        
        /* Positioning */
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        -webkit-transform: none !important;
        
        /* Visual */
        background: #ffffff !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
        
        /* Scrolling */
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        
        /* Performance */
        will-change: transform, opacity;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        
        /* Padding for content */
        padding: 24px 20px 32px 20px !important;
    }
    
    /* Enhanced Close Button for Mobile */
    .silva-crm-booking-modal .silva-close {
        position: fixed !important;
        top: 16px !important;
        right: 16px !important;
        width: 44px !important;
        height: 44px !important;
        
        /* Visual */
        background: rgba(255, 255, 255, 0.95) !important;
        border: 2px solid rgba(0, 0, 0, 0.1) !important;
        border-radius: 50% !important;
        color: #333 !important;
        font-size: 24px !important;
        line-height: 1 !important;
        
        /* Interaction */
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        pointer-events: auto !important;
        
        /* Accessibility */
        outline: none !important;
        transition: all 0.2s ease !important;
        
        /* Z-index - Above everything */
        z-index: 99999999 !important;
        
        /* Flexbox centering */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .silva-crm-booking-modal .silva-close:hover,
    .silva-crm-booking-modal .silva-close:focus,
    .silva-crm-booking-modal .silva-close:active {
        background: rgba(0, 0, 0, 0.15) !important;
        transform: scale(1.05) !important;
        -webkit-transform: scale(1.05) !important;
    }
    
    /* Content Area Adjustments */
    .silva-crm-booking-modal h2 {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        padding-right: 50px !important;
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    
    /* Form Field Enhancements */
    .silva-crm-booking-modal input[type="text"],
    .silva-crm-booking-modal input[type="email"], 
    .silva-crm-booking-modal input[type="tel"],
    .silva-crm-booking-modal input[type="date"],
    .silva-crm-booking-modal select,
    .silva-crm-booking-modal textarea {
        /* Prevent iOS zoom */
        font-size: 16px !important;
        
        /* Enhanced touch targets */
        min-height: 48px !important;
        padding: 12px 16px !important;
        
        /* Visual */
        border: 2px solid #e0e0e0 !important;
        border-radius: 8px !important;
        
        /* Performance */
        touch-action: manipulation !important;
        -webkit-appearance: none !important;
        
        /* Interaction */
        transition: border-color 0.2s ease !important;
    }
    
    .silva-crm-booking-modal input[type="text"]:focus,
    .silva-crm-booking-modal input[type="email"]:focus,
    .silva-crm-booking-modal input[type="tel"]:focus,
    .silva-crm-booking-modal input[type="date"]:focus,
    .silva-crm-booking-modal select:focus {
        border-color: #1e73be !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.1) !important;
    }
    
    /* Submit Button Enhancement */
    .silva-crm-booking-modal .silva-submit {
        width: 100% !important;
        padding: 16px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        margin-top: 24px !important;
        
        /* Touch */
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent;
        
        /* Performance */
        transform: translateZ(0);
        will-change: transform;
        
        /* Animation */
        transition: all 0.2s ease !important;
    }
    
    .silva-crm-booking-modal .silva-submit:active {
        transform: translateY(1px) !important;
    }
}

/* Extra Small Mobile Devices */
@media screen and (max-width: 480px) {
    .silva-crm-booking-modal {
        padding: 8px !important;
    }
    
    .silva-crm-booking-modal-inner {
        width: calc(100% - 16px) !important;
        max-width: 100% !important;
        margin: auto !important;
        padding: 20px 16px 28px 16px !important;
        border-radius: 8px !important;
        max-height: 90vh !important;
        max-height: 90dvh !important;
    }
    
    .silva-crm-booking-modal h2 {
        font-size: 20px !important;
        margin-bottom: 18px !important;
    }
    
    .silva-crm-booking-modal .silva-close {
        top: 12px !important;
        right: 12px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }
}

/* Landscape Orientation Fix for Mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .silva-crm-booking-modal-inner {
        max-height: 85vh !important;
        overflow-y: auto !important;
    }
    
    .silva-crm-booking-modal h2 {
        font-size: 18px !important;
        margin-bottom: 16px !important;
    }
    
    .silva-crm-booking-modal .form-group {
        margin-bottom: 16px !important;
    }
    
    .silva-crm-booking-modal input[type="text"],
    .silva-crm-booking-modal input[type="email"], 
    .silva-crm-booking-modal input[type="tel"],
    .silva-crm-booking-modal input[type="date"],
    .silva-crm-booking-modal select {
        min-height: 44px !important;
        padding: 10px 14px !important;
    }
    
    .silva-crm-booking-modal .silva-submit {
        padding: 14px !important;
        margin-top: 20px !important;
    }
}

/* Rep (salesperson) profile banner on booking page */
.silva-rep-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #f0f6ff;
    border: 1px solid #c7daf7;
    border-radius: 10px;
    margin-bottom: 24px;
}
.silva-rep-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #014385;
    flex-shrink: 0;
}
.silva-rep-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
.silva-rep-name {
    font-size: 18px;
    font-weight: 700;
    color: #014385;
}

/* ═══════════════════════════════════════════════════════════════════════
   3-Step Booking Form — Elite UX/UI
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Page Wrapper ────────────────────────────────────────────────────── */
.silva-booking-wrap {
    max-width: 680px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(27,42,94,.05), 0 10px 40px rgba(27,42,94,.10);
    padding: 36px 40px 40px;
    border: 1px solid rgba(27,42,94,.08);
}

/* ── Progress Bar ────────────────────────────────────────────────────── */
.silva-progress-bar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 28px;
}

.silva-pb-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 80px;
}

.silva-pb-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #f9fafb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.silva-pb-circle svg {
    width: 20px;
    height: 20px;
    display: block;
}

.silva-pb-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.silva-pb-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin-top: 23px;
    min-width: 24px;
    max-width: 80px;
    transition: background 0.3s ease;
    align-self: auto;
}

/* Active step */
.silva-pb-step.is-active .silva-pb-circle {
    border-color: #1B2A5E;
    background: #1B2A5E;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(27,42,94,.12);
}

.silva-pb-step.is-active .silva-pb-label {
    color: #1B2A5E;
}

/* Completed step */
.silva-pb-step.is-done .silva-pb-circle {
    border-color: #D97824;
    background: #D97824;
    color: #ffffff;
}

.silva-pb-step.is-done .silva-pb-label {
    color: #D97824;
}

.silva-pb-line.is-done {
    background: #D97824;
}

/* Checkmark icon for completed steps */
.silva-pb-step.is-done .silva-pb-circle svg {
    display: none;
}

.silva-pb-step.is-done .silva-pb-circle::after {
    content: '';
    display: block;
    width: 11px;
    height: 7px;
    border-left: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
    transform: rotate(-45deg) translateY(-2px);
}

/* ── Trust Strip ─────────────────────────────────────────────────────── */
.silva-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f0f2f8;
}

.silva-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8f9ff;
    border: 1px solid #e0e5f5;
    border-radius: 100px;
    padding: 5px 12px 5px 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    line-height: 1;
}

.silva-trust-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #1B2A5E;
}

.silva-trust-pill:first-child svg {
    color: #f59e0b;
}

/* ── Step blocks ─────────────────────────────────────────────────────── */
.silva-step {
    margin-bottom: 8px;
}

.silva-step-hidden {
    display: none;
}

@keyframes silva-step-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.silva-step.silva-step-visible {
    animation: silva-step-in 0.32s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

/* Step header row */
.silva-step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.silva-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1B2A5E;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.silva-step .silva-step-header .silva-step-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.silva-chosen-val {
    font-size: 0.875rem;
    font-weight: 600;
    background: #fff3e8;
    color: #D97824;
    border-radius: 100px;
    padding: 3px 12px;
    border: 1px solid #fbd5a5;
}

.silva-step-change {
    background: none;
    border: none;
    color: #1B2A5E;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.65;
    transition: opacity 0.15s;
}

.silva-step-change:hover { opacity: 1; }

/* ── Input icon wrappers ─────────────────────────────────────────────── */
.silva-input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.silva-input-icon {
    position: absolute;
    left: 13px;
    width: 16px;
    height: 16px;
    color: #9ca3af;
    pointer-events: none;
    flex-shrink: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.15s;
    z-index: 1;
}

.silva-textarea-wrap {
    align-items: flex-start;
}

.silva-textarea-icon {
    top: 14px;
    transform: none;
}

/* Focus: icon turns orange */
.silva-input-icon-wrap:focus-within .silva-input-icon {
    color: #D97824;
}

/* ── Form grid ───────────────────────────────────────────────────────── */
.silva-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.silva-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.silva-field-full {
    grid-column: 1 / -1;
    margin-bottom: 4px;
}

.silva-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.01em;
}

.silva-req {
    color: #ef4444;
    margin-left: 2px;
}

.silva-input {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.9375rem;
    color: #111827;
    background: #fafafa;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    font-family: inherit;
    -webkit-appearance: none;
}

.silva-input.has-icon {
    padding-left: 38px;
}

.silva-input:focus {
    outline: none;
    border-color: #D97824;
    box-shadow: 0 0 0 3px rgba(217,120,36,.12);
    background: #fff;
}

.silva-input::placeholder {
    color: #c4c9d4;
}

.silva-textarea {
    resize: vertical;
    min-height: 88px;
}

/* ── SMS Consent Card ────────────────────────────────────────────────── */
.silva-consent-card {
    background: #f0f6ff;
    border: 1px solid #ccdaf6;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
    margin-bottom: 4px;
}

.silva-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.silva-consent-checkbox-wrap {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.silva-consent-checkbox-wrap input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.silva-consent-checkmark {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #93b4e0;
    border-radius: 5px;
    background: #fff;
    transition: all 0.2s ease;
    position: relative;
}

.silva-consent-checkbox-wrap input[type="checkbox"]:checked + .silva-consent-checkmark {
    background: #1B2A5E;
    border-color: #1B2A5E;
}

.silva-consent-checkbox-wrap input[type="checkbox"]:checked + .silva-consent-checkmark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.silva-consent-checkbox-wrap input[type="checkbox"]:focus-visible + .silva-consent-checkmark {
    outline: 3px solid rgba(27,42,94,.35);
    outline-offset: 2px;
}

.silva-consent-text {
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.6;
}

.silva-consent-text a {
    color: #1B2A5E;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.silva-consent-text a:hover {
    color: #D97824;
}

.silva-consent-error {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 8px;
}

/* ── Error banner ────────────────────────────────────────────────────── */
.silva-form-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.875rem;
    margin-bottom: 14px;
    margin-top: 8px;
}

/* ── Submit button ───────────────────────────────────────────────────── */
.silva-submit-btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #1B2A5E 0%, #131E46 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(27,42,94,.35);
    position: relative;
    letter-spacing: 0.01em;
    margin-top: 20px;
}

.silva-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27,42,94,.4);
}

.silva-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(27,42,94,.3);
}

.silva-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.silva-submit-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: silva-spin 0.7s linear infinite;
}

@keyframes silva-spin {
    to { transform: rotate(360deg); }
}

/* ── Calendar card ───────────────────────────────────────────────────── */
.silva-calendar-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 20px 20px;
    box-shadow: 0 2px 16px rgba(27,42,94,.07);
}

/* Month nav */
.silva-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.silva-cal-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #374151;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}

.silva-cal-arrow:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.silva-cal-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.silva-cal-month-label {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}

/* Weekday headers */
.silva-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.silva-cal-weekdays span {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    padding: 4px 0;
    letter-spacing: 0.05em;
}

/* Day grid */
.silva-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.silva-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    background: transparent;
    cursor: default;
    color: #9ca3af;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    min-width: 36px;
    min-height: 36px;
}

.silva-cal-day.silva-day-available {
    color: #111827;
    cursor: pointer;
    font-weight: 600;
}

.silva-cal-day.silva-day-available:hover {
    background: #fff3e8;
    color: #D97824;
}

.silva-cal-day.silva-day-today {
    box-shadow: 0 0 0 2px #D97824;
    color: #D97824;
    font-weight: 700;
}

.silva-cal-day.silva-day-selected {
    background: #D97824 !important;
    color: #fff !important;
    box-shadow: none;
    font-weight: 700;
}

.silva-cal-day.silva-day-filler {
    visibility: hidden;
}

.silva-cal-loading {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    padding: 20px 0 8px;
    animation: silva-pulse 1.5s ease-in-out infinite;
}

@keyframes silva-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

/* ── Time slots ──────────────────────────────────────────────────────── */
.silva-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    padding: 4px 0 8px;
}

.silva-time-slot {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 12px 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    text-align: center;
}

.silva-time-slot:hover {
    border-color: #D97824;
    background: #fff3e8;
    color: #D97824;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(217,120,36,.18);
}

.silva-time-slot.silva-slot-selected {
    border-color: #D97824;
    background: #D97824;
    color: #fff;
    box-shadow: 0 2px 10px rgba(217,120,36,.32);
}

.silva-no-slots {
    color: #6b7280;
    font-size: 0.875rem;
    padding: 8px 0;
}

/* ── Chosen summary ──────────────────────────────────────────────────── */
.silva-chosen-summary {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 14px;
    padding: 14px 16px;
    background: #f8f9ff;
    border-radius: 10px;
    border: 1px solid #e0e5f5;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .silva-booking-wrap {
        padding: 24px 20px 28px;
        border-radius: 16px;
    }

    .silva-form-grid {
        grid-template-columns: 1fr;
    }

    .silva-cal-day {
        min-width: 30px;
        min-height: 30px;
        font-size: 0.8125rem;
    }

    .silva-time-slot {
        padding: 11px 8px;
        font-size: 0.875rem;
    }

    .silva-trust-strip {
        gap: 6px;
    }

    .silva-trust-pill {
        font-size: 0.75rem;
        padding: 4px 10px 4px 7px;
    }

    .silva-pb-step {
        min-width: 60px;
    }

    .silva-pb-circle {
        width: 40px;
        height: 40px;
    }

    .silva-pb-circle svg {
        width: 17px;
        height: 17px;
    }

    .silva-pb-label {
        font-size: 0.6875rem;
    }

    .silva-pb-line {
        margin-top: 19px;
        min-width: 16px;
    }
}

@media (max-width: 400px) {
    .silva-booking-wrap {
        padding: 20px 16px 24px;
        border-radius: 12px;
    }

    .silva-pb-label {
        display: none;
    }

    .silva-pb-step {
        min-width: 44px;
    }
}



