/* ============================================================
   POPUP MODAL — CF7 Form Styling
   File: acme-pro/css/main.css
   ============================================================ */

#Quote .modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

#Quote .modal-header {
    background: linear-gradient(135deg, #1a3fa8 0%, #2756d4 100%);
    border-bottom: none;
    padding: 24px 28px 20px;
    border-radius: 0;
}

#Quote .modal-title {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 4px;
}

#Quote .modal-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
}

#Quote .btn-close {
    filter: invert(1);
    opacity: 0.8;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    padding: 6px;
    width: 32px;
    height: 32px;
}

#Quote .btn-close:hover {
    opacity: 1;
    background-color: rgba(255,255,255,0.3);
}

#Quote .modal-body {
    padding: 24px 28px 28px;
    background: #fff;
}

/* ── Form Fields ──────────────────────────────────────────── */
#Quote .wpcf7 .form-control,
#Quote .wpcf7 .form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 14px;
    color: #333;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    margin-bottom: 12px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

#Quote .wpcf7 .form-control:focus,
#Quote .wpcf7 .form-select:focus {
    border-color: #2756d4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(39,86,212,0.1);
}

#Quote .wpcf7 .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

#Quote .wpcf7 .form-field-block {
    margin-bottom: 0;
}

/* ── Checkbox ─────────────────────────────────────────────── */
#Quote .wpcf7 .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 16px;
}

#Quote .wpcf7 .form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #2756d4;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

#Quote .wpcf7 .form-check-input:checked {
    background-color: #2756d4;
}

#Quote .wpcf7 .form-check label,
#Quote .wpcf7 .form-check span {
    font-size: 13px;
    color: #555;
}

#Quote .wpcf7 .form-check a {
    color: #2756d4;
    font-weight: 600;
}

/* ── Submit Button ────────────────────────────────────────── */
#Quote .wpcf7 .btn-accent,
#Quote .wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, #1a3fa8 0%, #2756d4 100%);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    text-transform: uppercase;
}

#Quote .wpcf7 .btn-accent:hover,
#Quote .wpcf7 input[type="submit"]:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* ── HR Divider ───────────────────────────────────────────── */
#Quote .wpcf7 hr {
    border-color: #eee;
    margin: 4px 0 8px;
}

/* ── Canada Province (hidden by default) ─────────────────── */
#canada-province-wrap {
    display: none;
}

/* ── Validation Messages ──────────────────────────────────── */
#Quote .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #e53e3e;
    margin-top: -8px;
    margin-bottom: 8px;
    display: block;
}

#Quote .wpcf7-response-output {
    display: none !important;
}