/* Contact Us – Elementor Widget  |  contact-form.css */

.cue-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 580px;
    margin: 0 auto;
}

/* ── Header ── */
.cue-header { margin-bottom: 1.25rem; }
.cue-title  { font-size: 1.5rem; font-weight: 600; margin: 0 0 4px; color: #111; }
.cue-sub    { font-size: 0.875rem; color: #6b7280; margin: 0; }

/* ── Tabs ── */
.cue-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 1.25rem;
}
.cue-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .1s;
    font-family: inherit;
    line-height: 1;
}
.cue-tab:hover { background: #ebebeb; transform: translateY(-1px); }
.cue-tab.active { background: #eff6ff; border: 2px solid #3b82f6; }
.cue-tab-icon  { font-size: 1.1rem; display: block; margin-bottom: 5px; }
.cue-tab-label { font-size: 0.7rem; font-weight: 600; color: #555; letter-spacing: .04em; text-transform: uppercase; }
.cue-tab.active .cue-tab-label { color: #1d4ed8; }

/* ── Form panel ── */
.cue-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
}

/* ── Badges ── */
.cue-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: .5rem;
}
.cue-badge--info    { background: #dbeafe; color: #1e40af; }
.cue-badge--warning { background: #fef3c7; color: #92400e; }
.cue-badge--danger  { background: #fee2e2; color: #991b1b; }
.cue-badge--success { background: #d1fae5; color: #065f46; }

/* ── Pane ── */
.cue-pane-title { font-size: 1rem; font-weight: 600; color: #111; margin: 0 0 4px; }
.cue-pane-desc  { font-size: .8125rem; color: #6b7280; margin: 0 0 1.25rem; line-height: 1.5; }

/* ── Fields ── */
.cue-field { margin-bottom: .875rem; }

.cue-field label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 5px;
}
.cue-field label span { color: #ef4444; margin-left: 2px; }

.cue-field input[type="text"],
.cue-field input[type="email"],
.cue-field input[type="url"],
.cue-field input[type="date"],
.cue-field select,
.cue-field textarea {
    width: 100%;
    padding: 9px 12px;
    font-family: inherit;
    font-size: .875rem;
    color: #111;
    background: #fafafa;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    outline: none;
    transition: border-color .15s, background .15s, box-shadow .15s;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}
.cue-field input:focus,
.cue-field select:focus,
.cue-field textarea:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.cue-field textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.cue-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

/* ── Two-column row ── */
.cue-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Submit ── */
.cue-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: .5rem;
    padding: 12px 20px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    background: #111;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, transform .1s;
    letter-spacing: .02em;
}
.cue-submit:hover   { background: #333; transform: translateY(-1px); }
.cue-submit:active  { transform: scale(.98); }
.cue-submit:disabled{ background: #9ca3af; cursor: not-allowed; transform: none; }

/* ── Error ── */
.cue-error {
    margin-top: .75rem;
    padding: 10px 14px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 7px;
    font-size: .875rem;
}

/* ── Success ── */
.cue-success {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    margin-bottom: .5rem;
}
.cue-success-icon { font-size: 2.25rem; display: block; margin-bottom: .75rem; }
.cue-success-text { font-size: .9375rem; color: #15803d; line-height: 1.6; margin: 0; }

/* ── Other product reveal ── */
.cue-other-product-field {
    animation: cue-fadein .18s ease;
}
@keyframes cue-fadein {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── File upload drop zone ── */
.cue-file-drop {
    position: relative;
    border: 1.5px dashed #d1d5db;
    border-radius: 8px;
    background: #fafafa;
    transition: border-color .15s, background .15s;
    cursor: pointer;
    overflow: hidden;
}
.cue-file-drop:hover,
.cue-file-drop--dragover {
    border-color: #3b82f6;
    background: #eff6ff;
}
.cue-file-drop--filled {
    border-color: #16a34a;
    border-style: solid;
    background: #f0fdf4;
}
.cue-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.cue-file-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    pointer-events: none;
    gap: 4px;
    text-align: center;
}
.cue-file-icon    { font-size: 1.5rem; display: block; margin-bottom: 4px; }
.cue-file-prompt  { font-size: .8125rem; font-weight: 600; color: #374151; }
.cue-file-hint    { font-size: .75rem; color: #9ca3af; }
.cue-file-chosen {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    pointer-events: none;
}
.cue-file-chosen-icon { font-size: 1rem; flex-shrink: 0; }
.cue-file-chosen-name { font-size: .875rem; font-weight: 500; color: #15803d; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cue-file-clear {
    pointer-events: all;
    z-index: 3;
    position: relative;
    background: none;
    border: none;
    font-size: .8rem;
    color: #6b7280;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    line-height: 1;
}
.cue-file-clear:hover { background: #fee2e2; color: #991b1b; }

/* ── Responsive ── */
@media (max-width: 480px) {
    .cue-tabs { grid-template-columns: repeat(2, 1fr); }
    .cue-row  { grid-template-columns: 1fr; }
    .cue-form { padding: 1.25rem 1rem; }
}
