﻿.ts-site {
    --ts-primary: #1d4ed8;
    --ts-primary-dark: #1e40af;
    --ts-secondary: #16a34a;
    --ts-warning: #f59e0b;
    --ts-bg: #f8fafc;
    --ts-surface: #ffffff;
    --ts-text: #0f172a;
    --ts-muted: #64748b;
    --ts-border: #e2e8f0;
    --ts-radius: 16px;
}

.ts-site {
    min-height: 100vh;
    background: var(--ts-bg);
    color: var(--ts-text);
}

.ts-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
}

.ts-hero {
    padding: 48px 24px;
    border-radius: 24px;
    background: var(--ts-surface);
}

.ts-section {
    margin-top: 32px;
}

.ts-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--ts-border);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
}

.ts-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
}

.ts-header__brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.ts-header__brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ts-logo {
    color: var(--ts-primary-dark);
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
}

.ts-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 8px 24px rgba(148, 163, 184, 0.18);
    cursor: pointer;
}

.ts-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ts-primary-dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ts-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.ts-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.ts-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.ts-header__tagline {
    margin: 0;
    color: var(--ts-muted);
    font-size: 0.9rem;
}

.ts-header__menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 18px;
    min-width: 0;
}

.ts-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    justify-content: flex-end;
}

.ts-nav a,
.ts-category-strip a {
    color: #334155;
    text-decoration: none;
}

.ts-nav a {
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ts-nav a:hover,
.ts-nav a:focus-visible {
    background: #eff6ff;
    color: var(--ts-primary-dark);
    outline: none;
}

.ts-nav a[aria-current="page"] {
    background: #dbeafe;
    color: var(--ts-primary-dark);
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.ts-header__cta,
.ts-score-form button,
.ts-filter-grid button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    background: var(--ts-primary);
    color: white;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.ts-header__cta {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* ========== Dropdown menu ========== */
.ts-dropdown {
    position: relative;
}

.ts-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 9px 14px;
    border: none;
    border-radius: 999px;
    background: none;
    color: #334155;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ts-dropdown__trigger:hover,
.ts-dropdown__trigger:focus-visible {
    background: #eff6ff;
    color: var(--ts-primary-dark);
    outline: none;
}

.ts-dropdown__chevron {
    transition: transform 0.2s ease;
}

.ts-dropdown:hover .ts-dropdown__chevron,
.ts-dropdown:focus-within .ts-dropdown__chevron {
    transform: rotate(180deg);
}

.ts-dropdown__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 50;
    display: none;
    flex-direction: column;
    gap: 2px;
    min-width: 148px;
    padding: 6px;
    border: 1px solid var(--ts-border);
    border-radius: 12px;
    background: white;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.ts-dropdown:hover .ts-dropdown__menu,
.ts-dropdown:focus-within .ts-dropdown__menu {
    display: flex;
}

.ts-dropdown__menu a {
    padding: 9px 12px;
    border-radius: 8px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.ts-dropdown__menu a:hover {
    background: #f1f5f9;
    color: var(--ts-primary-dark);
}

/* Mobile-only sub-items: hidden on desktop, shown in mobile menu instead of dropdown */
.ts-nav__sub {
    display: none;
}

.ts-footer {
    margin-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: #0f172a;
    color: #e2e8f0;
}

.ts-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ts-footer__body {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px 32px;
    padding: 48px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ts-footer__logo {
    display: inline-block;
    margin-bottom: 14px;
    color: #f1f5f9;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.ts-footer__desc {
    margin: 0;
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.65;
}

.ts-footer__note {
    margin: 10px 0 0;
    color: #475569;
    font-size: 0.775rem;
    font-style: italic;
    line-height: 1.55;
}

.ts-footer__sep {
    color: #334155;
    user-select: none;
}

.ts-footer__heading {
    margin: 0 0 14px;
    color: #f1f5f9;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ts-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ts-footer__nav a {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ts-footer__nav a:hover {
    color: #e2e8f0;
}

.ts-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
}

.ts-footer__copy {
    margin: 0;
    color: #64748b;
    font-size: 0.825rem;
}

.ts-footer__legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.ts-footer__legal a {
    color: #64748b;
    font-size: 0.825rem;
    text-decoration: none;
    transition: color 0.15s ease;
    padding: 2px 0;
}

.ts-footer__legal a:hover {
    color: #94a3b8;
}

.ts-page-head,
.ts-panel,
.ts-card {
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    background: var(--ts-surface);
    padding: 24px;
}

.ts-page-head {
    margin-bottom: 24px;
}

.ts-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.ts-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 16px;
}

.ts-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.ts-filter {
    display: grid;
    gap: 6px;
    color: #334155;
    font-weight: 600;
}

.ts-filter input,
.ts-search-box input {
    border: 1px solid var(--ts-border);
    border-radius: 12px;
    padding: 11px 12px;
}

.ts-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.ts-category-strip a,
.ts-badge {
    border: 1px solid var(--ts-border);
    border-radius: 999px;
    background: white;
    padding: 8px 12px;
}

.ts-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    background: white;
}

.ts-table {
    width: 100%;
    border-collapse: collapse;
}

.ts-table th,
.ts-table td {
    border-bottom: 1px solid var(--ts-border);
    padding: 12px;
    text-align: left;
}

.ts-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--ts-muted);
}

.ts-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.ts-eyebrow {
    margin: 0 0 8px;
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ts-score-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.ts-score-form label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-weight: 600;
}

.ts-score-form input {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 11px 12px;
}

.ts-score-form button {
    align-self: end;
}

.ts-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.ts-result-group,
.ts-empty-state {
    border-radius: 20px;
    background: white;
    padding: 20px;
}

.ts-result-card {
    border-top: 1px solid #e2e8f0;
    padding: 14px 0;
}

.ts-result-card h3 {
    margin: 0 0 6px;
}

.ts-result-meta {
    color: #475569;
    font-size: 0.925rem;
}

@media (max-width: 860px) {
    .ts-header {
        overflow-x: hidden;
    }

    .ts-header__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .ts-header__brand {
        justify-content: space-between;
        width: 100%;
    }

    .ts-menu-toggle {
        display: inline-flex;
    }

    .ts-header__menu {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
        border: 1px solid #dbe4f0;
        border-radius: 24px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
            radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 55%);
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    }

    .tuyensinh-ready .ts-header__menu[hidden] {
        display: none;
    }

    .ts-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .ts-nav a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 10px 16px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 1px 4px rgba(148, 163, 184, 0.08);
    }

    .ts-nav a[aria-current="page"] {
        background: #eff6ff;
        color: var(--ts-primary-dark);
        border-color: #bfdbfe;
        box-shadow: none;
    }

    /* hide desktop dropdown in mobile menu, show flat sub-items instead */
    .ts-dropdown {
        display: none;
    }

    .ts-nav__sub {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 10px 16px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 1px 4px rgba(148, 163, 184, 0.08);
        color: #334155;
        font-weight: 600;
        text-decoration: none;
    }

    .ts-nav__sub:hover {
        background: #eff6ff;
        color: var(--ts-primary-dark);
        border-color: #bfdbfe;
    }

    .ts-header__cta {
        width: 100%;
        min-height: 44px;
        border-radius: 12px;
        font-size: 0.9375rem;
    }

    .ts-footer__body {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
        padding: 36px 0 28px;
    }

    .ts-footer__col--brand {
        grid-column: 1 / -1;
    }

    .ts-footer__nav {
        gap: 6px;
    }

    .ts-footer__nav a {
        font-size: 0.875rem;
        padding: 3px 0;
        line-height: 1.55;
    }

    .ts-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 0;
    }

    .ts-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .ts-footer__body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 0 20px;
    }
}

/* ========== Utility classes ========== */
.ts-text-center {
    text-align: center;
}

.ts-muted {
    color: var(--ts-muted);
}

.ts-score-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--ts-text);
    font-size: 0.875rem;
    font-weight: 700;
}

.ts-score-chip--high {
    background: #dcfce7;
    color: #15803d;
}

.ts-score-chip--mid {
    background: #fef9c3;
    color: #a16207;
}

/* ── Policy / Legal pages ──────────────────────────────────────────────── */

.ts-policy-page {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.ts-policy-header {
    margin-bottom: 1.5rem;
}

.ts-policy-header h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--ts-text);
    margin: 0.25rem 0 0;
    line-height: 1.2;
}

.ts-policy-meta {
    font-size: 0.875rem;
    color: var(--ts-muted);
    margin: 0.5rem 0 0;
}

.ts-policy-lead {
    background: var(--ts-surface);
    border-left: 4px solid var(--ts-primary);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    color: var(--ts-text);
    line-height: 1.65;
}

.ts-policy-lead p { margin: 0; }

.ts-policy-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ts-policy-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ts-text);
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ts-border);
}

.ts-policy-section p,
.ts-policy-section li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #334155;
    margin: 0.5rem 0;
}

.ts-policy-section ul {
    margin: 0.5rem 0 0.5rem 1.25rem;
    padding: 0;
}

.ts-policy-section li + li { margin-top: 0.35rem; }

.ts-policy-section code {
    font-family: ui-monospace, monospace;
    font-size: 0.8125rem;
    background: #f1f5f9;
    border: 1px solid var(--ts-border);
    border-radius: 4px;
    padding: 1px 6px;
    color: var(--ts-primary-dark);
}

.ts-policy-link {
    color: var(--ts-primary);
    text-decoration: underline;
}

.ts-policy-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ts-border);
    font-size: 0.875rem;
    color: var(--ts-muted);
}

.ts-policy-footer p { margin: 0 0 0.75rem; }

.ts-policy-related {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.875rem;
}

.ts-policy-related a {
    color: var(--ts-primary);
    text-decoration: underline;
}

/* ===== Contact page ===== */
.ts-contact-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.ts-contact-hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
}

.ts-contact-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ts-text);
    margin: 0.25rem 0 0.75rem;
}

.ts-contact-hero__lead {
    font-size: 1.0625rem;
    color: var(--ts-muted);
    margin: 0;
}

/* 3-column grid, collapses to 1 on mobile */
.ts-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 700px) {
    .ts-contact-grid { grid-template-columns: 1fr; }
    .ts-contact-hero h1 { font-size: 1.5rem; }
}

@media (min-width: 701px) and (max-width: 900px) {
    .ts-contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.ts-contact-card {
    background: var(--ts-surface);
    border: 1px solid var(--ts-border);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.ts-contact-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--ts-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ts-contact-card__icon--green {
    background: #f0fdf4;
    color: var(--ts-secondary);
}

.ts-contact-card__icon--amber {
    background: #fffbeb;
    color: var(--ts-warning);
}

.ts-contact-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ts-text);
    margin: 0;
}

.ts-contact-card__desc {
    font-size: 0.875rem;
    color: var(--ts-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.ts-contact-card__cta {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ts-primary);
    text-decoration: underline;
    word-break: break-all;
}

.ts-contact-card__cta:hover { color: var(--ts-primary-dark); }

/* Reuse .ts-school-data-note but extra margin */
.ts-contact-note { margin: 0 0 2rem; }

/* Related links */
.ts-contact-links {
    padding-top: 1.5rem;
    border-top: 1px solid var(--ts-border);
}

.ts-contact-links__label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ts-muted);
    margin: 0 0 0.75rem;
}

.ts-contact-links__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ts-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: var(--ts-bg);
    border: 1px solid var(--ts-border);
    border-radius: 99px;
    font-size: 0.8125rem;
    color: var(--ts-text);
    text-decoration: none;
    transition: border-color .15s, background .15s;
}

.ts-contact-link:hover {
    border-color: var(--ts-primary);
    background: #eff6ff;
    color: var(--ts-primary);
}

.ts-contact-link svg { flex-shrink: 0; color: var(--ts-muted); }
.ts-contact-link:hover svg { color: var(--ts-primary); }


/* ── Lead Form ─────────────────────────────────────────────────────────────── */

.ts-lead-form-section {
    margin-top: 48px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--ts-radius);
    padding: 40px 32px;
}

.ts-lead-form-inner {
    max-width: 720px;
    margin: 0 auto;
}

.ts-lead-form-badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.ts-lead-form-header {
    margin-bottom: 28px;
    text-align: center;
}

.ts-lead-form-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ts-text);
    margin: 0 0 8px;
}

.ts-lead-form-subtitle {
    color: var(--ts-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Card + grid — the form itself is a self-contained white card, distinct
   from the surrounding gradient section, so it never relies on ambient
   background/border to read as a form. */
.ts-lead-form {
    background: #fff;
    border: 1px solid var(--ts-border, #e2e8f0);
    border-radius: 16px;
    padding: 24px;
}

.ts-lead-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {
    .ts-lead-form-section { padding: 28px 16px; }
    .ts-lead-form__grid   { grid-template-columns: 1fr; }
}

.ts-form-group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ts-form-group--full { grid-column: 1 / -1; }

.ts-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ts-text, #0f172a);
    margin-bottom: 6px;
}

.ts-lead-required { color: #ef4444; }
.ts-lead-optional { font-weight: 400; color: var(--ts-muted, #64748b); font-size: 0.8rem; }

.ts-form-control {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: var(--ts-text, #0f172a);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
    font-family: inherit;
}

.ts-form-control:focus {
    outline: none;
    border-color: var(--ts-primary, #1d4ed8);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

textarea.ts-form-control {
    min-height: 96px;
    resize: vertical;
}

/* Consent — checkbox and its text are separate flex children, not crammed
   into one inline run, so the checkbox never collides with the label text. */
.ts-form-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--ts-muted, #64748b);
    cursor: pointer;
}

.ts-form-consent input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--ts-primary, #1d4ed8);
    cursor: pointer;
}

.ts-form-consent a { color: var(--ts-primary, #1d4ed8); }

/* Errors */
.ts-lead-error {
    color: #dc2626;
    font-size: 0.78rem;
    min-height: 1.1em;
    display: block;
}

/* Actions */
.ts-form-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ts-lead-submit {
    background: var(--ts-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 36px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    letter-spacing: 0.01em;
}

.ts-lead-submit:hover:not(:disabled) {
    background: var(--ts-primary-dark);
    transform: translateY(-1px);
}

.ts-lead-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.ts-lead-form-privacy {
    font-size: 0.75rem;
    color: var(--ts-muted);
    text-align: center;
    margin: 0;
}

/* Success */
.ts-lead-form-success {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    padding: 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    color: #166534;
}

.ts-lead-form-success strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.ts-lead-form-success p { margin: 0; font-size: 0.875rem; opacity: 0.85; }

/* Error banner */
.ts-lead-form-error-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    font-size: 0.875rem;
}

.ts-lead-form-error-msg svg { flex-shrink: 0; margin-top: 1px; }
.ts-lead-form-error-msg p   { margin: 0; }
