@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Lato:wght@400;700&display=swap');

/* ── Root variables (overridden inline per widget) ── */
.fbw-wrap {
    --fbw-p:      #CC0000;
    --fbw-dk:     #AA0000;
    --fbw-border: #E2E2E2;
    --fbw-text:   #1A1A1A;
    --fbw-muted:  #888;
    --fbw-bg:     #fff;
    --fbw-ibg:    #F8F8F8;

    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--fbw-bg);
    border-radius: 6px;
    box-shadow: 0 2px 20px rgba(0,0,0,.10);
    position: relative;
    overflow: visible;
    -webkit-font-smoothing: antialiased;
}

/* ── Tabs ── */
.fbw-tabs {
    display: flex;
    border-bottom: 1px solid var(--fbw-border);
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}
.fbw-tabs::-webkit-scrollbar { display: none; }

.fbw-tab {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 14px 20px;
    background: none;
    border: none;
    color: var(--fbw-muted);
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    margin-bottom: -1px;
    white-space: nowrap;
    -webkit-appearance: none;
    touch-action: manipulation;
    transition: color .15s;
}
.fbw-tab:hover  { color: var(--fbw-p); }
.fbw-tab-on     { color: #fff; background: var(--fbw-p); }

/* ── Panels ── */
.fbw-panel      { display: block; }
.fbw-panel-hide { display: none; }

/* ── Body ── */
.fbw-body {
    padding: 22px 22px 26px;
}

/* ── Top row ── */
.fbw-top-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

/* ── Trip buttons ── */
.fbw-trip-group { display: flex; gap: 6px; flex-wrap: wrap; }
.fbw-trip {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 20px;
    border: 1.5px solid var(--fbw-p);
    background: transparent;
    color: var(--fbw-p);
    cursor: pointer;
    -webkit-appearance: none;
    touch-action: manipulation;
    transition: background .15s, color .15s;
    line-height: 1;
}
.fbw-trip:hover, .fbw-trip-on { background: var(--fbw-p); color: #fff; }

/* ── Pills ── */
.fbw-pills { display: flex; gap: 8px; align-items: center; margin-left: auto; }

.fbw-drop { position: relative; }

.fbw-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--fbw-p);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 2px;
    -webkit-appearance: none;
    touch-action: manipulation;
    white-space: nowrap;
}
.fbw-pill:hover { opacity: .75; }
.fbw-chevron { font-size: 16px; line-height: 1; }

.fbw-drop-list {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid var(--fbw-border);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.13);
    list-style: none;
    min-width: 180px;
    overflow: hidden;
}
.fbw-drop-list.fbw-open { display: block; }

.fbw-drop-item {
    font-size: 13px;
    padding: 11px 15px;
    cursor: pointer;
    color: var(--fbw-text);
    touch-action: manipulation;
    transition: background .1s;
}
.fbw-drop-item:hover { background: #f5f5f5; }
.fbw-drop-on { color: var(--fbw-p); font-weight: 700; background: rgba(204,0,0,.05); }

/* ── Fields grid ── */
.fbw-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 180px 180px;
    gap: 10px;
    margin-bottom: 20px;
}

.fbw-field-group { display: flex; flex-direction: column; gap: 5px; }

.fbw-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--fbw-muted);
}

/* ── Inputs ── */
.fbw-input {
    font-family: 'Lato', sans-serif;
    font-size: 16px; /* 16px prevents iOS zoom */
    color: var(--fbw-text);
    background: var(--fbw-ibg);
    border: 1.5px solid var(--fbw-border);
    border-radius: 4px;
    padding: 11px 13px;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s, box-shadow .2s;
    min-height: 44px; /* iOS touch target */
}
.fbw-input::placeholder { color: #BFBFBF; }
.fbw-input:focus {
    border-color: var(--fbw-p);
    box-shadow: 0 0 0 3px rgba(204,0,0,.10);
    background: #fff;
}

/* Date wrapper */
.fbw-date-wrap { position: relative; }
.fbw-date-wrap .fbw-input { padding-right: 38px; cursor: pointer; }
.fbw-date-wrap .fbw-input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0; top: 0;
    width: 40px; height: 100%;
    cursor: pointer;
}
.fbw-cal-ico {
    position: absolute;
    right: 11px; top: 50%;
    transform: translateY(-50%);
    width: 17px; height: 17px;
    color: #BFBFBF;
    pointer-events: none;
}

/* ── Autocomplete ── */
.fbw-ac { position: relative; }

.fbw-ac-spin {
    display: none;
    position: absolute;
    right: 11px; top: 50%;
    transform: translateY(-50%);
    width: 15px; height: 15px;
    border: 2px solid var(--fbw-border);
    border-top-color: var(--fbw-p);
    border-radius: 50%;
    animation: fbw-spin .65s linear infinite;
}
.fbw-loading .fbw-ac-spin { display: block; }

@keyframes fbw-spin { to { transform: translateY(-50%) rotate(360deg); } }

/* green confirmed tick */
.fbw-confirmed .fbw-input {
    border-color: #22AA44;
    background: #F6FFF8;
    padding-right: 38px;
}
.fbw-confirmed::after {
    content: '';
    position: absolute;
    right: 11px; top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2322AA44'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* error shake */
.fbw-error .fbw-input {
    border-color: var(--fbw-p);
    box-shadow: 0 0 0 3px rgba(204,0,0,.12);
    animation: fbw-shake .35s ease;
}
@keyframes fbw-shake {
    0%,100%{transform:translateX(0)} 20%{transform:translateX(-5px)} 40%{transform:translateX(5px)} 60%{transform:translateX(-4px)} 80%{transform:translateX(3px)}
}

/* Dropdown list */
.fbw-ac-list {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: 0; right: 0;
    z-index: 10000;
    background: #fff;
    border: 1px solid var(--fbw-border);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    list-style: none;
    max-height: 260px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.fbw-ac-list.fbw-open { display: block; }
.fbw-ac-list::-webkit-scrollbar { width: 4px; }
.fbw-ac-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Airport item */
.fbw-ac-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    cursor: pointer;
    border-bottom: 1px solid #f3f3f3;
    touch-action: manipulation;
    transition: background .1s;
}
.fbw-ac-item:last-child { border-bottom: none; }
.fbw-ac-item:hover, .fbw-ac-item.fbw-focus { background: #FFF5F5; }

.fbw-ac-flag { font-size: 19px; flex-shrink: 0; width: 24px; text-align: center; }
.fbw-ac-info { flex: 1; min-width: 0; }
.fbw-ac-city {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; font-weight: 700;
    color: var(--fbw-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fbw-ac-name {
    font-size: 11px; color: var(--fbw-muted); margin-top: 1px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fbw-ac-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; font-weight: 800;
    color: var(--fbw-p);
    background: rgba(204,0,0,.08);
    border-radius: 4px;
    padding: 3px 7px;
    flex-shrink: 0;
}
.fbw-ac-msg {
    padding: 13px 15px;
    font-size: 13px;
    color: var(--fbw-muted);
    text-align: center;
}

/* ── Multi-city ── */
.fbw-mc { margin-bottom: 16px; }
.fbw-mc-leg {
    background: #FAFAFA;
    border: 1px solid var(--fbw-border);
    border-radius: 6px;
    padding: 13px 15px;
    margin-bottom: 8px;
}
.fbw-mc-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--fbw-muted);
    display: block; margin-bottom: 9px;
}
.fbw-mc-row {
    display: grid;
    grid-template-columns: 1fr 1fr 170px;
    gap: 10px;
}
.fbw-add-leg {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; font-weight: 700;
    color: var(--fbw-p);
    background: none;
    border: 1.5px dashed var(--fbw-p);
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    -webkit-appearance: none;
    touch-action: manipulation;
    transition: background .15s;
}
.fbw-add-leg:hover { background: rgba(204,0,0,.05); }

/* ── CTA ── */
.fbw-cta { display: flex; justify-content: center; }
.fbw-book {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; font-weight: 800;
    letter-spacing: .13em;
    background: var(--fbw-p);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 14px 48px;
    cursor: pointer;
    -webkit-appearance: none;
    touch-action: manipulation;
    box-shadow: 0 4px 16px rgba(204,0,0,.28);
    transition: background .15s, transform .1s, box-shadow .15s;
    min-height: 44px;
}
.fbw-book:hover {
    background: var(--fbw-dk);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(204,0,0,.32);
}
.fbw-book:active { transform: translateY(0); }

/* ── Insurance body ── */
.fbw-ins-body { text-align: center; padding: 40px; color: var(--fbw-muted); }

/* ── Bottom bar ── */
.fbw-bar { height: 4px; background: linear-gradient(90deg,#CC0000 0%,#FFB300 50%,#00B050 100%); }

/* ── One-way: hide return col ── */
.fbw-fields.fbw-oneway .fbw-return-col { opacity: 0; pointer-events: none; }

/* ════════════════════════════════════
   TRAVELERS DROPDOWN PANEL
════════════════════════════════════ */
.fbw-travelers-wrap {
    position: relative;
}

.fbw-travelers-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 10001;
    background: #fff;
    border: 1px solid var(--fbw-border);
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(0,0,0,.16);
    min-width: 300px;
    padding: 20px 20px 16px;
    animation: fbw-fade-drop .18s ease;
}
.fbw-travelers-panel.fbw-tv-open { display: block; }

@keyframes fbw-fade-drop {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Title */
.fbw-tv-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--fbw-text);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--fbw-border);
}

/* Each traveler row */
.fbw-tv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #F0F0F0;
}
.fbw-tv-row:last-of-type { border-bottom: none; }

.fbw-tv-info { flex: 1; }
.fbw-tv-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--fbw-text);
    display: block;
}
.fbw-tv-desc {
    font-size: 11px;
    color: var(--fbw-muted);
    display: block;
    margin-top: 2px;
}

/* Counter control */
.fbw-tv-counter {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.fbw-tv-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--fbw-border);
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fbw-muted);
    transition: border-color .15s, color .15s, background .15s;
    -webkit-appearance: none;
    touch-action: manipulation;
    padding: 0;
    flex-shrink: 0;
}
.fbw-tv-btn:hover {
    border-color: var(--fbw-p);
    color: var(--fbw-p);
}
.fbw-tv-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.fbw-tv-btn:disabled:hover {
    border-color: var(--fbw-border);
    color: var(--fbw-muted);
}

.fbw-tv-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--fbw-text);
    min-width: 18px;
    text-align: center;
}

/* OK button */
.fbw-tv-ok {
    width: 100%;
    margin-top: 16px;
    background: #2EAA4A;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 13px;
    cursor: pointer;
    -webkit-appearance: none;
    touch-action: manipulation;
    transition: background .15s, transform .1s;
    min-height: 44px;
}
.fbw-tv-ok:hover  { background: #259040; }
.fbw-tv-ok:active { transform: scale(.98); }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 860px) {
    .fbw-fields { grid-template-columns: 1fr 1fr 160px 160px; }
}
@media (max-width: 700px) {
    .fbw-fields { grid-template-columns: 1fr 1fr; }
    .fbw-fields.fbw-oneway .fbw-return-col { display: none; }
    .fbw-mc-row { grid-template-columns: 1fr 1fr; }
    .fbw-mc-row .fbw-field-group:last-child { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
    .fbw-body { padding: 16px 14px 20px; }
    .fbw-top-row { flex-direction: column; align-items: flex-start; }
    .fbw-pills { margin-left: 0; }
    .fbw-fields { grid-template-columns: 1fr; }
    .fbw-fields.fbw-oneway .fbw-return-col { display: none; }
    .fbw-mc-row { grid-template-columns: 1fr; }
    .fbw-mc-row .fbw-field-group:last-child { grid-column: unset; }
    .fbw-book { width: 100%; justify-content: center; }
    .fbw-ac-list { max-height: 210px; }
}
@media (max-width: 360px) {
    .fbw-trip-group { flex-wrap: nowrap; overflow-x: auto; }
    .fbw-trip { flex-shrink: 0; }
}

/* ── iOS safe area ── */
@supports (-webkit-touch-callout: none) {
    .fbw-body {
        padding-left: max(22px, env(safe-area-inset-left));
        padding-right: max(22px, env(safe-area-inset-right));
    }
}

/* ═══════════════════════════════════════
   MOBILE IMPROVEMENTS v3.2
   - Travelers panel as centered modal
   - Full-width stacked card fields
   - Better touch targets
═══════════════════════════════════════ */

/* Travelers backdrop (mobile modal) */
.fbw-tv-backdrop {
    display: none;
}
@media (max-width: 600px) {
    .fbw-tv-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        z-index: 10000;
        animation: fbw-fade-in .18s ease;
    }
    @keyframes fbw-fade-in { from { opacity: 0; } to { opacity: 1; } }

    /* Override panel to be a centered bottom sheet on mobile */
    .fbw-travelers-panel {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10001 !important;
        width: calc(100vw - 32px) !important;
        max-width: 360px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        border-radius: 16px !important;
        box-shadow: 0 24px 60px rgba(0,0,0,.35) !important;
        animation: fbw-panel-pop .2s ease !important;
    }
    @keyframes fbw-panel-pop {
        from { opacity: 0; transform: translate(-50%, -46%); }
        to   { opacity: 1; transform: translate(-50%, -50%); }
    }

    /* Mobile: full-width top row */
    .fbw-top-row {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }
    .fbw-trip-group {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0;
    }
    .fbw-trip {
        border-radius: 0;
        text-align: center;
        flex: 1;
    }
    .fbw-trip:first-child { border-radius: 20px 0 0 20px; }
    .fbw-trip:last-child  { border-radius: 0 20px 20px 0; }

    /* Pills row full width */
    .fbw-pills {
        margin-left: 0 !important;
        width: 100%;
        justify-content: space-between;
        border: 1.5px solid var(--fbw-border);
        border-radius: 8px;
        padding: 6px 10px;
    }
    .fbw-pill { font-size: 13px; }

    /* Fields: single column stacked cards */
    .fbw-fields {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .fbw-fields.fbw-oneway .fbw-return-col { display: none !important; }

    /* Each field as a visible card */
    .fbw-field-group {
        background: var(--fbw-ibg);
        border: 1.5px solid var(--fbw-border);
        border-radius: 8px;
        padding: 10px 12px 8px;
        gap: 3px;
    }
    .fbw-label { font-size: 10px; }
    .fbw-input {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 4px 0 !important;
        font-size: 15px !important;
    }
    .fbw-input:focus { border: none !important; box-shadow: none !important; }

    /* Date icon position fix inside card */
    .fbw-date-wrap .fbw-cal-ico { right: 2px; }
    .fbw-date-wrap .fbw-input { padding-right: 28px !important; }

    /* Autocomplete list full width on mobile */
    .fbw-ac-list {
        left: -12px !important;
        right: -12px !important;
        max-height: 240px;
        border-radius: 0 0 8px 8px;
    }

    /* BOOK button */
    .fbw-book {
        width: 100% !important;
        justify-content: center;
        padding: 16px !important;
        font-size: 14px !important;
    }

    /* Multi-city mobile */
    .fbw-mc-row { grid-template-columns: 1fr !important; }
    .fbw-mc-row .fbw-field-group:last-child { grid-column: auto !important; }

    /* Body padding */
    .fbw-body { padding: 14px 12px 18px !important; }
}

/* Small phone tweaks */
@media (max-width: 380px) {
    .fbw-trip { font-size: 11px; padding: 7px 8px; }
    .fbw-tv-ok { font-size: 13px; }
}

/* ═══════════════════════════════════════
   [fbw_contact_form] SHORTCODE STYLES
   Customer Support / Booking Enquiry Page
═══════════════════════════════════════ */

.fbw-cf-wrap {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.fbw-cf-header { text-align: center; margin-bottom: 32px; }
.fbw-cf-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px; font-weight: 800;
    color: #1a2a3a; margin: 0 0 10px;
}
.fbw-cf-subtitle { font-size: 14px; color: #666; margin: 0; line-height: 1.5; }

/* 3-column body */
.fbw-cf-body {
    display: grid;
    grid-template-columns: 240px 1fr 220px;
    gap: 36px;
    align-items: start;
}

/* Flight summary */
.fbw-cf-summary-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; font-weight: 800;
    color: #1a2a3a; margin: 0 0 12px;
    letter-spacing: .06em;
}
.fbw-cf-rows { border-top: 1px solid #eee; }
.fbw-cf-row {
    display: flex; justify-content: space-between;
    padding: 9px 0; border-bottom: 1px solid #eee;
    font-size: 13px;
}
.fbw-cf-row span:first-child { color: #888; }
.fbw-cf-row span:last-child  { font-weight: 700; color: #1a1a1a; text-align: right; }

/* Form fields */
.fbw-cf-field { margin-bottom: 14px; }
.fbw-cf-label { display: block; font-size: 13px; font-weight: 700; color: #333; margin-bottom: 5px; }
.fbw-cf-req { color: #CC0000; }
.fbw-cf-opt { font-style: italic; color: #888; font-weight: 400; }

.fbw-cf-input {
    width: 100%; box-sizing: border-box;
    border: 1.5px solid #e2e2e2; border-radius: 5px;
    padding: 11px 13px; font-size: 14px; font-family: inherit;
    color: #1a1a1a; background: #fafafa; outline: none;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
}
.fbw-cf-input:focus { border-color: #CC0000; box-shadow: 0 0 0 3px rgba(204,0,0,.10); background: #fff; }

/* Phone row */
.fbw-cf-phone-row {
    display: flex; align-items: stretch;
    border: 1.5px solid #e2e2e2; border-radius: 5px;
    overflow: hidden; background: #fafafa;
    transition: border-color .15s, box-shadow .15s;
}
.fbw-cf-phone-row:focus-within { border-color: #CC0000; box-shadow: 0 0 0 3px rgba(204,0,0,.10); background: #fff; }
.fbw-cf-code {
    padding: 11px 10px; font-size: 13px; color: #444;
    background: #f0f0f0; border-right: 1px solid #e2e2e2;
    white-space: nowrap; display: flex; align-items: center;
}
.fbw-cf-phone { border: none !important; box-shadow: none !important; background: transparent !important; border-radius: 0 !important; flex: 1; }

/* Yes/No */
.fbw-cf-yn-row {
    background: #f8f8f8; border: 1px solid #eee; border-radius: 5px;
    padding: 10px 14px; font-size: 13px; color: #333;
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px;
}
.fbw-cf-yn-group { display: flex; gap: 10px; margin-left: 4px; }
.fbw-cf-yn { color: #888; font-weight: 700; cursor: pointer; font-size: 13px; transition: color .15s; padding: 2px 6px; border-radius: 4px; }
.fbw-cf-yn-active { color: #CC0000; }

/* Textarea */
.fbw-cf-textarea { resize: vertical; min-height: 100px; }

/* Alert */
.fbw-cf-alert {
    background: #fff0f0; border: 1.5px solid #CC0000;
    border-radius: 5px; padding: 12px 16px;
    font-size: 13px; color: #CC0000; margin-bottom: 14px;
}

/* Right column */
.fbw-cf-right { display: flex; flex-direction: column; gap: 14px; }
.fbw-cf-verify-label { font-size: 13px; font-weight: 700; color: #333; margin: 0; }

.fbw-cf-captcha {
    border: 1.5px solid #e2e2e2; border-radius: 5px;
    padding: 14px 16px; display: flex; align-items: center;
    gap: 10px; background: #fafafa; transition: outline .15s;
}
.fbw-cf-captcha-chk { width: 20px; height: 20px; cursor: pointer; accent-color: #CC0000; flex-shrink: 0; }
.fbw-cf-captcha label { font-size: 14px; color: #333; cursor: pointer; user-select: none; }

.fbw-cf-submit {
    width: 100%; background: #CC0000; color: #fff;
    border: none; border-radius: 5px; padding: 14px;
    font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 800;
    letter-spacing: .1em; cursor: pointer; -webkit-appearance: none;
    touch-action: manipulation; transition: background .15s, transform .1s;
    min-height: 48px;
}
.fbw-cf-submit:hover  { background: #aa0000; }
.fbw-cf-submit:active { transform: scale(.98); }
.fbw-cf-submit:disabled { opacity: .6; cursor: not-allowed; }

.fbw-cf-assurance { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.fbw-cf-check { color: #27ae60; font-size: 22px; line-height: 1; }
.fbw-cf-assurance p { font-size: 12px; color: #555; margin: 0; line-height: 1.5; }

.fbw-cf-illo { margin-top: 6px; }
.fbw-cf-illo svg { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 auto; }

/* Success */
.fbw-cf-success {
    display: none; flex-direction: column; align-items: center;
    justify-content: center; text-align: center;
    padding: 60px 20px; gap: 16px;
}
.fbw-cf-success-ico {
    width: 64px; height: 64px; border-radius: 50%;
    background: #27ae60; color: #fff; font-size: 30px;
    display: flex; align-items: center; justify-content: center;
}
.fbw-cf-success h3 { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; color: #1a2a3a; margin: 0; }
.fbw-cf-success p  { font-size: 14px; color: #555; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
    .fbw-cf-body { grid-template-columns: 1fr 1fr; }
    .fbw-cf-summary { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .fbw-cf-body { grid-template-columns: 1fr; gap: 22px; }
    .fbw-cf-title { font-size: 22px; }
    .fbw-cf-right { order: 3; }
}
