/* GSB application styles on top of the MAF framework. Brand colours from the logo. */

.maf-main { max-width: 1100px; margin: 0 auto; }

/* Navigation strip (inside the offset main area, below the fixed top bar) */
.gsb-nav { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.gsb-nav__btn--active { background: rgba(26, 77, 153, 0.10) !important; color: #1a4d99 !important; font-weight: 600; border-radius: 8px; }

/* Catalog cards */
.gsb-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.gsb-features { margin: 0; padding-left: 18px; }
.gsb-features li { padding: 2px 0; font-size: 14px; }

/* Order form (inside popup) */
.gsb-order-form { display: flex; flex-direction: column; gap: 4px; }
.gsb-product-line { margin: 0 0 10px; font-weight: 600; color: #1a4d99; }
.gsb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gsb-addr { margin-top: 10px; font-size: 14px; min-height: 18px; }
.gsb-addr--ok { color: #119971; font-weight: 600; }
.gsb-addr--err { color: #be2c82; }
.gsb-form-msg { color: #be2c82; font-size: 13px; min-height: 18px; margin-top: 6px; }

/* Status page */
.gsb-search { display: flex; gap: 10px; align-items: flex-end; max-width: 520px; margin-bottom: 22px; }
.gsb-search .maf-textbox { flex: 1; }
.gsb-status-result .maf-card { margin-bottom: 16px; }
.gsb-status-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.gsb-status-num { font-size: 18px; font-weight: 700; color: #1a4d99; }
.gsb-muted { opacity: 0.7; font-size: 14px; }
.gsb-notes .gsb-note { padding: 8px 0; border-top: 1px solid #eee; font-size: 14px; }
.gsb-cancelbar { margin-top: 16px; }

/* Status stepper — status dots with a matching icon */
.gsb-stepper { display: flex; margin-top: 24px; }
.gsb-step { flex: 1; text-align: center; position: relative; font-size: 13px; color: var(--maf-color-text-subtle); }
.gsb-step:not(:last-child)::after {
    content: ""; position: absolute; top: 21px; left: 50%; width: 100%; height: 3px;
    background: var(--maf-grey-300); z-index: 0; border-radius: 2px;
}
.gsb-step.is-passed:not(:last-child)::after { background: var(--maf-green); }
.gsb-step__dot {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--maf-grey-200); color: var(--maf-grey-500);
    margin: 0 auto 10px; position: relative; z-index: 1;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.gsb-step__dot svg { width: 22px; height: 22px; }
.gsb-step.is-done .gsb-step__dot { background: var(--maf-green); color: #fff; }
.gsb-step.is-current .gsb-step__dot { background: var(--maf-blue); color: #fff; box-shadow: 0 0 0 4px rgba(26, 77, 153, 0.18); }
.gsb-step__lbl { display: block; font-weight: 500; }
.gsb-step.is-current .gsb-step__lbl { color: var(--maf-blue); font-weight: 700; }
