/* ===== TelcoFinder Hub mock — shared styles ===== */
:root {
  --navy: #0e2a5e;
  --navy-700: #14264f;
  --navy-900: #0a1f47;
  --blue: #1f6fe5;
  --blue-600: #1a5fcc;
  /* TelcoFinder accent (teal) — distinct from any real-brand palette */
  --orange: #0fb5a6;        /* legacy var name; rethemed to TelcoFinder teal */
  --orange-600: #0c9488;
  --accent: #0fb5a6;
  --accent-600: #0c9488;
  --green: #2f9e44;
  --green-bg: #e6f4ea;
  --gray-50: #f5f6f8;
  --gray-100: #eef0f4;
  --gray-200: #e2e6ee;
  --gray-300: #cfd6e2;
  --gray-500: #6b7588;
  --gray-700: #3d4456;
  --ink: #1b2333;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(16, 30, 70, .08), 0 6px 24px rgba(16, 30, 70, .06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; padding: 11px 18px; cursor: pointer;
  text-decoration: none; transition: background .15s, border-color .15s, color .15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-600); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--gray-300); }
.btn-outline:hover { background: var(--gray-50); }
.btn-ghost { background: transparent; color: var(--blue); padding: 8px 10px; }
.btn-block { width: 100%; }
.btn-lg { padding: 13px 22px; font-size: 15px; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---- top app header (post-login) ---- */
.app-header {
  display: flex; align-items: center; gap: 28px;
  padding: 0 28px; height: 64px;
  border-bottom: 1px solid var(--gray-200); background: #fff;
  position: sticky; top: 0; z-index: 40;
}
.app-header .brand img { height: 30px; display: block; }
.app-nav { display: flex; gap: 22px; margin-left: 8px; flex: 1; }
.app-nav a {
  color: var(--navy-700); font-size: 14px; font-weight: 600;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.app-nav a:hover { color: var(--blue); text-decoration: none; }
.app-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.app-icons { display: flex; align-items: center; gap: 16px; }
.app-icons .icon-btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy); background: var(--gray-50); border: 1px solid var(--gray-200);
  cursor: pointer; font-size: 15px;
}
.app-icons .avatar { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }

/* ---- page shells ---- */
.page { max-width: 1180px; margin: 0 auto; padding: 28px; }
.page-wide { max-width: 1320px; }
.muted { color: var(--gray-500); }
.center { text-align: center; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .4em; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--blue); }

.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 12px;
  box-shadow: var(--shadow); padding: 22px;
}
.panel-head {
  display: flex; align-items: center; gap: 10px;
  background: var(--gray-50); border: 1px solid var(--gray-200); border-bottom: none;
  border-radius: 12px 12px 0 0; padding: 14px 20px; font-weight: 700; color: var(--navy-700);
}
.panel-body { border: 1px solid var(--gray-200); border-radius: 0 0 12px 12px; padding: 20px; background: #fff; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---- forms ---- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.input, select.input {
  width: 100%; padding: 11px 13px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--gray-300); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,229,.15); }
.input-row { display: flex; gap: 14px; }
.input-row > .field { flex: 1; }
.hint { font-size: 12px; color: var(--gray-500); margin-top: 6px; }
.form-error { color: #c0392b; font-size: 13px; margin: 8px 0; min-height: 18px; }

/* ---- badges & tables ---- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-blue { background: #e7f0fe; color: var(--blue); }
.badge-orange { background: #fdf0d9; color: #a9710b; }
.badge-gray { background: var(--gray-100); color: var(--gray-700); }

table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th {
  text-align: left; font-weight: 700; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200); padding: 11px 12px; background: var(--gray-50);
  white-space: nowrap;
}
table.data td { padding: 12px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
table.data tr:hover td { background: #fafbfd; }

/* ---- stepper ---- */
.stepper { display: flex; align-items: center; justify-content: center; gap: 0; margin: 26px 0 30px; }
.stepper .step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; flex: 1; max-width: 220px; }
.stepper .dot {
  width: 26px; height: 26px; border-radius: 50%; background: #fff;
  border: 2px solid var(--gray-300); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--gray-500); z-index: 2;
}
.stepper .step.active .dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.stepper .step.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.stepper .step.active .label, .stepper .step.done .label { color: var(--ink); font-weight: 600; }
.stepper .label { font-size: 13px; color: var(--gray-500); }
.stepper .step:not(:last-child)::after {
  content: ""; position: absolute; top: 13px; left: 50%; width: 100%; height: 2px; background: var(--gray-200); z-index: 1;
}
.stepper .step.done:not(:last-child)::after { background: var(--green); }

/* ---- provider results ---- */
.provider-cell { display: flex; align-items: center; gap: 12px; }
.provider-logo {
  width: 40px; height: 40px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: #fff; letter-spacing: .3px;
}
.provider-name { font-weight: 700; color: var(--navy-700); }
.price { font-weight: 800; color: var(--ink); }
.price small { font-weight: 600; color: var(--gray-500); }

.filter-bar { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-bottom: 18px; }
.filter-bar .field { margin-bottom: 0; }
.summary-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--navy); color: #fff; border-radius: 12px; padding: 16px 22px; margin-bottom: 20px; flex-wrap: wrap;
}
.summary-bar .addr { font-size: 15px; font-weight: 600; }
.summary-bar .meta { color: #bcd0f5; font-size: 13px; }

/* ---- notice / banner ---- */
.notice { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 18px; }
.notice-info { background: #e7f0fe; color: #14264f; border: 1px solid #c9ddfb; }
.notice-success { background: var(--green-bg); color: #1e6b30; border: 1px solid #b9e0c4; }
.promo-banner {
  background: linear-gradient(90deg, var(--navy) 0%, #1c3d82 100%);
  color: #fff; border-radius: 12px; padding: 16px 22px; display: flex;
  align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px;
}
.promo-banner h3 { color: #fff; margin: 0; font-size: 16px; }

/* ---- timeline (tracking) ---- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 26px 34px; }
.timeline li::before {
  content: ""; position: absolute; left: 9px; top: 4px; bottom: -4px; width: 2px; background: var(--gray-200);
}
.timeline li:last-child::before { display: none; }
.timeline .tdot {
  position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gray-300); display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--gray-500);
}
.timeline li.done .tdot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.current .tdot { background: var(--blue); border-color: var(--blue); color: #fff; }
.timeline .t-title { font-weight: 700; }
.timeline .t-meta { font-size: 12.5px; color: var(--gray-500); }

/* ---- footer ---- */
.app-footer { border-top: 1px solid var(--gray-200); color: var(--gray-500); font-size: 13px; padding: 22px 28px; text-align: center; }

/* ---- marketing (homepage) ---- */
.mk-topbar { background: var(--navy-900); color: #cdd9f0; font-size: 12.5px; padding: 7px 28px; display: flex; justify-content: flex-end; gap: 18px; }
.mk-topbar a { color: #cdd9f0; }
.mk-nav { display: flex; align-items: center; gap: 28px; padding: 14px 28px; border-bottom: 1px solid var(--gray-200); }
.mk-nav .brand img { height: 30px; }
.mk-nav .links { display: flex; gap: 22px; flex: 1; }
.mk-nav .links a { color: var(--navy-700); font-weight: 600; font-size: 14px; }
.mk-hero { background: linear-gradient(120deg, var(--navy-900) 0%, #12306e 60%, #1a3f86 100%); color: #fff; padding: 70px 28px; }
.mk-hero .wrap { max-width: 1180px; margin: 0 auto; }
.mk-hero h1 { color: #fff; font-size: 46px; line-height: 1.08; max-width: 640px; margin-bottom: 18px; }
.mk-hero h1 .hl { color: var(--orange); }
.mk-hero p { color: #cdd9f0; font-size: 18px; max-width: 560px; margin-bottom: 28px; }
.mk-strip { background: var(--gray-50); padding: 60px 28px; }
.mk-strip .wrap { max-width: 1180px; margin: 0 auto; }
.mk-strip h2 { font-size: 30px; text-align: center; margin-bottom: 36px; }
.cookie {
  position: fixed; left: 20px; bottom: 20px; max-width: 320px; background: var(--blue);
  color: #fff; padding: 18px; border-radius: 10px; font-size: 13px; box-shadow: var(--shadow); z-index: 60;
}
.cookie a { color: #fff; text-decoration: underline; }
.cookie .btn { margin-top: 12px; }

/* login split */
.login-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.login-left { display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-card { width: 100%; max-width: 360px; }
.login-card .logo { height: 34px; margin-bottom: 26px; }
.login-card h1 { font-size: 30px; line-height: 1.15; margin-bottom: 26px; }
.login-right { background: var(--navy); display: flex; align-items: center; justify-content: center; }
@media (max-width: 820px) { .login-wrap { grid-template-columns: 1fr; } .login-right { display: none; } }

.text-sm { font-size: 13px; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; }
.flex { display: flex; } .between { justify-content: space-between; } .items-center { align-items: center; } .gap { gap: 12px; }
.right { text-align: right; }
