/* =============================================
   Zero Effort Quote Modal — Styles
   ============================================= */

:root {
    --zeq-green: #00C853;
    --zeq-green-dark: #00A843;
    --zeq-green-light: rgba(0, 200, 83, 0.1);
    --zeq-dark: #0D1B2A;
    --zeq-dark-mid: #1A2E42;
    --zeq-text: #1A1A2E;
    --zeq-muted: #6B7280;
    --zeq-border: #E5E7EB;
    --zeq-bg: #FFFFFF;
    --zeq-panel-bg: #F9FAFB;
    --zeq-radius: 16px;
    --zeq-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 10px 25px rgba(0, 0, 0, 0.15);
    --zeq-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Overlay */
.zeq-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--zeq-transition), visibility var(--zeq-transition);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

.zeq-overlay.zeq-open {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.zeq-modal {
    background: var(--zeq-bg);
    border-radius: var(--zeq-radius);
    box-shadow: var(--zeq-shadow);
    width: 100%;
    max-width: 640px;
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.94) translateY(12px);
    transition: transform var(--zeq-transition);
    position: relative;
}

.zeq-overlay.zeq-open .zeq-modal {
    transform: scale(1) translateY(0);
}

/* Header */
.zeq-header {
    background: linear-gradient(135deg, #0D1B2A 0%, #1A3050 60%, #0D2A1A 100%);
    padding: 28px 32px 24px;
    position: relative;
    flex-shrink: 0;
}

.zeq-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--zeq-transition);
}

.zeq-close:hover {
    background: rgba(255,255,255,0);
}

.zeq-badge {
    display: inline-block;
    color: var(--zeq-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.zeq-title {
    color: #FFFFFF;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.zeq-subtitle {
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
    max-width: 480px;
}

.zeq-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zeq-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 100px;
}

.zeq-trust-badges svg {
    width: 14px;
    height: 14px;
    stroke: var(--zeq-green);
    flex-shrink: 0;
}

/* Body / Scroll area */
.zeq-body {
    overflow-y: auto;
    flex: 1;
    padding: 0;
}

/* Tabs */
.zeq-tabs {
    display: flex;
    margin-bottom: 5px;
    padding: 16px 24px 0;
    gap: 8px;
   
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.zeq-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border: 1px solid #2db35e;
    
    border-radius: 10px 10px 10px 10px;
    background: var(--zeq-panel-bg);
    color: var(--zeq-muted);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--zeq-transition);
    white-space: nowrap;
}

.zeq-tab svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.zeq-tab:hover {
    color: #fff;
    background: #2db35e;
    border-color: #2db35e;
}

.zeq-tab.active {
    background: #2db35e;
    color: #fff;
    border-color: #2db35e;
    font-weight: 600;
    position: relative;
}

.zeq-tab.active::after {
    content: '';
    position: absolute;
    
    left: 0;
    right: 0;
    height: 2px;
    
}

/* Panels */
.zeq-panel {
    display: none;
    padding: 24px;
    animation: zeqFadeIn 0.2s ease;
}

.zeq-panel.active {
    display: block;
}

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

/* WhatsApp Panel */
.zeq-whatsapp-box {
    background: var(--zeq-dark);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.7;
}

.zeq-phone-number {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    color: var(--zeq-green);
    margin: 14px 0 6px;
    letter-spacing: 0.5px;
}

.zeq-hours {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* Dropzone */
.zeq-dropzone {
    border: 2px dashed var(--zeq-border);
    border-radius: 12px;
    padding: 20px 15px 10px 15px;
    text-align: center;
    margin-bottom: 20px;
    background: var(--zeq-panel-bg);
    cursor: pointer;
    transition: border-color var(--zeq-transition), background var(--zeq-transition);
    position: relative;
}

.zeq-dropzone:hover,
.zeq-dropzone.dragover {
    border-color: var(--zeq-green);
    background: var(--zeq-green-light);
}

.zeq-dropzone p {
    margin: 0px;
    font-size: 15px;
    color: var(--zeq-text);
}

.zeq-browse {
    color: var(--zeq-green);
    cursor: pointer;
}

.zeq-file-hint {
    font-size: 12px;
    color: var(--zeq-muted);
}

.zeq-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.zeq-file-selected {
    margin-top: 10px;
    font-size: 13px;
    color: var(--zeq-green-dark);
    font-weight: 500;
    min-height: 16px;
}

/* Form fields */
.zeq-form-group {
    margin-bottom: 16px;
}

.zeq-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--zeq-text);
    margin-bottom: 6px;
}

.zeq-required { color: #EF4444; }
.zeq-optional { color: var(--zeq-muted); font-weight: 400; font-size: 12px; }

.zeq-form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--zeq-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--zeq-text);
    background: #fff;
    outline: none;
    transition: border-color var(--zeq-transition), box-shadow var(--zeq-transition);
    box-sizing: border-box;
}

.zeq-form-group input:focus {
    border-color: var(--zeq-green);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.12);
}

.zeq-form-group input::placeholder {
    color: #B0B8C4;
}

/* Info box */
.zeq-info-box {
    background: var(--zeq-panel-bg);
    border: 1px solid var(--zeq-border);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13.5px;
    color: var(--zeq-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Turnstile */
.zeq-turnstile-wrap {
    margin-bottom: 16px;
    display: flex;
    justify-content: flex-start;
}

/* Buttons */
.zeq-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--zeq-transition);
    text-decoration: none;
    letter-spacing: 0.01em;
    margin-top: 4px;
}

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

.zeq-btn-primary {
    background: var(--zeq-green);
    color: #0D1B2A;
}

.zeq-btn-primary:hover:not(:disabled) {
    background: var(--zeq-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.35);
}

.zeq-btn-whatsapp {
    background: #25D366;
    color: #fff;
    text-decoration: none;
}

.zeq-btn-whatsapp:hover {
    background: #1DAF56;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Feedback messages */
.zeq-form-error {
    color: #DC2626;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
    display: none;
}

.zeq-form-success {
    color: #065F46;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 14px 16px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 8px;
    display: none;
    text-align: center;
    line-height: 1.6;
}

/* Trigger button for shortcode */
.zeq-trigger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 70px;
    background: linear-gradient(90deg,rgba(23, 191, 183, 1) 0%, rgba(18, 231, 167, 1) 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--zeq-transition);
}

.zeq-trigger-btn:hover {
    background: linear-gradient(rgba(18, 231, 167, 1) 100%, 90deg,rgba(23, 191, 183, 1) 0%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,200,83,0.35);
}

/* Spinner */
.zeq-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(13,27,42,0.25);
    border-top-color: #0D1B2A;
    border-radius: 50%;
    animation: zeqSpin 0.7s linear infinite;
    display: inline-block;
}

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

/* Responsive */
@media (max-width: 480px) {
    .zeq-header { padding: 24px 20px 20px; }
    .zeq-panel  { padding: 20px 16px; }
    .zeq-tabs   { padding: 12px 16px 0; gap: 6px; }
    .zeq-tab    { font-size: 12px; padding: 9px 8px; }
    .zeq-trust-badges { gap: 6px; }
    .zeq-trust-badges span { font-size: 11px; padding: 4px 10px; }
    .zeq-dropzone {padding: 10px!important;}
}


.zeq-chip-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.zeq-chip {
    padding: 8px 18px;
    border: 2px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zeq-chip:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.zeq-chip.selected {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}
