/* ── Compare Form Styles ─────────────────────────────────────────── */
.ghf-compare-wrap {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.ghf-c-header {
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.ghf-c-logo { height: 44px; width: auto; object-fit: contain; }
.ghf-c-logo-text { color: #fff; font-size: 20px; font-weight: 700; }
.ghf-c-header-text h2 { color: #fff; font-size: 18px; font-weight: 600; margin: 0; }
.ghf-c-header-text p  { color: rgba(255,255,255,0.65); font-size: 12px; margin: 3px 0 0; }
.ghf-c-greenbar { height: 3px; }
.ghf-c-body { padding: 22px 24px; }

.ghf-c-section-bar {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
}

/* Term selector */
.ghf-c-terms { display: flex; gap: 8px; margin-bottom: 22px; }
.ghf-c-term-btn {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 11px 8px;
    text-align: center;
    cursor: pointer;
    background: #fff;
}
.ghf-c-term-btn:hover { border-color: #aaa; }
.ghf-c-term-active { border-width: 2px !important; background: #f2faf4 !important; }
.ghf-c-term-months { font-size: 15px; font-weight: 600; color: #1a1a1a; }
.ghf-c-term-mult   { font-size: 11px; color: #888; margin-top: 3px; }

/* Provider row */
.ghf-c-provider-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff5f5;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.ghf-c-prov-icon {
    width: 38px; height: 38px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ghf-c-prov-field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 180px; }
.ghf-c-prov-field label { font-size: 11px; font-weight: 600; color: #7f1d1d; text-transform: uppercase; letter-spacing: 0.05em; }
.ghf-c-prov-field input {
    border: 1px solid #fcc; border-radius: 6px;
    padding: 9px 12px; font-size: 14px; color: #7f1d1d;
    background: #fff; outline: none;
}
.ghf-c-prov-field input:focus { border-color: #c0392b; }
.ghf-c-prov-field input::placeholder { color: #e08080; }
.ghf-c-prov-hint { font-size: 11px; color: #aaa; align-self: flex-end; }

/* Table */
.ghf-c-table-wrap {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
    overflow-x: auto;
}
.ghf-c-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ghf-c-table thead tr { background: #f5f5f5; }
.ghf-c-table th {
    padding: 9px 10px;
    font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    color: #666; border-bottom: 1px solid #e8e8e8;
    text-align: left; white-space: nowrap;
}
.ghf-c-th-comp { background: #fff5f5 !important; color: #a32d2d !important; }
.ghf-c-th-gt   { background: #f2faf4 !important; color: #1a7a3a !important; }
.ghf-c-th-sv   { background: #f2faf4 !important; color: #1a7a3a !important; }
.ghf-c-table td { padding: 8px 10px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.ghf-c-svc-row:nth-child(even) td { background: #fafafa; }
.ghf-c-svc-row.ghf-c-off td { opacity: 0.4; }

/* Toggle */
.ghf-c-toggle {
    display: inline-block;
    width: 28px; height: 16px;
    border-radius: 8px; background: #ddd;
    vertical-align: middle; margin-right: 7px;
    cursor: pointer; position: relative;
}
.ghf-c-toggle::after {
    content: ''; position: absolute;
    top: 2px; left: 2px;
    width: 12px; height: 12px;
    border-radius: 50%; background: #fff;
    transition: left 0.15s;
}
.ghf-c-toggle.on::after { left: 14px; }

/* Inputs */
.ghf-c-qty {
    width: 50px; text-align: center;
    border: 1px solid #ddd; border-radius: 5px;
    padding: 5px 4px; font-size: 13px; background: #fff;
}
.ghf-c-comp-price {
    width: 100%;
    border: 1px solid #fcc; border-radius: 5px;
    padding: 5px 8px; font-size: 13px;
    background: #fff8f8; color: #a32d2d;
}
.ghf-c-comp-price::placeholder { color: #e08080; font-size: 12px; }
.ghf-c-comp-price:focus { border-color: #c0392b; outline: none; }

.ghf-c-monthly { font-size: 13px; color: #555; }
.ghf-c-gt-price { font-weight: 600; font-size: 13px; color: #1a7a3a; }
.ghf-c-saving { font-size: 12px; font-weight: 600; }
.ghf-c-saving.pos { color: #1a7a3a; }
.ghf-c-saving.neg { color: #a32d2d; }
.ghf-c-total-row td { font-size: 13px; border: none; padding: 10px; }

/* Summary */
.ghf-c-summary {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid #e8e8e8; border-radius: 8px;
    overflow: hidden; margin-bottom: 16px;
}
.ghf-c-sum-card { padding: 14px 16px; text-align: center; background: #f8f9f8; }
.ghf-c-sum-card:nth-child(2) { border-left: 1px solid #e8e8e8; border-right: 1px solid #e8e8e8; }
.ghf-c-sum-label { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 5px; }
.ghf-c-sum-val   { font-size: 22px; font-weight: 700; color: #1a1a1a; }
.ghf-c-sum-sub   { font-size: 10px; color: #aaa; margin-top: 3px; }

/* Callout */
.ghf-c-callout {
    border: 1px solid; border-radius: 8px;
    padding: 12px 16px; display: flex; align-items: center;
    gap: 12px; margin-bottom: 22px;
}
.ghf-c-callout-pill { color: #fff; font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.ghf-c-callout-msg  { font-size: 12px; color: #1a3a1a; line-height: 1.5; }

/* Notes */
.ghf-c-notes {
    width: 100%; border: 1px solid #e0e0e0; border-radius: 8px;
    padding: 12px 14px; font-size: 13px; font-family: inherit;
    color: #1a1a1a; resize: vertical; min-height: 80px;
    margin-bottom: 22px; outline: none; background: #fafafa;
}
.ghf-c-notes:focus { border-color: #aaa; }

/* Download button */
.ghf-c-dl-btn {
    width: 100%; padding: 14px; color: #fff;
    border: none; border-radius: 8px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    gap: 9px; font-family: inherit;
}
.ghf-c-dl-btn:hover   { opacity: 0.9; }
.ghf-c-dl-btn:disabled { opacity: 0.6; cursor: wait; }

@media (max-width: 640px) {
    .ghf-c-summary { grid-template-columns: 1fr; }
    .ghf-c-sum-card:nth-child(2) { border-left: none; border-right: none; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; }
    .ghf-c-terms { flex-wrap: wrap; }
    .ghf-c-term-btn { min-width: calc(50% - 4px); }
}
