/* imei-tac-database-info/css/tac.css - stilul paginii "IMEI TAC Database" (10.11.2026, v2)
   Culorile site-ului: teal #1d465a / #225c77, portocaliu #ff7c60 (decor). Butoanele folosesc un portocaliu mai inchis
   (#c94a2f) ca textul alb sa fie lizibil (contrast 4.6:1). Clasele noi incep cu tdb- si nu ating restul site-ului. */

.tdb-page {
  --tdb-navy: #173f52;
  --tdb-navy-2: #1d465a;
  --tdb-teal: #225c77;
  --tdb-coral: #ff7c60;
  --tdb-cta: #c94a2f;
  --tdb-cta-hover: #ab3a21;
  --tdb-text: #2d3c47;
  --tdb-muted: #5e6f7b;
  --tdb-line: #dce7f0;
  --tdb-soft: #f4f8fb;
  --tdb-link: #2f6fd1;
  background: #f4f8fb;
  color: var(--tdb-text);
}

/* ---------- butoane, focus ---------- */
.tdb-page .tdb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  padding: 13px 26px;
  border: 0;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.tdb-page .tdb-btn-primary { background: var(--tdb-cta); color: #fff; box-shadow: 0 8px 18px rgba(201, 74, 47, 0.28); }
.tdb-page .tdb-btn-primary:hover, .tdb-page .tdb-btn-primary:focus { background: var(--tdb-cta-hover); color: #fff; transform: translateY(-1px); }
.tdb-page .tdb-btn-light { background: #fff; color: var(--tdb-navy); }
.tdb-page .tdb-btn-light:hover, .tdb-page .tdb-btn-light:focus { background: #ffe9e3; color: var(--tdb-navy); }
.tdb-page .tdb-btn:disabled { opacity: 0.8; cursor: progress; transform: none; }
.tdb-page .awc a.btn, .tdb-page .awc a.btn:hover, .tdb-page .awc a.btn:focus { text-decoration: none; }
.tdb-page .awc a.tdb-btn-primary, .tdb-page .awc a.tdb-btn-primary:hover { color: #fff; }
.tdb-page .awc a.tdb-btn-light, .tdb-page .awc a.tdb-btn-light:hover { color: var(--tdb-navy); }

.tdb-page a:focus-visible,
.tdb-page button:focus-visible,
.tdb-page summary:focus-visible,
.tdb-page .tdb-table-wrap:focus-visible {
  outline: 3px solid #5aa9ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- hero ---------- */
.tdb-hero {
  margin-top: 82px;
  padding: 34px 0 46px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 124, 96, 0.22) 0, rgba(255, 124, 96, 0) 36%),
    radial-gradient(circle at 4% 96%, rgba(86, 205, 237, 0.16) 0, rgba(86, 205, 237, 0) 42%),
    linear-gradient(135deg, #12313f 0%, #1d465a 48%, #225c77 100%);
}
.tdb-hero .container { max-width: 1180px; }
.tdb-hero-row { align-items: flex-start; }

.tdb-crumbs { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-bottom: 18px; }
.tdb-crumbs a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.tdb-crumbs a:hover { color: #fff; text-decoration: underline; }
.tdb-crumbs span { margin: 0 6px; }

.tdb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.tdb-kicker .fa { color: var(--tdb-coral); }

.tdb-hero h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 52px;
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: #fff;
}
.tdb-lead {
  font-size: 19px;
  line-height: 1.55;
  max-width: 600px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
}

.tdb-search { max-width: 640px; }
.tdb-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.tdb-search-row {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 0;
  box-shadow: 0 18px 44px rgba(6, 24, 34, 0.32);
}
.tdb-search-ico { color: #8a9aa6; font-size: 18px; margin: 0 4px 0 22px; }
.tdb-search-row input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
  color: var(--tdb-text);
  padding: 12px 12px;
  letter-spacing: 0.02em;
}
.tdb-search-row input::placeholder { color: #66747e; letter-spacing: 0; }
.tdb-search-row:focus-within { box-shadow: 0 0 0 3px rgba(90, 169, 255, 0.7), 0 18px 44px rgba(6, 24, 34, 0.32); }
.tdb-search-row input[aria-invalid="true"] { color: #b3261e; }
.tdb-hint { margin: 12px 0 0 6px; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.tdb-hint strong { color: #fff; }
.tdb-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.tdb-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; }
.tdb-stats li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}
.tdb-stats .fa { color: var(--tdb-coral); margin-right: 4px; }
.tdb-stats strong { color: #fff; font-weight: 800; }

/* ---------- cardul Free TAC API din hero ---------- */
.tdb-api-card {
  position: relative;
  background: #fff;
  color: var(--tdb-text);
  border-radius: 22px;
  padding: 26px 26px 22px;
  margin-top: 6px;
  box-shadow: 0 24px 60px rgba(6, 24, 34, 0.42);
  overflow: hidden;
}
.tdb-api-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ff7c60 0%, #f7a35c 45%, #2f6fd1 100%);
}
.tdb-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--tdb-navy);
  border-radius: 999px;
  padding: 5px 12px;
}
.tdb-api-card h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--tdb-navy);
  margin: 12px 0 8px;
  letter-spacing: -0.02em;
}
.tdb-api-card p { color: #3a4b56; font-size: 15.5px; line-height: 1.55; margin: 0 0 12px; }
.tdb-api-points { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.tdb-api-points li { font-weight: 700; color: var(--tdb-navy); font-size: 15px; }
.tdb-api-points .fa { width: 22px; color: var(--tdb-cta); }
.tdb-mini-code pre {
  margin: 0 0 16px;
  background: #0f2a38;
  color: #e6f1f8;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
  overflow-x: auto;
}
.tdb-mini-code code { font-family: Consolas, Monaco, 'Courier New', monospace; color: inherit; }
.tdb-c-key { color: #8fd3ff; }
.tdb-c-str { color: #ffc3a8; }
.tdb-api-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tdb-api-card .tdb-link-light { color: var(--tdb-link); font-weight: 800; text-decoration: none; }
.tdb-api-card .tdb-link-light:hover { text-decoration: underline; }
.tdb-api-buy { margin: 14px 0 0 !important; font-size: 14px !important; color: var(--tdb-muted) !important; }
.tdb-api-buy a { color: var(--tdb-link); font-weight: 700; }

/* ---------- rezultat ---------- */
.tdb-result {
  max-width: 640px;
  margin: 18px 0 0;
  background: #fff;
  color: var(--tdb-text);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 18px 40px rgba(6, 24, 34, 0.28);
  border-top: 5px solid var(--tdb-coral);
  scroll-margin-top: 100px;
}
.tdb-result p { margin: 0 0 8px; color: #334550; }
.tdb-result p:last-child { margin-bottom: 0; }
.tdb-result a:not(.btn) { color: var(--tdb-link); font-weight: 700; }
.tdb-result--found { border-top-color: #1f9d73; }
.tdb-result--notfound, .tdb-result--limited, .tdb-result--busy { border-top-color: #e8a028; }
.tdb-result--luhn, .tdb-result--length, .tdb-result--empty, .tdb-result--invalid, .tdb-result--unavailable { border-top-color: #d64545; }
.tdb-result-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tdb-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--tdb-navy-2);
  background: #e8f1f7;
  border-radius: 999px;
  padding: 4px 12px;
}
.tdb-page .tdb-result-title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--tdb-navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.tdb-result-head .tdb-result-title { margin: 0; }
.tdb-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 0 0 12px; }
.tdb-dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tdb-dl > div { background: var(--tdb-soft); border: 1px solid #e3edf4; border-radius: 12px; padding: 10px 14px; }
.tdb-dl dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--tdb-muted); font-weight: 800; margin: 0 0 2px; }
.tdb-dl dd { margin: 0; font-size: 17px; font-weight: 800; color: var(--tdb-navy); word-break: break-word; }
.tdb-source { font-size: 13px; color: var(--tdb-muted) !important; }
.tdb-next { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.tdb-next .tdb-btn { padding: 11px 20px; font-size: 15px; }
.tdb-next-link { font-weight: 800; color: var(--tdb-link); text-decoration: none; }
.tdb-next-link:hover { text-decoration: underline; }
.tdb-sim {
  margin-top: 12px !important;
  font-size: 12px;
  color: #7a4d00 !important;
  background: #fff6e0;
  border-radius: 8px;
  padding: 6px 10px;
  display: inline-block;
}

/* ---------- continut ---------- */
.tdb-content { padding: 30px 0 18px; }
.tdb-page .awc { max-width: 1000px; }
.tdb-page .awc a:not(.btn):hover { color: var(--tdb-cta); }
.tdb-page .awc-sec { scroll-margin-top: 100px; }
.tdb-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tdb-cta);
  margin-bottom: 4px;
}

.tdb-toc { max-width: 1000px; margin: 0 auto 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tdb-toc a {
  background: #fff;
  border: 1px solid var(--tdb-line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tdb-navy-2);
  text-decoration: none;
}
.tdb-toc a:hover { border-color: var(--tdb-cta); color: var(--tdb-cta); }
.tdb-toc a.tdb-toc-hot { background: var(--tdb-cta); border-color: var(--tdb-cta); color: #fff; }
.tdb-toc a.tdb-toc-hot:hover { background: var(--tdb-cta-hover); color: #fff; }

.tdb-page .awc ul, .tdb-page .awc ol { margin: 0 0 14px; color: #334550; }
.tdb-page .awc li { margin-bottom: 4px; }

/* bulinele (CSS-ul site-ului le scoate) */
.tdb-page .awc ul.tdb-list, .tdb-page .awc-imei-box ul { list-style: none; padding-left: 0; }
.tdb-page .awc ul.tdb-list > li, .tdb-page .awc-imei-box ul > li { position: relative; padding-left: 20px; }
.tdb-page .awc ul.tdb-list > li::before, .tdb-page .awc-imei-box ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tdb-coral);
}
.tdb-page .tdb-no ul > li::before { background: #d64545; }
.tdb-page .tdb-yes ul > li::before { background: #1f9d73; }
.tdb-yes h3::before { content: "\2713"; color: #1f9d73; margin-right: 8px; }
.tdb-no h3::before { content: "\2715"; color: #d64545; margin-right: 8px; }

.tdb-h3 { font-family: 'Nunito Sans', sans-serif; font-size: 17px; font-weight: 900; color: var(--tdb-navy-2); margin: 22px 0 10px; }

/* structura IMEI */
.tdb-imei { display: grid; grid-template-columns: 2.2fr 1.6fr 1fr; gap: 8px; margin: 4px 0 18px; }
.tdb-imei-part { border: 1px solid #dce8f2; border-radius: 12px; background: linear-gradient(180deg, #fbfdff 0%, #f3f8fc 100%); padding: 12px 14px; text-align: center; }
.tdb-imei-tac { border-color: #ffc9bc; background: linear-gradient(180deg, #fffaf8 0%, #fff1ec 100%); }
.tdb-imei-digits { display: block; font-family: Consolas, Monaco, 'Courier New', monospace; font-size: 24px; font-weight: 700; letter-spacing: 0.08em; color: var(--tdb-navy); }
.tdb-imei-tac .tdb-imei-digits { color: #b23b1f; }
.tdb-imei-name { display: block; font-weight: 800; color: var(--tdb-navy-2); font-size: 14px; margin-top: 4px; }
.tdb-imei-desc { display: block; font-size: 12px; color: var(--tdb-muted); }

/* pasii, ca niste carduri */
.tdb-page .awc ol.tdb-step-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: tdbstep; }
.tdb-step-cards li {
  counter-increment: tdbstep;
  position: relative;
  border: 1px solid #e1eaf2;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fafd 100%);
  padding: 18px 16px 14px;
  margin: 0 !important;
}
.tdb-step-cards li::after {
  content: counter(tdbstep);
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 28px;
  font-weight: 900;
  color: #e5edf3;
  line-height: 1;
}
.tdb-step-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff0eb; color: var(--tdb-cta); font-size: 20px; margin-bottom: 10px; }
.tdb-step-cards h3 { font-size: 16px; font-weight: 900; color: var(--tdb-navy); margin: 0 0 6px; }
.tdb-step-cards p { margin: 0 !important; font-size: 15px; line-height: 1.55; }

/* ---------- banda Free TAC API ---------- */
.tdb-api {
  margin: 12px 0 0;
  padding: 54px 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 124, 96, 0.2) 0, rgba(255, 124, 96, 0) 40%),
    linear-gradient(135deg, #0f2a38 0%, #173f52 55%, #1f5670 100%);
  scroll-margin-top: 82px;
}
.tdb-api .container { max-width: 1180px; }
.tdb-api-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 34px; align-items: center; }
.tdb-api h2 { font-family: 'Nunito Sans', sans-serif; font-size: 38px; line-height: 1.12; font-weight: 900; color: #fff; margin: 14px 0 10px; letter-spacing: -0.02em; }
.tdb-api-intro > p { color: rgba(255, 255, 255, 0.86); font-size: 17px; line-height: 1.6; margin: 0 0 20px; }
.tdb-api .tdb-pill { background: var(--tdb-cta); }
.tdb-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.tdb-feature { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; padding: 14px; }
.tdb-feature .fa { color: var(--tdb-coral); font-size: 20px; }
.tdb-feature h3 { color: #fff; font-size: 15px; font-weight: 900; margin: 8px 0 4px; }
.tdb-feature p { color: rgba(255, 255, 255, 0.78); font-size: 14px; line-height: 1.5; margin: 0; }
.tdb-api .tdb-link-light { color: #cfe6ff; font-weight: 800; text-decoration: none; }
.tdb-api .tdb-link-light:hover { color: #fff; text-decoration: underline; }

/* tab-uri fara JavaScript (radio + label) */
.tdb-tabs { position: relative; background: #0b2230; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3); }
.tdb-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tdb-tab-labels { display: flex; gap: 4px; padding: 10px 10px 0; background: #0f2a38; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.tdb-tab-labels label {
  margin: 0;
  padding: 9px 16px;
  border-radius: 10px 10px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.tdb-tab-labels label:hover { color: #fff; }
.tdb-tab-panel { display: none; position: relative; }
#tdb-tab-curl:checked ~ .tdb-panel-curl,
#tdb-tab-php:checked ~ .tdb-panel-php,
#tdb-tab-json:checked ~ .tdb-panel-json { display: block; }
#tdb-tab-curl:checked ~ .tdb-tab-labels label[for="tdb-tab-curl"],
#tdb-tab-php:checked ~ .tdb-tab-labels label[for="tdb-tab-php"],
#tdb-tab-json:checked ~ .tdb-tab-labels label[for="tdb-tab-json"] { background: #0b2230; color: #fff; box-shadow: inset 0 3px 0 var(--tdb-coral); }
#tdb-tab-curl:focus-visible ~ .tdb-tab-labels label[for="tdb-tab-curl"],
#tdb-tab-php:focus-visible ~ .tdb-tab-labels label[for="tdb-tab-php"],
#tdb-tab-json:focus-visible ~ .tdb-tab-labels label[for="tdb-tab-json"] { outline: 3px solid #5aa9ff; outline-offset: -3px; }
.tdb-tab-panel pre {
  margin: 0;
  padding: 18px 18px 20px;
  color: #e6f1f8;
  font-size: 13.5px;
  line-height: 1.65;
  overflow-x: auto;
  white-space: pre;
  min-height: 260px;
}
.tdb-tab-panel .tdb-copy { top: -40px; right: 10px; }
.tdb-tab-panel code { font-family: Consolas, Monaco, 'Courier New', monospace; color: inherit; }

/* blocuri de cod + butonul Copy (apare doar cu JavaScript) */
.tdb-code { position: relative; margin: 0 0 14px; }
.tdb-code pre {
  margin: 0;
  background: #0f2a38;
  color: #e6f1f8;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
}
.tdb-code code { color: inherit; font-family: Consolas, Monaco, 'Courier New', monospace; }
.tdb-copy {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.tdb-copy:hover { background: rgba(255, 255, 255, 0.2); }
.tdb-js .tdb-copy { display: inline-block; }
.tdb-js .tdb-code pre { padding-right: 76px; }
.tdb-email pre { background: #f7fafc; color: #20323d; border: 1px dashed #b9cbd8; max-height: 460px; white-space: pre-wrap; }
.tdb-email .tdb-copy { background: #fff; color: var(--tdb-navy); border-color: #b9cbd8; }

.tdb-page .awc p code, .tdb-page .awc li code, .tdb-table code {
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 0.9em;
  color: #9e3a22;
  background: #fff1ec;
  border-radius: 6px;
  padding: 1px 6px;
}
.tdb-table-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--tdb-line); border-radius: 12px; }
.tdb-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.tdb-table code { white-space: nowrap; }
.tdb-table th { background: var(--tdb-soft); color: var(--tdb-navy-2); font-weight: 900; text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--tdb-line); white-space: nowrap; }
.tdb-table td { padding: 9px 14px; border-bottom: 1px solid #edf2f7; vertical-align: top; color: #334550; }
.tdb-table tr:last-child td { border-bottom: 0; }

/* cererea cheii: pasii mici numerotati */
.tdb-page .awc ol.tdb-mini-steps { list-style: none; padding: 0; counter-reset: tdbmini; display: grid; gap: 8px; }
.tdb-mini-steps li { counter-increment: tdbmini; position: relative; padding-left: 38px; min-height: 28px; }
.tdb-mini-steps li::before {
  content: counter(tdbmini);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tdb-cta);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.tdb-page .tdb-sec-key { border-color: #ffd2c6; box-shadow: 0 14px 34px rgba(201, 74, 47, 0.1); }

/* cumpara baza */
.tdb-buy { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.tdb-source-box { background: linear-gradient(180deg, #f4f9fd 0%, #eaf3f9 100%); border: 1px solid #d5e5f0; border-radius: 14px; padding: 18px; }
.tdb-source-box .fa { font-size: 24px; color: var(--tdb-navy-2); }
.tdb-source-box h3 { font-size: 17px; font-weight: 900; color: var(--tdb-navy); margin: 8px 0 6px; }
.tdb-source-box p { margin: 0 !important; font-size: 15px; }

/* termenii, pe doua coloane */
.tdb-page .awc ol.tdb-terms { list-style: none; padding: 0; counter-reset: tdbterm; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tdb-terms li {
  counter-increment: tdbterm;
  position: relative;
  margin: 0 !important;
  padding: 14px 14px 14px 52px;
  border: 1px solid #e3ebf2;
  border-radius: 12px;
  background: #fbfdfe;
  line-height: 1.65;
  font-size: 15px;
}
.tdb-terms li::before {
  content: counter(tdbterm);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tdb-navy-2);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.tdb-small { font-size: 13.5px; color: var(--tdb-muted) !important; }
.tdb-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 8px 0 12px !important; }

/* FAQ */
.tdb-faq details { border: 1px solid #e3eaf2; border-radius: 12px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.tdb-faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 800; color: var(--tdb-navy); position: relative; }
.tdb-faq summary::-webkit-details-marker { display: none; }
.tdb-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--tdb-cta); }
.tdb-faq details[open] summary::after { content: "\2212"; }
.tdb-faq details[open] summary { border-bottom: 1px solid #eef3f7; }
.tdb-faq details p { padding: 12px 16px 14px; margin: 0 !important; }

/* chemarea de la final */
.tdb-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #1d465a 0%, #225c77 100%);
  color: #fff;
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 30px;
}
.tdb-cta h2 { color: #fff; font-family: 'Nunito Sans', sans-serif; font-size: 22px; font-weight: 900; margin: 0 0 4px; }
.tdb-cta p { color: rgba(255, 255, 255, 0.86) !important; margin: 0 !important; }

/* antetul comun: logo-ul nu mai e H1 pe pagina asta */
.tdb-logo { margin: 0; }

/* ---------- preview local ---------- */
.tdb-preview {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  max-width: 330px;
  background: #fffbe8;
  border: 1px solid #f0c75e;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: #5c4500;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.tdb-preview summary { cursor: pointer; }
.tdb-preview-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tdb-preview form { margin: 0; }
.tdb-preview button { border: 1px solid #e0b64a; background: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; cursor: pointer; }
.tdb-preview button:hover { background: #fff1c2; }

/* ---------- ecrane mai mici ---------- */
@media (max-width: 1199px) {
  .tdb-hero { margin-top: 70px; }
  .tdb-hero h1 { font-size: 46px; }
}
@media (max-width: 991px) {
  .tdb-hero { padding-bottom: 36px; }
  .tdb-api-card { margin-top: 28px; }
  .tdb-api-grid { grid-template-columns: 1fr; gap: 24px; }
  .tdb-api h2 { font-size: 32px; }
  .tdb-page .awc ol.tdb-terms { grid-template-columns: 1fr; }
  .tdb-buy { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .tdb-hero { padding: 24px 0 30px; }
  .tdb-hero h1 { font-size: 36px; }
  .tdb-lead { font-size: 16px; margin-bottom: 18px; }
  .tdb-search-row { flex-direction: column; align-items: stretch; border-radius: 18px; padding: 8px; gap: 8px; }
  .tdb-search-ico { display: none; }
  .tdb-search-row input { font-size: 17px; padding: 12px 14px; text-align: center; }
  .tdb-page .tdb-search-row .tdb-btn { width: 100%; }
  .tdb-result { padding: 18px 16px; }
  .tdb-dl { grid-template-columns: 1fr; }
  .tdb-imei { grid-template-columns: 1fr; }
  .tdb-page .awc-imei-split { grid-template-columns: 1fr; }
  .tdb-page .awc ol.tdb-step-cards { grid-template-columns: 1fr; }
  .tdb-features { grid-template-columns: 1fr; }
  .tdb-page .awc-sec { padding: 22px 18px; }
  .tdb-api { padding: 38px 0; }
  .tdb-api h2 { font-size: 28px; }
  .tdb-api-card { padding: 22px 18px 18px; }
  .tdb-api-card h2 { font-size: 26px; }
  .tdb-cta { padding: 20px; }
  .tdb-cta .tdb-btn { width: 100%; }
  .tdb-preview { left: 8px; right: 8px; max-width: none; }
}
/* tabelul "TAC database at a glance" din sectiunea despre baza de date */
.tdb-table.tdb-facts { min-width: 0; }
.tdb-table.tdb-facts caption { caption-side: top; padding: 10px 14px; text-align: left; font-weight: 900; color: var(--tdb-navy-2); background: var(--tdb-soft); border-bottom: 1px solid var(--tdb-line); }
.tdb-table.tdb-facts th { width: 36%; white-space: normal; background: #fbfdff; border-bottom: 1px solid #edf2f7; font-weight: 800; }
.tdb-table.tdb-facts tr:last-child th { border-bottom: 0; }
@media (max-width: 575px) {
  .tdb-table.tdb-facts th, .tdb-table.tdb-facts td { display: block; width: auto; }
  .tdb-table.tdb-facts th { border-bottom: 0; padding-bottom: 0; }
}
