/* ═══════════════════════════════════════
 * Federal Apostille UX Suite — Frontend
 * Matches federalapostille.org design:
 *   Primary: #0a3d62  Body text: #245897
 *   Headings: Source Serif Pro   UI: Cabin
 *   Buttons: square corners, 0px radius
 * ═══════════════════════════════════════ */

/* ── Buttons ── */
.faux-btn-primary {
    display: inline-block;
    background: #0a3d62;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 0;
    font-family: Cabin, sans-serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.2px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.faux-btn-primary:hover { background: #245897; color: #fff; }

.faux-btn-secondary {
    display: inline-block;
    background: transparent;
    color: #0a3d62;
    border: 2px solid #0a3d62;
    padding: 13px 28px;
    border-radius: 0;
    font-family: Cabin, sans-serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.2px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.faux-btn-secondary:hover { background: #0a3d62; color: #fff; }

.faux-btn-sm { padding: 10px 20px; font-size: 15px; }

/* ── Forms ── */
.faux-form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.faux-form-group {
    flex: 1;
    min-width: 200px;
}
.faux-form-group label {
    display: block;
    font-family: Cabin, sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #0a3d62;
}
.faux-form-group input,
.faux-form-group select,
.faux-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c5c5c5;
    border-radius: 0;
    font-family: "Source Serif Pro", Georgia, serif;
    font-size: 15px;
    color: #245897;
    background: #fff;
    transition: border-color 0.2s;
}
.faux-form-group input:focus,
.faux-form-group select:focus,
.faux-form-group textarea:focus {
    outline: none;
    border-color: #0a3d62;
    box-shadow: none;
}
.faux-form-full { min-width: 100%; }
.faux-form-submit { margin-top: 20px; display: flex; align-items: center; gap: 16px; }
.required { color: #b91c1c; }
.faux-status { font-family: Cabin, sans-serif; font-size: 14px; }
.faux-status.success { color: #0a3d62; }
.faux-status.error { color: #b91c1c; }

/* ── Module 1: Checklist ── */
.faux-checklist-wrap {
    max-width: 700px;
    margin: 0 auto;
    font-family: "Source Serif Pro", Georgia, serif;
    color: #245897;
}
.faux-checklist-wrap h3 {
    font-family: "Source Serif Pro", Georgia, serif;
    color: #0a3d62;
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 8px;
}
.faux-checklist-intro { color: #245897; margin-bottom: 24px; }

#faux-checklist-results {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e5e5e5;
}
.faux-cl-header {
    background: #0a3d62;
    color: #fff;
    padding: 20px 24px;
    border-radius: 0;
    margin-bottom: 24px;
}
.faux-cl-header h4 {
    margin: 0;
    font-family: "Source Serif Pro", Georgia, serif;
    font-size: 20px;
    font-weight: 400;
}
.faux-cl-header p { margin: 4px 0 0; opacity: 0.85; font-size: 14px; font-family: Cabin, sans-serif; }

.faux-cl-badges { display: flex; gap: 10px; margin: 16px 0 24px; flex-wrap: wrap; }
.faux-cl-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 0;
    font-family: Cabin, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.faux-cl-badge-hague { background: #e8f0f6; color: #0a3d62; border: 1px solid #0a3d62; }
.faux-cl-badge-nonhague { background: #fef3e2; color: #7c4a00; border: 1px solid #c48200; }
.faux-cl-badge-federal { background: #e8f0f6; color: #245897; border: 1px solid #245897; }
.faux-cl-badge-state { background: #f6f6f6; color: #245897; border: 1px solid #245897; }

.faux-cl-list { list-style: none; padding: 0; counter-reset: step; }
.faux-cl-list li {
    padding: 18px 16px 18px 60px;
    position: relative;
    border-left: 2px solid #e5e5e5;
    margin-bottom: 0;
    counter-increment: step;
}
.faux-cl-list li::before {
    content: counter(step);
    position: absolute;
    left: 14px;
    top: 18px;
    width: 28px;
    height: 28px;
    background: #f6f6f6;
    border-radius: 0;
    text-align: center;
    line-height: 28px;
    font-family: Cabin, sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #245897;
}
.faux-cl-list li.faux-cl-important { border-left-color: #0a3d62; }
.faux-cl-list li.faux-cl-important::before { background: #0a3d62; color: #fff; }
.faux-cl-step-title {
    font-family: Cabin, sans-serif;
    font-weight: 700;
    color: #0a3d62;
    font-size: 15px;
}
.faux-cl-step-detail {
    font-family: "Source Serif Pro", Georgia, serif;
    color: #245897;
    font-size: 14px;
    margin-top: 4px;
    line-height: 1.6;
}

.faux-cl-notes {
    background: #f6f6f6;
    border-left: 3px solid #0a3d62;
    padding: 16px 20px;
    border-radius: 0;
    margin-top: 24px;
}
.faux-cl-notes h4 {
    margin: 0 0 8px;
    color: #0a3d62;
    font-family: Cabin, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.faux-cl-notes ul { margin: 0; padding-left: 20px; }
.faux-cl-notes li { color: #245897; font-size: 14px; margin-bottom: 6px; }

.faux-cl-cta {
    text-align: center;
    margin-top: 30px;
    padding: 24px;
    background: #f6f6f6;
    border-radius: 0;
}
.faux-cl-cta p {
    font-family: Cabin, sans-serif;
    color: #0a3d62;
    margin-bottom: 12px;
}

/* ── Module 2: Estimator ── */
.faux-estimator-wrap {
    max-width: 1000px;
    margin: 0 auto;
    font-family: "Source Serif Pro", Georgia, serif;
    color: #245897;
}
.faux-estimator-wrap h3 {
    font-family: "Source Serif Pro", Georgia, serif;
    color: #0a3d62;
    font-weight: 400;
    font-size: 28px;
}
.faux-estimator-intro { color: #245897; margin-bottom: 24px; }

.faux-estimator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.faux-est-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 24px;
    transition: border-color 0.2s;
}
.faux-est-card:hover { border-color: #0a3d62; }
.faux-est-card h4 {
    margin: 0 0 16px;
    color: #0a3d62;
    font-family: "Source Serif Pro", Georgia, serif;
    font-size: 18px;
    font-weight: 400;
}

.faux-est-speeds { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.faux-est-speed {
    flex: 1;
    min-width: 80px;
    text-align: center;
    padding: 12px 8px;
    background: #f6f6f6;
    border-radius: 0;
}
.faux-est-badge {
    display: block;
    font-family: Cabin, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #245897;
    margin-bottom: 4px;
}
.faux-badge-rush { color: #0a3d62; }
.faux-badge-sameday { color: #0a3d62; }
.faux-est-time {
    display: block;
    font-family: Cabin, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0a3d62;
}
.faux-est-unit { display: block; font-size: 12px; color: #245897; font-family: Cabin, sans-serif; }
.faux-est-price {
    display: block;
    margin-top: 6px;
    font-family: Cabin, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a3d62;
}

.faux-est-notes { font-size: 13px; color: #245897; margin-bottom: 12px; line-height: 1.6; }

.faux-est-delivery {
    background: #f6f6f6;
    padding: 10px 14px;
    border-radius: 0;
    border-left: 3px solid #0a3d62;
    font-family: Cabin, sans-serif;
    font-size: 14px;
    color: #0a3d62;
    margin-bottom: 12px;
}
.faux-est-includes { list-style: none; padding: 0; margin: 0; }
.faux-est-includes li {
    padding: 4px 0 4px 20px;
    position: relative;
    font-size: 13px;
    color: #245897;
}
.faux-est-includes li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #0a3d62;
    font-weight: bold;
}

/* Inline estimates */
.faux-inline-estimate {
    display: inline;
    font-family: Cabin, sans-serif;
    font-weight: 700;
    color: #0a3d62;
}
.faux-delivery-date {
    display: inline-block;
    background: #f6f6f6;
    padding: 8px 14px;
    border-radius: 0;
    border-left: 3px solid #0a3d62;
    font-family: Cabin, sans-serif;
    font-size: 14px;
    color: #0a3d62;
}

/* WooCommerce product page estimate */
.faux-product-estimate {
    background: #f6f6f6;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 20px;
    margin: 16px 0;
}
.faux-pe-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-family: Cabin, sans-serif;
    font-size: 14px;
    color: #245897;
}
.faux-pe-icon { font-size: 16px; min-width: 24px; color: #0a3d62; }
.faux-pe-delivery {
    margin-top: 14px;
    padding: 12px 14px;
    background: #fff;
    border-left: 3px solid #0a3d62;
    border-radius: 0;
    font-family: Cabin, sans-serif;
    font-size: 14px;
    color: #0a3d62;
}

/* ── Module 3: Comparison Table ── */
.faux-comparison-wrap {
    max-width: 900px;
    margin: 0 auto;
    font-family: "Source Serif Pro", Georgia, serif;
    color: #245897;
}
.faux-comp-title {
    text-align: center;
    margin-bottom: 24px;
    color: #0a3d62;
    font-family: "Source Serif Pro", Georgia, serif;
    font-weight: 400;
}

.faux-comp-table-wrap { overflow-x: auto; margin-bottom: 30px; }
.faux-comp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 0;
    border: 1px solid #e5e5e5;
}
.faux-comp-table th {
    padding: 16px;
    font-family: Cabin, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
}
.faux-comp-table thead th:first-child { background: #f6f6f6; color: #245897; width: 20%; }
.faux-comp-apostille { background: #0a3d62; color: #fff; }
.faux-comp-legalization { background: #245897; color: #fff; }
.faux-comp-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #245897;
    line-height: 1.5;
}
.faux-comp-category-cell {
    font-family: Cabin, sans-serif;
    font-weight: 600;
    background: #f6f6f6;
    color: #0a3d62;
}
.faux-winner { background: #eef4fa !important; }
.faux-check-icon { color: #0a3d62; font-weight: bold; margin-right: 6px; }

.faux-comp-when {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.faux-comp-when-col {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 0;
    padding: 24px;
    border: 1px solid #e5e5e5;
}
.faux-comp-when-apostille { border-top: 3px solid #0a3d62; }
.faux-comp-when-legal { border-top: 3px solid #245897; }
.faux-comp-when-col h3 {
    margin: 0 0 12px;
    font-family: "Source Serif Pro", Georgia, serif;
    font-size: 18px;
    color: #0a3d62;
    font-weight: 400;
}
.faux-comp-when-col ul { margin: 0; padding-left: 20px; }
.faux-comp-when-col li { padding: 4px 0; font-size: 14px; color: #245897; }

.faux-comp-note {
    text-align: center;
    padding: 16px 20px;
    background: #f6f6f6;
    border-radius: 0;
    font-family: Cabin, sans-serif;
    font-size: 14px;
    color: #0a3d62;
    margin-bottom: 20px;
}
.faux-comp-note a { color: #0a3d62; text-decoration: underline; }
.faux-comp-cta { text-align: center; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Mini comparison */
.faux-comp-mini { max-width: 500px; margin: 20px auto; }
.faux-comp-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Cabin, sans-serif;
    font-size: 14px;
    border: 1px solid #e5e5e5;
}
.faux-comp-mini-table th { padding: 10px 12px; background: #0a3d62; color: #fff; text-align: left; }
.faux-comp-mini-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; color: #245897; }

/* ── Module 4: Callback Form ── */
.faux-callback-wrap {
    max-width: 700px;
    margin: 0 auto;
    font-family: "Source Serif Pro", Georgia, serif;
    color: #245897;
}
.faux-callback-wrap h3 {
    font-family: "Source Serif Pro", Georgia, serif;
    color: #0a3d62;
    font-weight: 400;
    font-size: 28px;
}
.faux-callback-intro { color: #245897; margin-bottom: 24px; }
.faux-success-msg {
    text-align: center;
    padding: 40px 20px;
}
.faux-success-icon {
    width: 48px;
    height: 48px;
    line-height: 48px;
    background: #0a3d62;
    color: #fff;
    border-radius: 0;
    display: inline-block;
    font-size: 24px;
    margin-bottom: 16px;
}
.faux-success-msg h4 {
    color: #0a3d62;
    font-family: "Source Serif Pro", Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    margin: 0 0 8px;
}
.faux-success-msg p { color: #245897; }

/* Floating callback button */
.faux-float-callback {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99999;
    font-family: Cabin, sans-serif;
}
.faux-float-cb-btn {
    background: #0a3d62;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 0;
    font-family: Cabin, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(10,61,98,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}
.faux-float-cb-btn:hover { background: #245897; }
.faux-float-icon { font-size: 16px; }

.faux-float-cb-panel {
    position: absolute;
    bottom: 54px;
    left: 0;
    width: 300px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border: 1px solid #e5e5e5;
    overflow: hidden;
}
.faux-float-cb-header {
    background: #0a3d62;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Cabin, sans-serif;
    font-size: 15px;
    font-weight: 500;
}
.faux-float-cb-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.faux-float-cb-form {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faux-float-cb-form input,
.faux-float-cb-form select {
    padding: 10px 12px;
    border: 1px solid #c5c5c5;
    border-radius: 0;
    font-family: "Source Serif Pro", Georgia, serif;
    font-size: 14px;
    color: #245897;
}
.faux-float-cb-or {
    text-align: center;
    padding: 12px;
    border-top: 1px solid #e5e5e5;
    font-family: Cabin, sans-serif;
    font-size: 13px;
    color: #245897;
}
.faux-float-cb-or a { color: #0a3d62; font-weight: 700; }

#faux-float-cb-done {
    text-align: center;
    padding: 20px;
    color: #0a3d62;
    font-family: Cabin, sans-serif;
    font-weight: 600;
    font-size: 16px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .faux-form-row { flex-direction: column; gap: 12px; }
    .faux-form-group { min-width: 100%; }
    .faux-comp-when { flex-direction: column; }
    .faux-estimator-grid { grid-template-columns: 1fr; }
    .faux-float-cb-panel { width: 280px; }
    .faux-comp-table { font-size: 12px; }
    .faux-comp-table th, .faux-comp-table td { padding: 10px; }
}
