/* Styles for TSC range, registrations, careers and skill development pages */
:root {
  --tsc-blue: #00489A;
  --tsc-blue-dark: #00336e;
  --tsc-red: #e63946;
  --tsc-ink: #1d2733;
  --tsc-muted: #5b6878;
  --tsc-line: #e3e8ef;
  --tsc-soft: #f4f7fb;
}
.page-hero {
  background: linear-gradient(135deg, var(--tsc-blue) 0%, var(--tsc-blue-dark) 70%);
  color: #fff;
  padding: 48px 0 40px;
}
.page-hero h1 { font-size: 34px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.page-hero p { color: #dbe6f5; font-size: 17px; max-width: 760px; margin-bottom: 0; }
.page-hero .hero-tags span {
  display: inline-block; background: rgba(255,255,255,.14); border-radius: 20px;
  padding: 4px 14px; margin: 14px 8px 0 0; font-size: 14px;
}
.section-title { font-size: 26px; font-weight: 700; color: var(--tsc-ink); margin-bottom: 6px; }
.section-sub { color: var(--tsc-muted); margin-bottom: 22px; }
.soft-bg { background: var(--tsc-soft); }

/* Jump links */
.jump-links { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--tsc-line); }
.jump-links .nav { flex-wrap: nowrap; overflow-x: auto; }
.jump-links a { white-space: nowrap; color: var(--tsc-ink); font-weight: 600; padding: 12px 14px; display: block; }
.jump-links a:hover { color: var(--tsc-red); text-decoration: none; }

/* Product cards */
.prod-card {
  border: 1px solid var(--tsc-line); border-radius: 8px; background: #fff; height: 100%;
  display: flex; flex-direction: column; transition: box-shadow .2s;
}
.prod-card:hover { box-shadow: 0 8px 24px rgba(0,40,90,.12); }
.prod-card .prod-img { height: 150px; display: flex; align-items: center; justify-content: center; padding: 10px; border-bottom: 1px solid var(--tsc-line); }
.prod-card .prod-img img { max-height: 130px; max-width: 100%; object-fit: contain; }
.prod-card .prod-img .ph { font-size: 44px; color: #c3cfdf; }
.prod-card .prod-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.prod-card h3 { font-size: 17px; font-weight: 700; color: var(--tsc-ink); margin: 0 0 4px; }
.prod-card .series { font-size: 13px; color: var(--tsc-muted); margin-bottom: 8px; }
.prod-card .specs { font-size: 13px; color: var(--tsc-ink); margin-bottom: 8px; }
.prod-card .specs span { display: inline-block; background: var(--tsc-soft); border-radius: 4px; padding: 1px 7px; margin: 0 4px 4px 0; }
.prod-card .use { font-size: 14px; color: var(--tsc-muted); line-height: 1.45; flex: 1; margin-bottom: 10px; }
.prod-card .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-tsc { background: var(--tsc-red); color: #fff; border: 0; }
.btn-tsc:hover { background: #c92d39; color: #fff; }
.btn-tsc-blue { background: var(--tsc-blue); color: #fff; border: 0; }
.btn-tsc-blue:hover { background: var(--tsc-blue-dark); color: #fff; }

.info-card { border: 1px solid var(--tsc-line); border-radius: 8px; padding: 16px; background: #fff; height: 100%; }
.info-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--tsc-ink); }
.info-card p { font-size: 14px; line-height: 1.5; color: var(--tsc-muted); margin-bottom: 0; }
.chip-list span { display: inline-block; border: 1px solid var(--tsc-line); border-radius: 16px; padding: 3px 12px; margin: 0 6px 8px 0; font-size: 14px; background: #fff; }

/* Homepage services strip */
.services-strip { background: var(--tsc-soft); padding: 36px 0; }
.service-tile {
  display: block; background: #fff; border-radius: 10px; border-top: 4px solid var(--tsc-blue);
  padding: 20px; height: 100%; color: var(--tsc-ink); box-shadow: 0 2px 10px rgba(0,40,90,.06); transition: transform .15s, box-shadow .15s;
}
.service-tile:hover { text-decoration: none; color: var(--tsc-ink); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,40,90,.14); }
.service-tile.red { border-top-color: var(--tsc-red); }
.service-tile i { font-size: 30px; color: var(--tsc-blue); margin-bottom: 10px; }
.service-tile.red i { color: var(--tsc-red); }
.service-tile h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.service-tile p { font-size: 14px; line-height: 1.5; color: var(--tsc-muted); margin-bottom: 8px; }
.service-tile .go { font-weight: 700; color: var(--tsc-red); font-size: 14px; }

/* Forms */
.form-panel { background: #fff; border: 1px solid var(--tsc-line); border-radius: 10px; padding: 24px; box-shadow: 0 2px 12px rgba(0,40,90,.05); }
.form-panel h2 { font-size: 22px; font-weight: 700; color: var(--tsc-ink); }
.form-panel legend { font-size: 16px; font-weight: 700; color: var(--tsc-blue); border-bottom: 1px solid var(--tsc-line); padding-bottom: 6px; margin: 18px 0 14px; width: 100%; }
.form-panel label { font-weight: 600; font-size: 14px; color: var(--tsc-ink); }
.form-panel .req { color: var(--tsc-red); }
.form-panel .form-text { font-size: 12px; }
.service-tabs .nav-link { font-weight: 700; color: var(--tsc-ink) !important; border-radius: 8px 8px 0 0; }
.service-tabs .nav-link.active { color: #fff !important; background: var(--tsc-blue); }
.doc-list li { margin-bottom: 4px; font-size: 14px; }

/* Fee box */
.fee-box { border: 2px solid var(--tsc-blue); border-radius: 10px; overflow: hidden; }
.fee-box .fee-head { background: var(--tsc-blue); color: #fff; padding: 10px 16px; font-weight: 700; }
.fee-box table { margin: 0; }
.fee-box td { padding: 8px 16px; }
.fee-box tr.total td { font-weight: 700; font-size: 18px; background: var(--tsc-soft); }
.course-card { border: 1px solid var(--tsc-line); border-radius: 8px; padding: 16px; height: 100%; background: #fff; }
.course-card i { font-size: 26px; color: var(--tsc-red); }
.course-card h3 { font-size: 17px; font-weight: 700; margin: 8px 0 6px; }
.course-card p { font-size: 14px; color: var(--tsc-muted); line-height: 1.5; margin: 0; }
.stat { text-align: center; padding: 14px 6px; }
.stat strong { display: block; font-size: 26px; color: var(--tsc-blue); }
.stat span { font-size: 14px; color: var(--tsc-muted); }
.steps li { margin-bottom: 8px; }

@media (max-width: 767px) {
  .page-hero { padding: 32px 0 28px; }
  .page-hero h1 { font-size: 26px; }
  .form-panel { padding: 16px; }
}

/* Skill centre pathway steps */
.path-step { position: relative; padding-top: 22px; border-top: 4px solid var(--tsc-blue); }
.path-step .path-no { position: absolute; top: -18px; left: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--tsc-red); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff; }

/* Skills catalogue teaser on the Skill Centre page */
.skills-teaser { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 24px; border-radius: 14px; background: var(--tsc-soft); border: 1px solid var(--tsc-line); }
.skills-teaser h3 { font-size: 21px; font-weight: 800; margin: 0 0 6px; }
.skills-teaser p { color: var(--tsc-muted); margin-bottom: 12px; }
.skills-teaser .skill-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.skills-teaser .skill-chips a { border: 1px solid var(--tsc-line); border-radius: 20px; padding: 5px 13px; font-size: 13.5px; font-weight: 600; color: var(--tsc-ink); background: #fff; }
.skills-teaser .skill-chips a:hover { border-color: var(--tsc-blue); color: var(--tsc-blue); text-decoration: none; }
.skills-teaser .btn { flex-shrink: 0; }
@media (max-width: 767px) { .skills-teaser { flex-direction: column; align-items: stretch; } }

/* Paid registration forms */
.reg-fee-box { margin: 4px 0 10px; }
.reg-fee-box small { font-size: 12px; }
.doc-upload { display: grid; grid-template-columns: 1fr 260px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--tsc-line); }
.doc-upload label { margin: 0; font-weight: 600; font-size: 14px; }
.doc-upload input { font-size: 13px; }
@media (max-width: 767px) { .doc-upload { grid-template-columns: 1fr; gap: 6px; } }

/* Bank transfer box on the payment pages */
.bank-box { margin-top: 24px; padding: 20px; border: 1px solid #dfe5ee; border-radius: 10px; background: #fafcff; }
.bank-box.open { border-color: #0b2d5e; box-shadow: 0 4px 18px rgba(11, 45, 94, .08); }
.bank-box h3 { font-size: 19px; color: #0b2d5e; margin-bottom: 10px; }
.bank-table th { width: 38%; color: #5f6978; font-weight: 600; }
.bank-table td { font-weight: 600; word-break: break-word; }
.bank-proof-form { padding-top: 12px; border-top: 1px dashed #d5dde8; }

/* Two-option card radios (ribbon format, trademark in use) */
.format-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.format-choice label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 400; }
.format-choice label:has(input:checked) { border-color: var(--brand); background: #eef6ff; }
.format-choice small { flex-basis: 100%; color: var(--muted); font-size: 12.5px; padding-left: 22px; }
@media (max-width: 575px) { .format-choice { grid-template-columns: 1fr; } }

/* Registration terms (processing time, objections, no refund) */
.reg-terms { margin-top: 16px; padding: 14px 16px; border: 1px solid #f0d9a8; border-left: 4px solid #e0a020; border-radius: 8px; background: #fffaf0; }
.reg-terms h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.reg-terms ul { margin: 0 0 6px; padding-left: 18px; font-size: 13.5px; }
.reg-terms li { margin-bottom: 3px; }

/* Price and Buy now box (product pages, TSC range, comparison) */
.buy-box { margin: 14px 0; padding: 14px 16px; border: 2px solid #1a9c4a; border-radius: 10px; background: #f3fbf5; }
.buy-box .buy-price { font-size: 26px; font-weight: 800; color: #0d3b1e; margin-bottom: 6px; }
.buy-box .buy-price s { font-size: 16px; color: #8a96a3; font-weight: 400; }
.buy-box .buy-price small, .buy-price small { font-size: 13px; font-weight: 400; color: #5b6878; }
.buy-box .buy-note { font-size: 13.5px; margin: 6px 0; color: #1d2733; }
.buy-box .buy-note.beat { color: #0a7a35; font-weight: 700; }
.buy-box .fa-check-circle { color: #1a9c4a; }
.buy-box.compact { margin: 0; padding: 0; border: 0; background: none; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.buy-box.compact .buy-price { font-size: 16px; margin: 0; }
.buy-price { font-size: 24px; font-weight: 800; }

/* TSC printer comparison */
.compare-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.compare-tools .btn-group .btn { margin-bottom: 4px; }
.compare-table td, .compare-table th { vertical-align: middle; font-size: 14px; }
.compare-table thead th { position: sticky; top: 0; background: #f4f7fb; z-index: 1; }
.compare-table .cmp-name a { display: flex; align-items: center; gap: 10px; color: inherit; font-weight: 600; }
.compare-table .cmp-name img { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid #e3e8ef; border-radius: 6px; }
.compare-panel { padding: 14px; margin-bottom: 18px; border: 2px solid #00489A; border-radius: 10px; background: #f4f7fb; }
.compare-panel .cmp-name, .compare-panel a { font-weight: 600; }
.compare-panel img { width: 64px; height: 64px; object-fit: contain; display: block; }

/* BarTender page */
.partner-badge { display: inline-block; margin-bottom: 10px; padding: 5px 12px; border-radius: 20px; background: #ffd34d; color: #3b2a00; font-weight: 800; font-size: 13px; }
.bt-card { position: relative; height: 100%; padding: 18px; border: 1px solid #e3e8ef; border-radius: 12px; background: #fff; display: flex; flex-direction: column; }
.bt-card.featured { border: 2px solid #00489A; box-shadow: 0 6px 20px rgba(0, 72, 154, .12); }
.bt-card img { width: 100%; height: 150px; object-fit: contain; margin: 8px 0; }
.bt-card h3 { font-size: 18px; font-weight: 800; }
.bt-card p { font-size: 14px; color: #5b6878; }
.bt-card ul { padding-left: 18px; font-size: 13.5px; flex: 1; }
.bt-tag { position: absolute; top: 12px; right: 12px; padding: 2px 10px; border-radius: 12px; background: #eef4fb; color: #00489A; font-size: 12px; font-weight: 700; }
.bt-compare td:first-child { font-weight: 600; }
.faq-item { border: 1px solid #e3e8ef; border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; background: #fff; }
.faq-item summary { font-weight: 700; cursor: pointer; }
.faq-item p { margin: 8px 0 0; }
.bt-support { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: 12px; background: #eef4fb; border-left: 5px solid #00489A; }
.bt-support .fa-headphones { color: #00489A; }
.bt-code { padding: 7px 10px; border-radius: 6px; background: #0b2d5e; color: #fff; font-family: Consolas, monospace; font-weight: 700; letter-spacing: .5px; }

/* Optional add-ons on the Buy page */
.addon-box { margin: 10px 0 16px; padding: 14px 16px; border: 1px dashed #1a9c4a; border-radius: 10px; background: #f6fcf8; }
.addon-box legend { width: auto; padding: 0 6px; font-size: 16px; font-weight: 800; }

/* Welcome to Mindware introduction */
.mw-intro { padding: 36px 0; background: linear-gradient(135deg, #f4f7fb, #eaf1fb); border-top: 1px solid #e3e8ef; border-bottom: 1px solid #e3e8ef; }
.mw-intro h2 { font-size: 26px; font-weight: 800; color: #0b2d5e; margin: 6px 0 10px; }
.mw-intro p { font-size: 15px; line-height: 1.65; color: #2c3a4b; }
.mw-kicker { display: inline-block; padding: 4px 12px; border-radius: 16px; background: #00489A; color: #fff; font-size: 13px; font-weight: 700; }
.mw-stats { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mw-stats li { background: #fff; border: 1px solid #dfe6f0; border-radius: 10px; padding: 12px; text-align: center; }
.mw-stats strong { display: block; font-size: 24px; font-weight: 800; color: #00489A; line-height: 1.1; }
.mw-stats span { font-size: 12.5px; color: #4a5768; }
.mw-actions { display: flex; flex-wrap: wrap; gap: 8px; }
