/**
 * GoCabby Online Booking Widget - Frontend Styles
 * Fully namespaced under .gocabby-widget-wrapper to guarantee ZERO CSS collision with WordPress themes.
 */

.gocabby-widget-wrapper {
    --gc-font: inherit;
    --gc-bg: #ffffff;
    --gc-card-bg: #ffffff;
    --gc-text: #1e293b;
    --gc-text-muted: #64748b;
    --gc-border: #e2e8f0;
    --gc-primary: var(--e-global-color-primary, var(--wp--preset--color--primary, var(--theme-primary, #0f172a)));
    --gc-accent: var(--e-global-color-accent, var(--wp--preset--color--accent, var(--theme-accent, #eab308)));
    --gc-success: #10b981;
    --gc-radius: 14px;
    --gc-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

    font-family: inherit !important;
    box-sizing: border-box;
    width: 100%;
    max-width: 680px;
    margin: 20px auto;
    color: var(--gc-text);
}

.gocabby-widget-wrapper,
.gocabby-widget-wrapper * {
    box-sizing: border-box;
    font-family: inherit !important;
}

/* Card Container */
.gocabby-widget-wrapper .gc-widget-card {
    background: var(--gc-card-bg);
    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius);
    box-shadow: var(--gc-shadow);
    padding: 28px 24px;
    overflow: hidden;
    position: relative;
}

/* Header */
.gocabby-widget-wrapper .gc-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.gocabby-widget-wrapper .gc-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: var(--gc-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 10px;
}

.gocabby-widget-wrapper .gc-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gc-success);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    animation: gcPulse 2s infinite;
}

@keyframes gcPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.gocabby-widget-wrapper .gc-header-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--gc-primary);
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.gocabby-widget-wrapper .gc-header-subtitle {
    font-size: 13.5px;
    color: var(--gc-text-muted);
    margin: 0;
}

/* Step Progress Tracker */
.gocabby-widget-wrapper .gc-step-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 0 10px;
}

.gocabby-widget-wrapper .gc-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

.gocabby-widget-wrapper .gc-step-item.active {
    opacity: 1;
}

.gocabby-widget-wrapper .gc-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gocabby-widget-wrapper .gc-step-item.active .gc-step-num {
    background: var(--gc-primary);
    color: #ffffff;
}

.gocabby-widget-wrapper .gc-step-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gc-primary);
}

.gocabby-widget-wrapper .gc-step-line {
    flex: 1;
    max-width: 50px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 10px;
}

/* Location Group */
.gocabby-widget-wrapper .gc-location-group {
    background: #f8fafc;
    border: 1px solid var(--gc-border);
    border-radius: 12px;
    padding: 14px;
    position: relative;
    margin-bottom: 18px;
}

.gocabby-widget-wrapper .gc-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gocabby-widget-wrapper .gc-input-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.gocabby-widget-wrapper .gc-input-field {
    flex: 1;
    position: relative;
}

.gocabby-widget-wrapper .gc-input-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gc-text-muted);
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.gocabby-widget-wrapper .gc-input-field input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 6px 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--gc-primary);
    outline: none;
    box-shadow: none;
}

.gocabby-widget-wrapper .gc-input-field input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.gocabby-widget-wrapper .gc-swap-wrapper {
    display: flex;
    justify-content: flex-end;
    margin: 4px 10px;
}

.gocabby-widget-wrapper .gc-btn-swap {
    background: #ffffff;
    border: 1px solid var(--gc-border);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gc-text-muted);
    transition: all 0.2s ease;
}

.gocabby-widget-wrapper .gc-btn-swap:hover {
    background: var(--gc-primary);
    color: #ffffff;
    border-color: var(--gc-primary);
}

/* Timing Box */
.gocabby-widget-wrapper .gc-timing-box {
    margin-bottom: 22px;
}

.gocabby-widget-wrapper .gc-label-sm {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--gc-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.gocabby-widget-wrapper .gc-timing-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gocabby-widget-wrapper .gc-time-btn {
    background: #f8fafc;
    border: 1px solid var(--gc-border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.gocabby-widget-wrapper .gc-time-btn:hover {
    border-color: #cbd5e1;
}

.gocabby-widget-wrapper .gc-time-btn.active {
    background: #ffffff;
    border-color: var(--gc-primary);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    color: var(--gc-primary);
    font-weight: 700;
}

.gocabby-widget-wrapper .gc-schedule-picker {
    background: #f8fafc;
    border: 1px dashed var(--gc-border);
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
}

/* Grids & Field Groups */
.gocabby-widget-wrapper .gc-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.gocabby-widget-wrapper .gc-field-group {
    margin-bottom: 14px;
}

.gocabby-widget-wrapper .gc-field-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gc-primary);
    margin-bottom: 5px;
}

.gocabby-widget-wrapper .gc-field-group input,
.gocabby-widget-wrapper .gc-field-group select,
.gocabby-widget-wrapper .gc-field-group textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--gc-border);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13.5px;
    color: var(--gc-primary);
    outline: none;
    transition: border-color 0.2s ease;
}

.gocabby-widget-wrapper .gc-field-group input:focus,
.gocabby-widget-wrapper .gc-field-group select:focus,
.gocabby-widget-wrapper .gc-field-group textarea:focus {
    border-color: var(--gc-primary);
}

/* Vehicle Selection Cards */
.gocabby-widget-wrapper .gc-vehicles-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.gocabby-widget-wrapper .gc-vehicle-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1.5px solid var(--gc-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gocabby-widget-wrapper .gc-vehicle-card:hover {
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.gocabby-widget-wrapper .gc-vehicle-card.selected {
    border-color: var(--gc-primary);
    background: #f8fafc;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
}

.gocabby-widget-wrapper .gc-vehicle-icon {
    font-size: 26px;
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gocabby-widget-wrapper .gc-vehicle-info {
    flex: 1;
}

.gocabby-widget-wrapper .gc-vehicle-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--gc-primary);
}

.gocabby-widget-wrapper .gc-vehicle-meta {
    font-size: 11.5px;
    color: var(--gc-text-muted);
    display: flex;
    gap: 10px;
    margin-top: 2px;
}

.gocabby-widget-wrapper .gc-vehicle-desc {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.gocabby-widget-wrapper .gc-vehicle-price {
    text-align: right;
}

.gocabby-widget-wrapper .gc-price-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--gc-primary);
    display: block;
}

.gocabby-widget-wrapper .gc-price-sub {
    font-size: 10px;
    color: var(--gc-text-muted);
    text-transform: uppercase;
}

/* Route Summary Strip */
.gocabby-widget-wrapper .gc-route-summary-strip {
    display: flex;
    justify-content: space-between;
    background: #f1f5f9;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.gocabby-widget-wrapper .gc-summary-col small {
    display: block;
    font-size: 10px;
    color: var(--gc-text-muted);
    font-weight: 700;
}

.gocabby-widget-wrapper .gc-summary-col strong {
    font-size: 14px;
    color: var(--gc-primary);
}

.gocabby-widget-wrapper .gc-summary-fare-col {
    text-align: right;
}

.gocabby-widget-wrapper .gc-summary-fare-col strong {
    color: #16a34a;
    font-size: 17px;
}

/* Special Requests Tiles */
.gocabby-widget-wrapper .gc-special-requests-section {
    margin: 16px 0;
}

.gocabby-widget-wrapper .gc-special-tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gocabby-widget-wrapper .gc-special-tile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid var(--gc-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    transition: all 0.15s ease;
}

.gocabby-widget-wrapper .gc-special-tile input {
    margin: 0;
}

.gocabby-widget-wrapper .gc-special-tile.active {
    border-color: var(--gc-primary);
    background: #ffffff;
    color: var(--gc-primary);
}

.gocabby-widget-wrapper .gc-flight-details-box {
    background: #f8fafc;
    border: 1px solid var(--gc-border);
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
}

/* Payment Buttons */
.gocabby-widget-wrapper .gc-payment-method-box {
    margin: 16px 0;
}

.gocabby-widget-wrapper .gc-payment-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gocabby-widget-wrapper .gc-pay-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid var(--gc-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.gocabby-widget-wrapper .gc-pay-btn.active {
    border-color: var(--gc-primary);
    background: #ffffff;
    color: var(--gc-primary);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* Action Buttons */
.gocabby-widget-wrapper .gc-step-action {
    margin-top: 20px;
}

.gocabby-widget-wrapper .gc-btn-primary,
.gocabby-widget-wrapper .gc-btn-success,
.gocabby-widget-wrapper .gc-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.gocabby-widget-wrapper .gc-btn-primary {
    background: var(--gc-primary);
    color: #ffffff;
}

.gocabby-widget-wrapper .gc-btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.gocabby-widget-wrapper .gc-btn-success {
    background: #16a34a;
    color: #ffffff;
}

.gocabby-widget-wrapper .gc-btn-success:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.gocabby-widget-wrapper .gc-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.gocabby-widget-wrapper .gc-btn-secondary:hover {
    background: #e2e8f0;
}

/* Confirmation Screen */
.gocabby-widget-wrapper .gc-confirmation-screen {
    text-align: center;
    padding: 16px 0;
}

.gocabby-widget-wrapper .gc-confirm-badge-icon {
    font-size: 46px;
    margin-bottom: 10px;
}

.gocabby-widget-wrapper .gc-confirm-title {
    font-size: 22px;
    font-weight: 800;
    color: #16a34a;
    margin: 0 0 6px 0;
}

.gocabby-widget-wrapper .gc-confirm-subtitle {
    font-size: 13.5px;
    color: var(--gc-text-muted);
    margin: 0 0 20px 0;
}

.gocabby-widget-wrapper .gc-booking-receipt-card {
    background: #f8fafc;
    border: 1px solid var(--gc-border);
    border-radius: 12px;
    padding: 18px;
    text-align: left;
    margin-bottom: 20px;
}

.gocabby-widget-wrapper .gc-receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 13.5px;
    color: #1e293b !important;
}

.gocabby-widget-wrapper .gc-receipt-row span {
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.gocabby-widget-wrapper .gc-receipt-row strong {
    color: #0f172a !important;
    font-weight: 700 !important;
    text-align: right;
    word-break: break-word;
    max-width: 65%;
}

.gocabby-widget-wrapper .gc-receipt-hero {
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 10px;
    margin-bottom: 4px;
}

.gocabby-widget-wrapper .gc-receipt-ref {
    font-size: 14.5px;
    color: #0f172a;
    background: #e2e8f0;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.gocabby-widget-wrapper .gc-receipt-total {
    border-bottom: none;
    padding-top: 12px;
    font-size: 15px;
}

.gocabby-widget-wrapper .gc-receipt-total span {
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

.gocabby-widget-wrapper .gc-receipt-fare {
    color: #16a34a;
    font-size: 22px;
    font-weight: 800;
}

.gocabby-widget-wrapper .gc-confirm-sms-alert {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.gocabby-widget-wrapper .gc-confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gocabby-widget-wrapper .gc-btn-track {
    background: var(--gc-primary);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.gocabby-widget-wrapper .gc-btn-restart {
    background: transparent;
    border: 1px solid var(--gc-border);
    color: var(--gc-text-muted);
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 540px) {
    .gocabby-widget-wrapper .gc-widget-card {
        padding: 20px 16px;
    }
    .gocabby-widget-wrapper .gc-header-title {
        font-size: 20px;
    }
    .gocabby-widget-wrapper .gc-grid-2 {
        grid-template-columns: 1fr;
    }
    .gocabby-widget-wrapper .gc-special-tiles-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   LUXURY THEMES: Executive Dark Glass, Frosted Glass & Crisp Light
   ========================================================================== */

/* 1. EXECUTIVE DARK GLASS (Recommended for Dark & Hero Sections) */
.gocabby-widget-wrapper.theme-dark,
.gocabby-widget-wrapper.theme-executive,
.gocabby-widget-wrapper.theme-modern {
    --gc-card-bg: rgba(15, 23, 42, 0.94);
    --gc-text: #f8fafc;
    --gc-text-muted: #94a3b8;
    --gc-border: rgba(255, 255, 255, 0.12);
    --gc-primary: #ffffff;
    --gc-accent: #eab308;
    --gc-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.gocabby-widget-wrapper.theme-dark .gc-widget-card,
.gocabby-widget-wrapper.theme-executive .gc-widget-card,
.gocabby-widget-wrapper.theme-modern .gc-widget-card {
    background: var(--gc-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gc-border);
    box-shadow: var(--gc-shadow);
    color: #f8fafc;
}

.gocabby-widget-wrapper.theme-dark .gc-header-badge,
.gocabby-widget-wrapper.theme-executive .gc-header-badge,
.gocabby-widget-wrapper.theme-modern .gc-header-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.35);
}

.gocabby-widget-wrapper.theme-dark .gc-header-title,
.gocabby-widget-wrapper.theme-executive .gc-header-title,
.gocabby-widget-wrapper.theme-modern .gc-header-title {
    color: #ffffff;
}

.gocabby-widget-wrapper.theme-dark .gc-header-subtitle,
.gocabby-widget-wrapper.theme-executive .gc-header-subtitle,
.gocabby-widget-wrapper.theme-modern .gc-header-subtitle {
    color: #94a3b8;
}

.gocabby-widget-wrapper.theme-dark .gc-step-num,
.gocabby-widget-wrapper.theme-executive .gc-step-num,
.gocabby-widget-wrapper.theme-modern .gc-step-num {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

.gocabby-widget-wrapper.theme-dark .gc-step-item.active .gc-step-num,
.gocabby-widget-wrapper.theme-executive .gc-step-item.active .gc-step-num,
.gocabby-widget-wrapper.theme-modern .gc-step-item.active .gc-step-num {
    background: #eab308;
    color: #0f172a;
    font-weight: 800;
}

.gocabby-widget-wrapper.theme-dark .gc-step-label,
.gocabby-widget-wrapper.theme-executive .gc-step-label,
.gocabby-widget-wrapper.theme-modern .gc-step-label {
    color: #94a3b8;
}

.gocabby-widget-wrapper.theme-dark .gc-step-item.active .gc-step-label,
.gocabby-widget-wrapper.theme-executive .gc-step-item.active .gc-step-label,
.gocabby-widget-wrapper.theme-modern .gc-step-item.active .gc-step-label {
    color: #ffffff;
}

.gocabby-widget-wrapper.theme-dark .gc-step-line,
.gocabby-widget-wrapper.theme-executive .gc-step-line,
.gocabby-widget-wrapper.theme-modern .gc-step-line {
    background: rgba(255, 255, 255, 0.15);
}

.gocabby-widget-wrapper.theme-dark .gc-location-group,
.gocabby-widget-wrapper.theme-executive .gc-location-group,
.gocabby-widget-wrapper.theme-modern .gc-location-group {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gocabby-widget-wrapper.theme-dark .gc-input-field input,
.gocabby-widget-wrapper.theme-executive .gc-input-field input,
.gocabby-widget-wrapper.theme-modern .gc-input-field input {
    color: #ffffff;
}

.gocabby-widget-wrapper.theme-dark .gc-input-field input::placeholder,
.gocabby-widget-wrapper.theme-executive .gc-input-field input::placeholder,
.gocabby-widget-wrapper.theme-modern .gc-input-field input::placeholder {
    color: #64748b;
}

.gocabby-widget-wrapper.theme-dark .gc-btn-swap,
.gocabby-widget-wrapper.theme-executive .gc-btn-swap,
.gocabby-widget-wrapper.theme-modern .gc-btn-swap {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #eab308;
}

.gocabby-widget-wrapper.theme-dark .gc-btn-swap:hover,
.gocabby-widget-wrapper.theme-executive .gc-btn-swap:hover,
.gocabby-widget-wrapper.theme-modern .gc-btn-swap:hover {
    background: #eab308;
    color: #0f172a;
}

.gocabby-widget-wrapper.theme-dark .gc-time-btn,
.gocabby-widget-wrapper.theme-executive .gc-time-btn,
.gocabby-widget-wrapper.theme-modern .gc-time-btn {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}

.gocabby-widget-wrapper.theme-dark .gc-time-btn.active,
.gocabby-widget-wrapper.theme-executive .gc-time-btn.active,
.gocabby-widget-wrapper.theme-modern .gc-time-btn.active {
    background: rgba(234, 179, 8, 0.15);
    border-color: #eab308;
    color: #facc15;
    font-weight: 700;
}

.gocabby-widget-wrapper.theme-dark .gc-schedule-picker,
.gocabby-widget-wrapper.theme-executive .gc-schedule-picker,
.gocabby-widget-wrapper.theme-modern .gc-schedule-picker {
    background: rgba(30, 41, 59, 0.8);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.gocabby-widget-wrapper.theme-dark .gc-field-group label,
.gocabby-widget-wrapper.theme-executive .gc-field-group label,
.gocabby-widget-wrapper.theme-modern .gc-field-group label {
    color: #cbd5e1;
}

.gocabby-widget-wrapper.theme-dark .gc-field-group input,
.gocabby-widget-wrapper.theme-dark .gc-field-group select,
.gocabby-widget-wrapper.theme-dark .gc-field-group textarea,
.gocabby-widget-wrapper.theme-executive .gc-field-group input,
.gocabby-widget-wrapper.theme-executive .gc-field-group select,
.gocabby-widget-wrapper.theme-executive .gc-field-group textarea,
.gocabby-widget-wrapper.theme-modern .gc-field-group input,
.gocabby-widget-wrapper.theme-modern .gc-field-group select,
.gocabby-widget-wrapper.theme-modern .gc-field-group textarea {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.gocabby-widget-wrapper.theme-dark .gc-vehicle-card,
.gocabby-widget-wrapper.theme-executive .gc-vehicle-card,
.gocabby-widget-wrapper.theme-modern .gc-vehicle-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.gocabby-widget-wrapper.theme-dark .gc-vehicle-card:hover,
.gocabby-widget-wrapper.theme-executive .gc-vehicle-card:hover,
.gocabby-widget-wrapper.theme-modern .gc-vehicle-card:hover {
    border-color: #eab308;
    background: rgba(30, 41, 59, 0.85);
}

.gocabby-widget-wrapper.theme-dark .gc-vehicle-card.selected,
.gocabby-widget-wrapper.theme-executive .gc-vehicle-card.selected,
.gocabby-widget-wrapper.theme-modern .gc-vehicle-card.selected {
    background: rgba(30, 41, 59, 0.95);
    border-color: #eab308;
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.35);
}

.gocabby-widget-wrapper.theme-dark .gc-vehicle-price .gc-price-val,
.gocabby-widget-wrapper.theme-executive .gc-vehicle-price .gc-price-val,
.gocabby-widget-wrapper.theme-modern .gc-vehicle-price .gc-price-val {
    color: #eab308;
}

.gocabby-widget-wrapper.theme-dark .gc-special-tile,
.gocabby-widget-wrapper.theme-executive .gc-special-tile,
.gocabby-widget-wrapper.theme-modern .gc-special-tile {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.gocabby-widget-wrapper.theme-dark .gc-special-tile.active,
.gocabby-widget-wrapper.theme-executive .gc-special-tile.active,
.gocabby-widget-wrapper.theme-modern .gc-special-tile.active {
    background: rgba(234, 179, 8, 0.15);
    border-color: #eab308;
    color: #ffffff;
}

.gocabby-widget-wrapper.theme-dark .gc-pay-btn,
.gocabby-widget-wrapper.theme-executive .gc-pay-btn,
.gocabby-widget-wrapper.theme-modern .gc-pay-btn {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}

.gocabby-widget-wrapper.theme-dark .gc-pay-btn.active,
.gocabby-widget-wrapper.theme-executive .gc-pay-btn.active,
.gocabby-widget-wrapper.theme-modern .gc-pay-btn.active {
    background: rgba(234, 179, 8, 0.15);
    border-color: #eab308;
    color: #facc15;
}

.gocabby-widget-wrapper.theme-dark .gc-btn-primary,
.gocabby-widget-wrapper.theme-executive .gc-btn-primary,
.gocabby-widget-wrapper.theme-modern .gc-btn-primary {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #0f172a;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.4);
}

.gocabby-widget-wrapper.theme-dark .gc-btn-primary:hover,
.gocabby-widget-wrapper.theme-executive .gc-btn-primary:hover,
.gocabby-widget-wrapper.theme-modern .gc-btn-primary:hover {
    background: linear-gradient(135deg, #facc15 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.55);
}

.gocabby-widget-wrapper.theme-dark .gc-btn-success,
.gocabby-widget-wrapper.theme-executive .gc-btn-success,
.gocabby-widget-wrapper.theme-modern .gc-btn-success {
    background: linear-gradient(135deg, #eab308 0%, #d97706 100%);
    color: #0f172a;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.4);
}

.gocabby-widget-wrapper.theme-dark .gc-btn-success:hover,
.gocabby-widget-wrapper.theme-executive .gc-btn-success:hover,
.gocabby-widget-wrapper.theme-modern .gc-btn-success:hover {
    background: linear-gradient(135deg, #facc15 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.55);
}

.gocabby-widget-wrapper.theme-dark .gc-btn-secondary,
.gocabby-widget-wrapper.theme-executive .gc-btn-secondary,
.gocabby-widget-wrapper.theme-modern .gc-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
}

.gocabby-widget-wrapper.theme-dark .gc-summary-bar,
.gocabby-widget-wrapper.theme-executive .gc-summary-bar,
.gocabby-widget-wrapper.theme-modern .gc-summary-bar {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gocabby-widget-wrapper.theme-dark .gc-summary-fare-text,
.gocabby-widget-wrapper.theme-executive .gc-summary-fare-text,
.gocabby-widget-wrapper.theme-modern .gc-summary-fare-text {
    color: #eab308;
}

/* Confirmation Receipt in Dark / Executive Themes */
.gocabby-widget-wrapper.theme-dark .gc-booking-receipt-card,
.gocabby-widget-wrapper.theme-executive .gc-booking-receipt-card,
.gocabby-widget-wrapper.theme-modern .gc-booking-receipt-card,
.gocabby-widget-wrapper.theme-glass .gc-booking-receipt-card {
    background: rgba(30, 41, 59, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}

.gocabby-widget-wrapper.theme-dark .gc-receipt-row,
.gocabby-widget-wrapper.theme-executive .gc-receipt-row,
.gocabby-widget-wrapper.theme-modern .gc-receipt-row,
.gocabby-widget-wrapper.theme-glass .gc-receipt-row {
    color: #f8fafc !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12) !important;
}

.gocabby-widget-wrapper.theme-dark .gc-receipt-row span,
.gocabby-widget-wrapper.theme-executive .gc-receipt-row span,
.gocabby-widget-wrapper.theme-modern .gc-receipt-row span,
.gocabby-widget-wrapper.theme-glass .gc-receipt-row span {
    color: #94a3b8 !important;
    font-size: 13px !important;
}

.gocabby-widget-wrapper.theme-dark .gc-receipt-row strong,
.gocabby-widget-wrapper.theme-executive .gc-receipt-row strong,
.gocabby-widget-wrapper.theme-modern .gc-receipt-row strong,
.gocabby-widget-wrapper.theme-glass .gc-receipt-row strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.gocabby-widget-wrapper.theme-dark .gc-receipt-ref,
.gocabby-widget-wrapper.theme-executive .gc-receipt-ref,
.gocabby-widget-wrapper.theme-modern .gc-receipt-ref,
.gocabby-widget-wrapper.theme-glass .gc-receipt-ref {
    background: rgba(234, 179, 8, 0.25) !important;
    color: #facc15 !important;
    border: 1px solid rgba(234, 179, 8, 0.4) !important;
    font-weight: 800 !important;
}

.gocabby-widget-wrapper.theme-dark .gc-receipt-total span,
.gocabby-widget-wrapper.theme-executive .gc-receipt-total span,
.gocabby-widget-wrapper.theme-modern .gc-receipt-total span,
.gocabby-widget-wrapper.theme-glass .gc-receipt-total span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.gocabby-widget-wrapper.theme-dark .gc-receipt-fare,
.gocabby-widget-wrapper.theme-executive .gc-receipt-fare,
.gocabby-widget-wrapper.theme-modern .gc-receipt-fare,
.gocabby-widget-wrapper.theme-glass .gc-receipt-fare {
    color: #22c55e !important;
    font-size: 22px !important;
    font-weight: 800 !important;
}

.gocabby-widget-wrapper.theme-dark .gc-confirm-sms-alert,
.gocabby-widget-wrapper.theme-executive .gc-confirm-sms-alert,
.gocabby-widget-wrapper.theme-modern .gc-confirm-sms-alert,
.gocabby-widget-wrapper.theme-glass .gc-confirm-sms-alert {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #34d399 !important;
}

.gocabby-widget-wrapper.theme-dark .gc-btn-track,
.gocabby-widget-wrapper.theme-executive .gc-btn-track,
.gocabby-widget-wrapper.theme-modern .gc-btn-track,
.gocabby-widget-wrapper.theme-glass .gc-btn-track {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #0f172a;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.35);
}

.gocabby-widget-wrapper.theme-dark .gc-btn-restart,
.gocabby-widget-wrapper.theme-executive .gc-btn-restart,
.gocabby-widget-wrapper.theme-modern .gc-btn-restart,
.gocabby-widget-wrapper.theme-glass .gc-btn-restart {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
}

/* 2. ULTRA FROSTED GLASS */
.gocabby-widget-wrapper.theme-glass {
    --gc-card-bg: rgba(15, 23, 42, 0.68);
    --gc-text: #ffffff;
    --gc-text-muted: #cbd5e1;
    --gc-border: rgba(255, 255, 255, 0.18);
    --gc-primary: #ffffff;
    --gc-accent: #facc15;
    --gc-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.gocabby-widget-wrapper.theme-glass .gc-widget-card {
    background: var(--gc-card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--gc-border);
    box-shadow: var(--gc-shadow);
    color: #ffffff;
}

.gocabby-widget-wrapper.theme-glass .gc-header-title { color: #ffffff; }
.gocabby-widget-wrapper.theme-glass .gc-header-subtitle { color: #cbd5e1; }
.gocabby-widget-wrapper.theme-glass .gc-location-group {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.gocabby-widget-wrapper.theme-glass .gc-input-field input { color: #ffffff; }
.gocabby-widget-wrapper.theme-glass .gc-btn-primary {
    background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%);
    color: #0f172a;
    font-weight: 800;
}
.gocabby-widget-wrapper.theme-glass .gc-btn-success {
    background: linear-gradient(135deg, #facc15 0%, #d97706 100%);
    color: #0f172a;
    font-weight: 800;
}

/* 3. CRISP MODERN LIGHT */
.gocabby-widget-wrapper.theme-light {
    --gc-card-bg: #ffffff;
    --gc-text: #1e293b;
    --gc-text-muted: #64748b;
    --gc-border: #e2e8f0;
    --gc-primary: #0f172a;
    --gc-accent: #eab308;
    --gc-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.gocabby-widget-wrapper.theme-light .gc-widget-card {
    background: var(--gc-card-bg);
    border: 1px solid var(--gc-border);
    box-shadow: var(--gc-shadow);
    color: #1e293b;
}

.gocabby-widget-wrapper.theme-light .gc-btn-primary {
    background: var(--gc-primary);
    color: #ffffff;
}

.gocabby-widget-wrapper.theme-light .gc-btn-success {
    background: #16a34a;
    color: #ffffff;
}

/* ==========================================================================
   AUTOCOMPLETE DROPDOWNS: Google Maps & Built-in Smart UK Geocoder
   ========================================================================== */

/* 1. Google Places Autocomplete (.pac-container) High-Priority Styles */
.pac-container {
    z-index: 9999999 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 20px 40px -5px rgba(15, 23, 42, 0.22) !important;
    font-family: inherit !important;
    margin-top: 6px !important;
    background-color: #ffffff !important;
    padding: 6px 0 !important;
}

.pac-item {
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    color: #1e293b !important;
    border-top: 1px solid #f1f5f9 !important;
}

.pac-item:first-child {
    border-top: none !important;
}

.pac-item:hover, .pac-item-selected {
    background-color: #f8fafc !important;
}

.pac-item-query {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.pac-matched {
    font-weight: 700 !important;
    color: #eab308 !important;
}

/* 2. Built-in Smart Autocomplete Dropdown (Zero-API Key UK Geocoder) */
.gocabby-widget-wrapper .gc-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999999;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 20px 40px -5px rgba(15, 23, 42, 0.25);
    margin-top: 6px;
    max-height: 250px;
    overflow-y: auto;
    display: none;
}

.gocabby-widget-wrapper.theme-dark .gc-autocomplete-dropdown,
.gocabby-widget-wrapper.theme-executive .gc-autocomplete-dropdown {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65);
}

.gocabby-widget-wrapper.theme-glass .gc-autocomplete-dropdown {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
}

.gocabby-widget-wrapper .gc-ac-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
    text-align: left;
}

.gocabby-widget-wrapper.theme-dark .gc-ac-item,
.gocabby-widget-wrapper.theme-executive .gc-ac-item,
.gocabby-widget-wrapper.theme-glass .gc-ac-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gocabby-widget-wrapper .gc-ac-item:last-child {
    border-bottom: none;
}

.gocabby-widget-wrapper .gc-ac-item:hover,
.gocabby-widget-wrapper .gc-ac-item.active {
    background: #f8fafc;
}

.gocabby-widget-wrapper.theme-dark .gc-ac-item:hover,
.gocabby-widget-wrapper.theme-dark .gc-ac-item.active,
.gocabby-widget-wrapper.theme-executive .gc-ac-item:hover,
.gocabby-widget-wrapper.theme-executive .gc-ac-item.active,
.gocabby-widget-wrapper.theme-glass .gc-ac-item:hover,
.gocabby-widget-wrapper.theme-glass .gc-ac-item.active {
    background: rgba(255, 255, 255, 0.1);
}

.gocabby-widget-wrapper .gc-ac-icon {
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.gocabby-widget-wrapper .gc-ac-text {
    flex: 1;
    min-width: 0;
}

.gocabby-widget-wrapper .gc-ac-name {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gocabby-widget-wrapper.theme-dark .gc-ac-name,
.gocabby-widget-wrapper.theme-executive .gc-ac-name,
.gocabby-widget-wrapper.theme-glass .gc-ac-name {
    color: #ffffff;
}

.gocabby-widget-wrapper .gc-ac-sub {
    display: block;
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gocabby-widget-wrapper.theme-dark .gc-ac-sub,
.gocabby-widget-wrapper.theme-executive .gc-ac-sub,
.gocabby-widget-wrapper.theme-glass .gc-ac-sub {
    color: #94a3b8;
}



/* ============ Inline Error Banner (Zero Browser Popups) ============ */
.gocabby-widget-wrapper .gc-form-error {
    display: none;
    margin: 0 0 14px 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-left: 4px solid #dc2626;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.gocabby-widget-wrapper.theme-dark .gc-form-error,
.gocabby-widget-wrapper.theme-executive .gc-form-error,
.gocabby-widget-wrapper.theme-glass .gc-form-error {
    background: rgba(127, 29, 29, 0.35);
    border-color: rgba(248, 113, 113, 0.5);
    color: #fecaca;
}

/* ============ Pending Route Strip ============ */
.gocabby-widget-wrapper .gc-summary-distance-text.gc-route-pending,
.gocabby-widget-wrapper .gc-summary-fare-text.gc-route-pending {
    opacity: 0.55;
    font-style: italic;
    font-weight: 600;
}
