/* SNGPL Guided Bill Check v1.1.0 — restyled to the competitor-matched layout
   (homepage-design-spec.md §4), using OUR colours only:
   SNGPL green #7ED957, palette blue #2B6CB0, Kadence palette greys.
   No copied competitor CSS. One small file, no webfonts, no images. */

.gbc-tool { box-sizing: border-box; max-width: 520px; margin: 30px auto; font-family: inherit; color: #1c2733; line-height: 1.55; }
.gbc-tool *, .gbc-tool *::before, .gbc-tool *::after { box-sizing: border-box; }

.gbc-tool h2 { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.3; }
.gbc-intro { margin: 0 0 20px; color: #4a5a68; }

/* Tabs — 2-column grid, side by side at every width (spec #28: never stack) */
.gbc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.gbc-tab { position: relative; background: #fff; border: 2px solid #eee; border-radius: 14px; padding: 16px 12px; cursor: pointer; text-align: center; overflow: hidden; font: inherit; transition: all .3s ease; }
.gbc-tab::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; opacity: 0; transition: opacity .3s; }
.gbc-tab:hover { border-color: #718096; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.gbc-tab--sngpl.is-active { border-color: #7ED957; background: #EDF2F7; box-shadow: 0 4px 16px rgba(126,217,87,.15); }
.gbc-tab--sngpl.is-active::before { background: #7ED957; opacity: 1; }
.gbc-tab--ssgc.is-active { border-color: #2B6CB0; background: #EDF2F7; box-shadow: 0 4px 16px rgba(43,108,176,.15); }
.gbc-tab--ssgc.is-active::before { background: #2B6CB0; opacity: 1; }
.gbc-tab-badge { display: inline-block; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 5px; margin-bottom: 6px; letter-spacing: .8px; text-transform: uppercase; background: #EDF2F7; color: #1A202C; }
.gbc-tab-name { display: block; font-size: 16px; font-weight: 700; color: #2D3748; margin-bottom: 2px; }
.gbc-tab-sub { display: block; font-size: 10px; color: #4A5568; margin-bottom: 6px; }
.gbc-tab-area { display: block; font-size: 10px; color: #718096; line-height: 1.4; }
.gbc-tab-cities { display: block; font-size: 10px; color: #4A5568; font-weight: 500; }
.gbc-tab:focus-visible, .gbc-submit:focus-visible, .gbc-copy:focus-visible, .gbc-open:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }

/* Form card */
.gbc-panel { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,.06); }

.gbc-label { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: #4A5568; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.gbc-label-hint { font-weight: 400; text-transform: none; letter-spacing: 0; color: #718096; }
.gbc-input { display: block; width: 100%; padding: 13px 16px; border: 2px solid #eee; border-radius: 10px; font: inherit; font-size: 18px; font-weight: 600; letter-spacing: 1.5px; color: #2D3748; margin-bottom: 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.gbc-input::placeholder { color: #aaa; font-weight: 400; letter-spacing: 0; font-size: 14px; }
.gbc-tool[data-company="sngpl"] .gbc-input:focus { border-color: #7ED957; box-shadow: 0 0 0 3px rgba(126,217,87,.15); }
.gbc-tool[data-company="ssgc"] .gbc-input:focus { border-color: #2B6CB0; box-shadow: 0 0 0 3px rgba(43,108,176,.15); }
.gbc-input[aria-invalid="true"] { border-color: #b3261e; }
.gbc-error { margin: 8px 0 0; color: #ff4d4d; font-size: 14px; font-weight: 500; min-height: 1.4em; }
.gbc-error[hidden] { display: none; }
.gbc-hint { margin: 8px 0 16px; color: #4a5a68; font-size: .92rem; }

.gbc-submit, .gbc-copy, .gbc-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 20px; border: 0; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: all .2s; }
.gbc-submit { width: 100%; }
.gbc-submit:hover { transform: translateY(-1px); }
.gbc-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.gbc-tool[data-company="sngpl"] .gbc-submit { background: #7ED957; color: #fff; box-shadow: 0 4px 14px rgba(126,217,87,.3); }
.gbc-tool[data-company="sngpl"] .gbc-submit:hover { background: #6cc24a; }
.gbc-tool[data-company="ssgc"] .gbc-submit { background: #2B6CB0; color: #fff; box-shadow: 0 4px 14px rgba(43,108,176,.2); }
.gbc-tool[data-company="ssgc"] .gbc-submit:hover { background: #215387; }

.gbc-steps { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eee; }
.gbc-steps[hidden] { display: none; }
.gbc-steps-list { margin: 0 0 16px; padding-left: 22px; }
.gbc-steps-list li { margin-bottom: 8px; }
.gbc-number-display { margin: 0 0 12px; font-size: 1.05rem; }
.gbc-number-value { font-size: 1.2rem; letter-spacing: .08em; word-break: break-all; }
.gbc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gbc-copy { background: #eef2f5; color: #1c2733; border: 2px solid #eee; }
.gbc-copy:hover { transform: translateY(-1px); }
.gbc-tool[data-company="sngpl"] .gbc-open { background: #7ED957; color: #fff; box-shadow: 0 4px 14px rgba(126,217,87,.3); }
.gbc-tool[data-company="ssgc"] .gbc-open { background: #2B6CB0; color: #fff; box-shadow: 0 4px 14px rgba(43,108,176,.2); }
.gbc-open:hover { transform: translateY(-1px); }
.gbc-copy-status { margin: 10px 0 0; color: #1b7a3d; font-weight: 700; min-height: 1.4em; }
.gbc-note { margin: 12px 0 0; color: #4a5a68; font-size: .92rem; }
.gbc-disclaimer { margin: 16px 0 0; text-align: center; font-size: 10px; color: #718096; line-height: 1.6; }

@media (max-width: 480px) {
    .gbc-panel { padding: 16px; }
    .gbc-actions { flex-direction: column; }
    .gbc-copy, .gbc-open { width: 100%; }
}
