/* Public marketing + auth surfaces (ClinuCloud) */
.tc-public {
    --tc-ortho-teal: #2bbbad;
    --tc-ortho-teal-dark: #229e92;
    --tc-ortho-navy: #0e2a38;
    --tc-ortho-navy-deep: #071923;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: var(--mf-font, "Inter", system-ui, sans-serif);
    color: #0b2230;
    background: #f6f9fb;
}

.tc-public--rtl {
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

.tc-land {
    position: relative;
    overflow-x: hidden;
    flex: 1 0 auto;
    width: 100%;
}

.tc-land-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(43, 187, 173, 0.28), transparent 55%),
        radial-gradient(900px 500px at 95% 10%, rgba(76, 110, 245, 0.18), transparent 50%),
        linear-gradient(180deg, #f8fbfc 0%, #f3f6f8 45%, #eef2f5 100%);
    z-index: 0;
}

.tc-land-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 2.5rem);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(14, 42, 56, 0.06);
}

.tc-land-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #0e2a38;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.tc-land-logo-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #0e2a38, #123845);
    color: #fff;
    box-shadow: 0 8px 24px rgba(14, 42, 56, 0.2);
}

.tc-land-logo-text span {
    color: #2bbbad;
}

.tc-land-nav {
    display: none;
    gap: 1.25rem;
    align-items: center;
}

@media (min-width: 900px) {
    .tc-land-nav {
        display: flex;
    }
}

.tc-land-nav-link {
    color: #415a69;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}

.tc-land-nav-link:hover {
    color: #0e2a38;
}

.tc-land-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.tc-land-lang {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(14, 42, 56, 0.08);
    overflow: hidden;
    background: #fff;
}

.tc-land-lang-btn {
    border: none;
    background: transparent;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7a85;
    cursor: pointer;
}

.tc-land-lang-btn--on {
    background: rgba(43, 187, 173, 0.12);
    color: #0e2a38;
}

.tc-land-link {
    text-decoration: none;
    color: #0e2a38;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
}

.tc-land-link:hover {
    background: rgba(14, 42, 56, 0.05);
}

.tc-land-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-decoration: none;
    border-radius: 12px;
    padding: 0.55rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
    font-family: inherit;
}

.tc-land-btn:hover {
    transform: translateY(-1px);
}

.tc-land-btn--primary {
    color: #fff !important;
    background: linear-gradient(180deg, #2bbbad 0%, #229e92 100%);
    box-shadow: 0 10px 26px rgba(43, 187, 173, 0.28);
}

.tc-land-btn--ghost {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(14, 42, 56, 0.1);
    color: #0e2a38 !important;
}

.tc-land-btn--outline {
    background: transparent;
    border-color: rgba(14, 42, 56, 0.16);
    color: #0e2a38 !important;
}

.tc-land-btn--lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 14px;
}

main {
    position: relative;
    z-index: 1;
}

.tc-hero {
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem) 3rem;
}

.tc-hero-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 980px) {
    .tc-hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3.5rem;
    }
}

.tc-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #2bbbad;
    margin: 0 0 0.75rem;
}

.tc-hero-title {
    margin: 0;
    font-size: clamp(2.1rem, 4.8vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #071923;
}

.tc-hero-lead {
    margin: 1rem 0 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4f6470;
    max-width: 36rem;
}

.tc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.tc-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 2.25rem 0 0;
    padding: 0;
}

.tc-hero-metrics > div {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(14, 42, 56, 0.06);
    box-shadow: 0 8px 22px rgba(11, 34, 48, 0.05);
}

.tc-metric-val {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0e2a38;
}

.tc-metric-lbl {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    color: #6b7a85;
    font-weight: 600;
}

.tc-hero-visual {
    position: relative;
    min-height: 320px;
}

.tc-hero-blob {
    position: absolute;
    inset: 8% 4% 6% 10%;
    background: radial-gradient(circle at 30% 30%, rgba(43, 187, 173, 0.35), transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(76, 110, 245, 0.2), transparent 45%);
    filter: blur(0px);
    border-radius: 32px;
    z-index: 0;
}

.tc-hero-card {
    position: relative;
    z-index: 1;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(14, 42, 56, 0.07);
    box-shadow: 0 22px 55px rgba(11, 34, 48, 0.12);
    padding: 1.15rem 1.25rem;
    backdrop-filter: blur(10px);
}

.tc-hero-card--main {
    margin-top: 0.5rem;
}

.tc-hero-card-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4f6470;
    margin-bottom: 1rem;
}

.tc-pulse {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #2bbbad;
    box-shadow: 0 0 0 6px rgba(43, 187, 173, 0.18);
    animation: tc-pulse 2.2s ease-in-out infinite;
}

@keyframes tc-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
    .tc-pulse { animation: none; }
}

.tc-hero-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
    height: 120px;
    padding: 0.25rem 0 0;
}

.tc-bar {
    flex: 1;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, rgba(43, 187, 173, 0.55), rgba(43, 187, 173, 0.16));
}

.tc-bar--hot {
    background: linear-gradient(180deg, rgba(76, 110, 245, 0.7), rgba(76, 110, 245, 0.2));
}

.tc-hero-card-foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(14, 42, 56, 0.06);
}

.tc-hero-foot-k {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7a85;
}

.tc-hero-foot-v {
    margin: 0.15rem 0 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0e2a38;
}

.tc-hero-foot-v--good {
    color: #229e92;
}

.tc-hero-card--float {
    position: absolute;
    right: 4%;
    bottom: -2%;
    width: min(240px, 70%);
    z-index: 2;
    padding: 1rem 1.1rem;
    animation: tc-float 6s ease-in-out infinite;
}

@keyframes tc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .tc-hero-card--float { animation: none; }
}

.tc-float-title {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #6b7a85;
}

.tc-float-code {
    margin: 0.35rem 0 0;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #0e2a38;
}

.tc-float-meta {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: #4f6470;
}

.tc-section {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem);
    max-width: 1120px;
    margin: 0 auto;
}

.tc-section--alt {
    max-width: none;
    margin: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(243, 247, 249, 0.95));
    border-block: 1px solid rgba(14, 42, 56, 0.05);
}

.tc-section-head {
    max-width: 720px;
    margin-bottom: 2rem;
}

.tc-section-title {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    letter-spacing: -0.03em;
    color: #071923;
}

.tc-section-sub {
    margin: 0.6rem 0 0;
    color: #526774;
    line-height: 1.6;
    font-size: 1rem;
}

.tc-feature-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 800px) {
    .tc-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .tc-feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.tc-feature {
    border-radius: 18px;
    padding: 1.15rem 1.2rem;
    background: #fff;
    border: 1px solid rgba(14, 42, 56, 0.06);
    box-shadow: 0 14px 34px rgba(11, 34, 48, 0.06);
}

.tc-feature h3 {
    margin: 0.4rem 0 0.35rem;
    font-size: 1rem;
}

.tc-feature p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #526774;
}

.tc-feature-ico {
    font-size: 1.1rem;
    color: #2bbbad;
    font-weight: 700;
}

.tc-feature-ico--mint { color: #229e92; }
.tc-feature-ico--violet { color: #4c6ef5; }
.tc-feature-ico--sun { color: #f59f00; }

.tc-flow {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem);
}

@media (min-width: 960px) {
    .tc-flow {
        grid-template-columns: 1fr 1fr;
    }
}

.tc-steps {
    margin: 1.5rem 0 0;
    padding: 0 0 0 1rem;
    display: grid;
    gap: 1rem;
    color: #415a69;
}

.tc-steps li {
    display: grid;
    gap: 0.25rem;
}

.tc-steps strong {
    color: #0e2a38;
}

.tc-flow-panel {
    display: flex;
    justify-content: center;
}

.tc-flow-glass {
    width: min(420px, 100%);
    border-radius: 22px;
    padding: 1.1rem 1.15rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 24px 60px rgba(11, 34, 48, 0.14);
    backdrop-filter: blur(14px);
}

.tc-flow-glass header {
    font-weight: 700;
    color: #0e2a38;
    margin-bottom: 0.75rem;
}

.tc-flow-glass ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.tc-flow-glass li {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 0.5rem;
    align-items: center;
    padding: 0.55rem 0.6rem;
    border-radius: 12px;
    background: rgba(14, 42, 56, 0.03);
    font-size: 0.88rem;
}

.tc-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
}

.tc-tag--ok {
    background: rgba(43, 187, 173, 0.15);
    color: #0d6b4f;
}

.tc-tag--wait {
    background: rgba(245, 159, 0, 0.15);
    color: #b45309;
}

/* Pricing plans (landing) */
.tc-pricing {
    padding-top: clamp(2rem, 5vw, 3rem);
}

.tc-pricing-status {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    margin: 0 auto;
    max-width: 28rem;
}

.tc-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.25rem;
    max-width: 1120px;
    margin: 0 auto;
    align-items: stretch;
}

.tc-pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.35rem 1.35rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 28px rgba(14, 42, 56, 0.07);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tc-pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(14, 42, 56, 0.1);
}

.tc-pricing-card--featured {
    border-color: rgba(43, 187, 173, 0.45);
    box-shadow: 0 16px 44px rgba(43, 187, 173, 0.16);
}

.tc-pricing-badge {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0d9488;
    background: #ecfdf5;
    border: 1px solid rgba(43, 187, 173, 0.35);
}

.tc-pricing-card-head {
    margin-bottom: 1rem;
    padding-inline-end: 4.5rem;
}

.tc-pricing-card--featured .tc-pricing-card-head {
    padding-inline-end: 5.5rem;
}

.tc-pricing-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0e2a38;
}

.tc-pricing-desc {
    margin: 0.4rem 0 0;
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.45;
}

.tc-pricing-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    margin-bottom: 1.15rem;
}

.tc-pricing-amount {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0e2a38;
    line-height: 1;
}

.tc-pricing-currency {
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
}

.tc-pricing-period {
    width: 100%;
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 500;
}

.tc-pricing-features {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.tc-pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.86rem;
    line-height: 1.4;
    color: #334155;
}

.tc-pricing-feature--off {
    color: #94a3b8;
}

.tc-pricing-feature-ico {
    flex-shrink: 0;
    width: 1.15rem;
    font-weight: 800;
    text-align: center;
}

.tc-pricing-feature--on .tc-pricing-feature-ico {
    color: #0d9488;
}

.tc-pricing-feature--off .tc-pricing-feature-ico {
    color: #cbd5e1;
}

.tc-pricing-cta {
    width: 100%;
    margin-top: auto;
}

.tc-cta {
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem) 3.5rem;
}

.tc-cta-inner {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 26px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, #0e2a38 0%, #123a4d 45%, #0b5f55 120%);
    color: #e8f1f5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 26px 70px rgba(14, 42, 56, 0.32);
}

.tc-cta-title {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    letter-spacing: -0.02em;
}

.tc-cta-sub {
    margin: 0.5rem 0 0;
    color: rgba(232, 241, 245, 0.82);
    max-width: 36rem;
    line-height: 1.55;
}

.tc-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.tc-cta .tc-land-btn--primary {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.tc-cta .tc-land-btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff !important;
}

.tc-land-footer {
    text-align: center;
    padding: 1.5rem 1rem 2.25rem;
    font-size: 0.85rem;
    color: #6b7a85;
}

.tc-land-footer a {
    color: #229e92;
    text-decoration: none;
    font-weight: 600;
}

/* Auth split layout — full-viewport grid */
.tc-auth {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    font-family: var(--mf-font, "Inter", system-ui, sans-serif);
    background: #f3f6f8;
}

.tc-auth-lang {
    flex-shrink: 0;
}

.tc-auth-card-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.tc-auth-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(800px 420px at 0% 0%, rgba(43, 187, 173, 0.2), transparent 60%),
        radial-gradient(700px 400px at 100% 20%, rgba(76, 110, 245, 0.14), transparent 55%);
    z-index: 0;
}

.tc-auth-grid {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: stretch;
}

@media (min-width: 940px) {
    .tc-auth-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        grid-template-rows: minmax(0, 1fr);
        box-shadow: 0 30px 80px rgba(11, 34, 48, 0.08);
    }
}

/* Full-viewport register (no split aside): single column, wide form card */
.tc-auth--solo .tc-auth-grid {
    grid-template-columns: 1fr;
    box-shadow: none;
}

@media (min-width: 940px) {
    .tc-auth--solo .tc-auth-grid {
        grid-template-columns: 1fr;
    }
}

.tc-auth--solo .tc-auth-panel {
    padding: clamp(1rem, 4vw, 2.75rem);
}

.tc-auth--solo .tc-auth-card {
    max-width: min(920px, 100%);
}

@media (min-width: 940px) {
    .tc-auth--solo .tc-auth-card {
        max-width: min(960px, 94vw);
    }
}

/* Forgot / reset password — centered like register, compact card like login */
.tc-auth--solo.tc-auth--form .tc-auth-card {
    max-width: min(440px, 100%);
}

@media (min-width: 940px) {
    .tc-auth--solo.tc-auth--form .tc-auth-card {
        max-width: min(480px, 92%);
    }
}

.tc-auth-aside {
    display: none;
    box-sizing: border-box;
    background: linear-gradient(160deg, #0e2a38 0%, #0f3d45 48%, #1a4b53 100%);
    color: #dfeef1;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    align-self: stretch;
}

@media (min-width: 940px) {
    .tc-auth-aside {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        min-height: 0;
        height: 100%;
    }
}

.tc-auth-aside--mint {
    background: linear-gradient(160deg, #0b3a35 0%, #0e2a38 40%, #122b38 100%);
}

.tc-auth-aside::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 20% 20%, rgba(43, 187, 173, 0.35), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(76, 110, 245, 0.22), transparent 45%);
    opacity: 0.75;
    pointer-events: none;
}

/* Login left panel — healthcare hero (images/auth/login-aside-bg.jpg, Unsplash) */
.tc-auth-aside--login {
    position: relative;
    justify-content: flex-end;
    padding: 0;
    background-color: #0e2a38;
    color: #f5fbfc;
}

.tc-auth-aside-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% center;
}

.tc-auth-aside--login::after {
    display: none;
}

.tc-auth-aside-scrim {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        165deg,
        rgba(8, 28, 38, 0.55) 0%,
        rgba(8, 28, 38, 0.18) 42%,
        rgba(8, 28, 38, 0.42) 68%,
        rgba(8, 28, 38, 0.94) 100%
    );
    pointer-events: none;
}

.tc-auth-aside--login .tc-auth-aside-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    padding: clamp(1.75rem, 4vw, 3rem);
    margin-top: auto;
}

.tc-auth-aside--login .tc-auth-brand {
    color: #f5fbfc;
}

.tc-auth-aside--login .tc-auth-brand span {
    color: #7ee8da;
}

.tc-auth-aside--login .tc-auth-quote {
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.tc-auth-aside--login .tc-auth-attrib,
.tc-auth-aside--login .tc-auth-bullets {
    color: rgba(245, 251, 252, 0.88);
}

/* Register — full-page background + centered card */
.tc-auth--register {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: transparent;
    overflow: hidden;
    isolation: isolate;
}

.tc-public:has(.tc-auth--register) {
    background: #0e2a38;
}

.tc-register-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #0e2a38;
    background-image: url("../images/auth/register-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tc-register-bg-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tc-register-bg-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(8, 28, 38, 0.52) 0%, rgba(14, 42, 56, 0.38) 50%, rgba(8, 28, 38, 0.58) 100%),
        radial-gradient(ellipse 90% 70% at 50% 30%, rgba(43, 187, 173, 0.15), transparent 65%);
}

.tc-auth-grid--register {
    position: relative;
    z-index: 1;
    grid-template-columns: 1fr;
    box-shadow: none;
    min-height: 100vh;
    min-height: 100dvh;
}

.tc-auth-panel--register-solo {
    background: transparent !important;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(1.25rem, 4vw, 2.75rem);
    width: 100%;
}

.tc-auth--register .tc-auth-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 4px 6px rgba(8, 28, 38, 0.04),
        0 24px 64px rgba(8, 28, 38, 0.28);
    width: 100%;
}

.tc-auth--register .tc-auth-card--register-form {
    max-width: min(880px, 100%);
}

.tc-auth--register .tc-auth-card--register-plans {
    max-width: min(1100px, 100%);
}

@media (min-width: 940px) {
    .tc-auth--register .tc-auth-card--register-form {
        max-width: min(920px, 96vw);
    }

    .tc-auth--register .tc-auth-card--register-plans {
        max-width: min(1100px, 96vw);
    }

    .tc-auth--register .tc-auth-panel--register-solo {
        background: transparent !important;
    }
}

.tc-register-steps {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.tc-register-steps--card {
    padding-bottom: 0.85rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(14, 42, 56, 0.08);
}

.tc-register-step {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 600;
}

.tc-register-step--active {
    color: #0e2a38;
}

.tc-register-step--done {
    color: #0d9488;
}

.tc-register-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    flex-shrink: 0;
}

.tc-register-step--active .tc-register-step-no {
    background: linear-gradient(135deg, #2bbbad, #1a9a8f);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(43, 187, 173, 0.35);
}

.tc-register-step--done .tc-register-step-no {
    background: #ecfdf5;
    border-color: rgba(13, 148, 136, 0.35);
    color: #0d9488;
}

.tc-auth-plan-grid--register {
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .tc-auth--register-plans .tc-auth-plan-grid--register {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    }
}

.tc-auth-plan-card--register {
    border-radius: 18px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tc-auth-plan-card--register:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(14, 42, 56, 0.12);
}

.tc-auth-plan-banner--modern {
    border-radius: 16px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(43, 187, 173, 0.06));
    border: 1px solid rgba(13, 148, 136, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tc-auth-plan-banner-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.tc-auth-plan-name {
    font-size: 1.05rem;
    color: #0e2a38;
}

.tc-register-section {
    margin-bottom: 1.35rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(14, 42, 56, 0.07);
}

.tc-register-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.tc-register-section-title {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d9488;
}

.tc-register-mode-fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.tc-register-mode-grid {
    display: grid;
    gap: 0.65rem;
}

@media (min-width: 520px) {
    .tc-register-mode-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tc-register-mode-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    border: 1.5px solid rgba(14, 42, 56, 0.1);
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.tc-register-mode-card:hover {
    border-color: rgba(43, 187, 173, 0.35);
    background: #fff;
}

.tc-register-mode-card.is-selected {
    border-color: rgba(43, 187, 173, 0.65);
    background: linear-gradient(180deg, #fff, #f0fdfa);
    box-shadow: 0 0 0 3px rgba(43, 187, 173, 0.14);
}

.tc-register-mode-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tc-register-mode-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.tc-register-mode-card.is-selected .tc-register-mode-icon {
    background: linear-gradient(135deg, #2bbbad, #1a9a8f);
    color: #fff;
}

.tc-register-mode-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tc-register-mode-text strong {
    font-size: 0.88rem;
    color: #0e2a38;
    line-height: 1.35;
}

.tc-register-mode-text .tc-auth-hint {
    font-size: 0.78rem;
    line-height: 1.4;
}

.tc-register-form .tc-auth-submit--register {
    margin-top: 0.35rem;
    width: 100%;
    padding-block: 0.75rem;
    font-size: 1rem;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(43, 187, 173, 0.28);
}

.tc-register-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
}

.tc-register-loading-dots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tc-register-loading-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #2bbbad;
    animation: tc-register-pulse 1.1s ease-in-out infinite;
}

.tc-register-loading-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.tc-register-loading-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes tc-register-pulse {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: scale(0.85);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}

.tc-register-empty {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.tc-auth-aside-gallery {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 100%;
    max-width: min(420px, 100%);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1rem);
}

.tc-auth-aside-figure {
    margin: 0;
    overflow: hidden;
    border-radius: clamp(14px, 2vw, 20px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    background: rgba(255, 255, 255, 0.04);
}

.tc-auth-aside-figure img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.tc-auth-aside-figure--hero {
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
}

.tc-auth-aside-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.65rem, 1.5vw, 0.85rem);
}

.tc-auth-aside-figure--thumb {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.tc-auth-aside-figure--thumb figcaption {
    padding: 0.45rem 0.65rem 0.6rem;
    font-size: 0.72rem;
    line-height: 1.35;
    color: rgba(223, 238, 241, 0.82);
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
}

.tc-auth-aside-visual {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 100%;
    max-width: min(320px, 88%);
    margin-inline: auto;
    margin-bottom: clamp(1rem, 3vw, 1.75rem);
    padding: clamp(0.75rem, 2vw, 1.25rem);
    border-radius: clamp(16px, 2.5vw, 22px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tc-auth-aside-svg {
    width: 100%;
    height: auto;
    display: block;
}

.tc-auth-aside-inner {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.tc-auth-brand {
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.35rem;
    margin: 0 0 1.25rem;
}

.tc-auth-brand span {
    color: #7ee8da;
}

.tc-auth-quote {
    margin: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    line-height: 1.35;
    font-weight: 650;
    color: #f5fbfc;
}

.tc-auth-attrib {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: rgba(223, 238, 241, 0.75);
}

.tc-auth-bullets {
    margin: 1.75rem 0 0;
    padding: 0 0 0 1.1rem;
    color: rgba(223, 238, 241, 0.88);
    line-height: 1.55;
    font-size: 0.92rem;
}

.tc-auth-panel {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2.5rem);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #f6f9fb);
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    align-self: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 940px) {
    .tc-auth-panel {
        background: #f6f9fb;
        min-height: 0;
        height: 100%;
    }

    .tc-auth--register .tc-auth-panel--register-solo {
        background: transparent !important;
    }
}

.tc-auth-card {
    box-sizing: border-box;
    width: 100%;
    max-width: min(440px, 100%);
    margin-inline: auto;
    border-radius: clamp(14px, 2vw, 22px);
    padding: clamp(1.25rem, 4vw, 2rem);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(14, 42, 56, 0.08);
    box-shadow: 0 18px 48px rgba(11, 34, 48, 0.1);
    backdrop-filter: blur(10px);
}

@media (min-width: 940px) {
    .tc-auth-card {
        max-width: min(480px, 92%);
    }
}

.tc-auth-card-head {
    margin-bottom: 1.25rem;
}

.tc-auth-card-brand {
    margin-bottom: 1rem;
    color: var(--tc-ortho-navy);
}

.tc-auth-card-brand span span {
    color: var(--tc-ortho-teal);
}

.tc-auth-aside-brand {
    margin-bottom: 1.25rem;
    color: #f5fbfc;
    text-decoration: none;
}

.tc-auth-aside-brand span span {
    color: #7ee8da;
}

.tc-auth-card-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    padding: 0;
}

.tc-auth--login .tc-auth-card {
    box-shadow: 0 22px 56px rgba(11, 34, 48, 0.12);
}

.tc-auth-title {
    margin: 0;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    color: #071923;
}

.tc-auth-sub {
    margin: 0.35rem 0 0;
    color: #526774;
    line-height: 1.5;
    font-size: 0.95rem;
}

.tc-auth-alert {
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    background: rgba(180, 83, 9, 0.1);
    color: #92400e;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(180, 83, 9, 0.18);
}

.tc-auth-alert--success {
    background: rgba(13, 148, 136, 0.1);
    color: #0f766e;
    border-color: rgba(13, 148, 136, 0.22);
}

.tc-auth-card--wide {
    max-width: 72rem;
}

/* Register card width must win over default .tc-auth-card caps */
.tc-auth--register .tc-auth-card.tc-auth-card--register-form {
    max-width: min(880px, 100%);
}

.tc-auth--register .tc-auth-card.tc-auth-card--wide.tc-auth-card--register-plans {
    max-width: min(1100px, 100%);
}

@media (min-width: 940px) {
    .tc-auth--register .tc-auth-card.tc-auth-card--register-form {
        max-width: min(920px, 96vw);
    }

    .tc-auth--register .tc-auth-card.tc-auth-card--wide.tc-auth-card--register-plans {
        max-width: min(1100px, 96vw);
    }
}

.tc-auth-plan-grid {
    margin-bottom: 1rem;
}

.tc-auth-plan-grid.tc-pricing-grid {
    max-width: none;
    margin-inline: 0;
}

.tc-auth-plan-card.tc-pricing-card {
    height: 100%;
}

.tc-auth-plan-select {
    width: 100%;
}

.tc-auth-plan-banner {
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tc-auth-plan-change {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d9488;
    text-decoration: none;
    white-space: nowrap;
}

.tc-auth-plan-change:hover {
    text-decoration: underline;
}

.tc-auth-plan-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f766e;
}

.tc-auth-plan-price {
    font-size: 0.88rem;
    color: #475569;
}

.tc-field {
    margin-bottom: 0.9rem;
}

.tc-field-row {
    display: grid;
    gap: 0.9rem;
}

@media (min-width: 520px) {
    .tc-field-row {
        grid-template-columns: 1fr 1fr;
    }
}

.tc-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7a85;
    margin-bottom: 0.35rem;
}

.tc-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(14, 42, 56, 0.12);
    padding: 0.6rem 0.75rem;
    font: inherit;
    background: #fff;
    color: #0e2a38;
    outline: none;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.tc-input:focus {
    border-color: rgba(43, 187, 173, 0.65);
    box-shadow: 0 0 0 3px rgba(43, 187, 173, 0.2);
}

.tc-password-field {
    position: relative;
}

.tc-password-field .tc-input {
    padding-inline-end: 2.75rem;
}

.tc-password-toggle {
    position: absolute;
    inset-inline-end: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6b7a85;
    cursor: pointer;
    transition: color 0.12s ease, background 0.12s ease;
}

.tc-password-toggle:hover {
    color: #0e2a38;
    background: rgba(14, 42, 56, 0.06);
}

.tc-password-toggle:focus-visible {
    outline: 2px solid rgba(43, 187, 173, 0.65);
    outline-offset: 2px;
}

.tc-auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.15rem 0 0.85rem;
}

.tc-auth-remember-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    font-size: 0.9rem;
    color: #4b5c68;
    cursor: pointer;
    user-select: none;
}

.tc-auth-remember-check {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: #1a9a8f;
    cursor: pointer;
}

.tc-auth-forgot-link {
    font-size: 0.9rem;
    color: #229e92;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.tc-auth-forgot-link:hover {
    text-decoration: underline;
}

.tc-auth-hint {
    margin: -0.35rem 0 0.9rem;
    font-size: 0.8rem;
    color: #6b7a85;
}

.tc-auth-submit {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.7rem 1rem;
    border: none;
}

.tc-auth-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.tc-terms-panel {
    margin: 1rem 0 0.75rem;
    border: 1px solid rgba(14, 42, 56, 0.12);
    border-radius: 12px;
    background: #f8fbfc;
    overflow: hidden;
}

.tc-terms-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(14, 42, 56, 0.08);
    background: rgba(43, 187, 173, 0.08);
}

.tc-terms-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0e2a38;
}

.tc-terms-version {
    font-size: 0.75rem;
    color: #6b7a85;
}

.tc-terms-scroll {
    max-height: min(360px, 48vh);
    overflow: auto;
    padding: 1rem 1.15rem 1.25rem;
    background: #fff;
    text-align: start;
    -webkit-overflow-scrolling: touch;
}

.tc-terms-scroll--ltr {
    direction: ltr;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.tc-terms-scroll--rtl {
    direction: rtl;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

/* Structured terms document (legal/*.html) */
.tc-tdoc {
    color: #152a38;
    font-size: 0.9375rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tc-terms-scroll--rtl .tc-tdoc {
    font-size: 1rem;
    line-height: 1.85;
}

.tc-tdoc__header {
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid rgba(43, 187, 173, 0.35);
}

.tc-tdoc__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0e2a38;
    letter-spacing: -0.02em;
}

.tc-tdoc__meta {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    color: #5a6d7a;
}

.tc-tdoc__subtitle {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a3a4a;
}

.tc-tdoc__intro {
    margin: 0;
    color: #2d4554;
}

.tc-tdoc__section {
    margin-top: 1.15rem;
    padding-top: 0.15rem;
}

.tc-tdoc__section + .tc-tdoc__section {
    border-top: 1px solid rgba(14, 42, 56, 0.07);
    padding-top: 1rem;
}

.tc-tdoc__h2 {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0 0 0.55rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0e2a38;
    line-height: 1.4;
}

.tc-tdoc__num {
    flex-shrink: 0;
    min-width: 1.5rem;
    color: #229e92;
    font-weight: 700;
}

.tc-terms-scroll--rtl .tc-tdoc__h2 {
    flex-direction: row;
}

.tc-tdoc__h3 {
    margin: 0.65rem 0 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f4a5c;
}

.tc-tdoc__p {
    margin: 0 0 0.55rem;
    color: #2d4554;
}

.tc-tdoc__p:last-child {
    margin-bottom: 0;
}

.tc-tdoc__note {
    margin-top: 0.65rem;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    background: rgba(43, 187, 173, 0.08);
    border-inline-start: 3px solid #2bbbad;
}

.tc-tdoc__list,
.tc-tdoc__olist {
    margin: 0.35rem 0 0.65rem;
    padding-inline-start: 1.35rem;
}

.tc-tdoc__list li,
.tc-tdoc__olist li {
    margin-bottom: 0.35rem;
    padding-inline-start: 0.15rem;
}

.tc-tdoc__list li::marker {
    color: #2bbbad;
}

.tc-tdoc__olist li::marker {
    color: #229e92;
    font-weight: 700;
}

.tc-tdoc__list--cols {
    display: grid;
    gap: 0.25rem 1rem;
}

@media (min-width: 480px) {
    .tc-tdoc__list--cols {
        grid-template-columns: 1fr 1fr;
    }
}

.tc-tdoc strong {
    font-weight: 700;
    color: #0e2a38;
}

.tc-tdoc u {
    text-decoration: underline;
    text-decoration-color: rgba(34, 158, 146, 0.55);
    text-underline-offset: 2px;
}

.tc-tdoc em {
    font-style: italic;
    color: #5a6d7a;
}

.tc-terms-error {
    padding: 0.75rem 0.85rem;
    margin: 0;
    color: #b42318;
}

.tc-terms-accept {
    margin-top: 0.5rem;
}

.tc-terms-accept-label {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #152a38;
    cursor: pointer;
}

.tc-public--rtl .tc-terms-accept-label {
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

.tc-terms-accept-label input {
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #2bbbad;
}

.tc-auth-switch {
    margin: 1.15rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: #526774;
}

.tc-auth-switch a {
    color: #229e92;
    font-weight: 700;
    text-decoration: none;
}

.tc-auth-back {
    margin: 0.75rem 0 0;
    text-align: center;
    font-size: 0.86rem;
}

.tc-auth-back a {
    color: #6b7a85;
    text-decoration: none;
    font-weight: 600;
}

/* Orthoc-inspired landing (ClinuCloud palette) */
.tc-ortho {
    --tc-ortho-muted: #f4f8fa;
    --tc-ortho-text: #415a69;
    min-height: 100vh;
    background: #fff;
    color: var(--tc-ortho-navy);
}

.tc-ortho-container {
    width: min(1140px, 100%);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.tc-ortho-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.85rem clamp(1rem, 4vw, 2rem);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(14, 42, 56, 0.08);
    box-shadow: 0 4px 24px rgba(14, 42, 56, 0.06);
}

.tc-ortho-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--tc-ortho-navy);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.tc-ortho-brand span span {
    color: var(--tc-ortho-teal);
}

.tc-ortho-brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    border: none;
    overflow: visible;
    padding: 0;
}

.tc-ortho-menu-btn {
    display: inline-flex;
    margin-inline-start: auto;
    border: 1px solid rgba(14, 42, 56, 0.12);
    background: #fff;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (min-width: 992px) {
    .tc-ortho-menu-btn {
        display: none;
    }
}

.tc-ortho-menu-icon,
.tc-ortho-menu-icon::before,
.tc-ortho-menu-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--tc-ortho-navy);
    border-radius: 2px;
    position: relative;
}

.tc-ortho-menu-icon::before,
.tc-ortho-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.tc-ortho-menu-icon::before { top: -6px; }
.tc-ortho-menu-icon::after { top: 6px; }

.tc-ortho-nav {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid rgba(14, 42, 56, 0.1);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(14, 42, 56, 0.12);
}

@media (max-width: 991px) {
    .tc-ortho-nav {
        position: static;
        inset: auto;
    }

    .tc-ortho-nav:not(.tc-ortho-nav--open) {
        display: none;
    }

    .tc-ortho-nav--open {
        display: flex;
    }
}

@media (min-width: 992px) {
    .tc-ortho-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.1rem;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        flex: 1;
        justify-content: center;
    }
}

.tc-ortho-nav-link {
    text-decoration: none;
    color: var(--tc-ortho-text);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
}

.tc-ortho-nav-link:hover {
    color: var(--tc-ortho-teal-dark);
    background: rgba(43, 187, 173, 0.08);
}

.tc-ortho-header-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    margin-inline-start: auto;
}

@media (max-width: 991px) {
    .tc-ortho-header-actions {
        order: 4;
        width: 100%;
        justify-content: flex-end;
    }

    .tc-ortho-nav {
        order: 3;
        width: 100%;
    }
}

.tc-ortho-link {
    text-decoration: none;
    color: var(--tc-ortho-navy);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 0.65rem;
}

.tc-ortho-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.tc-ortho-btn:hover {
    transform: translateY(-1px);
}

.tc-ortho-btn--primary {
    color: #fff !important;
    background: linear-gradient(180deg, var(--tc-ortho-teal) 0%, var(--tc-ortho-teal-dark) 100%);
    box-shadow: 0 10px 24px rgba(43, 187, 173, 0.28);
}

.tc-ortho-btn--outline {
    color: var(--tc-ortho-navy) !important;
    background: #fff;
    border-color: rgba(14, 42, 56, 0.14);
}

.tc-ortho-btn--lg {
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
}

.tc-ortho-btn--block {
    width: 100%;
}

.tc-ortho-hero {
    position: relative;
    min-height: clamp(420px, 72vh, 640px);
    overflow: hidden;
    background: var(--tc-ortho-navy-deep);
}

.tc-ortho-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tc-ortho-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tc-ortho-hero-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.tc-ortho-hero-slide--active {
    opacity: 1;
    visibility: visible;
}

.tc-ortho-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 25, 35, 0.88) 0%, rgba(14, 42, 56, 0.72) 45%, rgba(11, 95, 85, 0.55) 100%);
}

.tc-ortho-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    min-height: clamp(420px, 72vh, 640px);
    padding-block: clamp(3rem, 8vw, 5rem);
}

.tc-ortho-hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px;
    color: #fff;
}

.tc-ortho-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: clamp(0.5rem, 2vw, 1.5rem);
}

.tc-ortho-hero-slide-img {
    width: min(100%, 420px);
    max-height: min(52vh, 420px);
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(7, 25, 35, 0.35));
}

.tc-ortho-hero-title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.tc-ortho-hero-lead {
    margin: 1rem 0 0;
    font-size: clamp(1rem, 2vw, 1.12rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 34rem;
}

.tc-ortho-hero-inner .tc-ortho-btn {
    margin-top: 1.75rem;
    align-self: flex-start;
}

.tc-ortho-hero-controls {
    position: absolute;
    z-index: 3;
    inset-inline: 0;
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 991px) {
    .tc-ortho-hero-layout {
        grid-template-columns: 1fr;
        min-height: clamp(480px, 78vh, 680px);
        padding-block: clamp(2.5rem, 7vw, 4rem);
    }

    .tc-ortho-hero-visual {
        order: -1;
        padding-inline: 0;
    }

    .tc-ortho-hero-slide-img {
        width: min(100%, 280px);
        max-height: 220px;
    }
}

.tc-ortho-hero-arrow {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.tc-ortho-hero-arrow--light {
    border-color: rgba(14, 42, 56, 0.15);
    background: #fff;
    color: var(--tc-ortho-navy);
}

.tc-ortho-hero-dots {
    display: flex;
    gap: 0.45rem;
}

.tc-ortho-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
}

.tc-ortho-hero-dot--active {
    width: 28px;
    background: var(--tc-ortho-teal);
}

.tc-ortho-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.tc-ortho-section--muted {
    background: var(--tc-ortho-muted);
}

.tc-ortho-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.25rem;
}

.tc-ortho-section-title {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    letter-spacing: -0.03em;
    color: var(--tc-ortho-navy);
    font-weight: 800;
}

.tc-ortho-section-title--light {
    color: #fff;
}

.tc-ortho-section-sub {
    margin: 0.75rem 0 0;
    color: var(--tc-ortho-text);
    line-height: 1.65;
    font-size: 1rem;
}

.tc-ortho-dept-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.tc-ortho-dept-card {
    text-align: center;
    padding: 1.75rem 1.25rem 1.5rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(14, 42, 56, 0.08);
    box-shadow: 0 12px 32px rgba(14, 42, 56, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tc-ortho-dept-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(43, 187, 173, 0.12);
}

.tc-ortho-dept-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.75rem;
    background: rgba(43, 187, 173, 0.12);
}

.tc-ortho-dept-icon--b { background: rgba(76, 110, 245, 0.12); }
.tc-ortho-dept-icon--c { background: rgba(124, 58, 237, 0.12); }
.tc-ortho-dept-icon--d { background: rgba(245, 159, 0, 0.14); }

.tc-ortho-dept-card h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--tc-ortho-navy);
}

.tc-ortho-dept-card p {
    margin: 0.55rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--tc-ortho-text);
}

.tc-ortho-section-cta {
    text-align: center;
    margin-top: 2rem;
}

.tc-ortho-about {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 900px) {
    .tc-ortho-about {
        grid-template-columns: 1fr 1fr;
    }
}

.tc-ortho-about-media {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(43, 187, 173, 0.12), rgba(14, 42, 56, 0.06));
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(14, 42, 56, 0.08);
}

.tc-ortho-about-media img {
    display: block;
    width: 100%;
    height: auto;
}

.tc-ortho-about-copy .tc-ortho-section-title {
    text-align: start;
}

.tc-ortho-about-body {
    margin: 1rem 0 1.5rem;
    color: var(--tc-ortho-text);
    line-height: 1.7;
    font-size: 1rem;
}

.tc-ortho-team-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.tc-ortho-team-card {
    text-align: center;
    padding: 2rem 1.25rem 1.5rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(14, 42, 56, 0.08);
    box-shadow: 0 12px 32px rgba(14, 42, 56, 0.06);
}

.tc-ortho-team-photo {
    width: 110px;
    height: 110px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 4px solid #fff;
    box-shadow: 0 10px 24px rgba(14, 42, 56, 0.12);
}

.tc-ortho-team-icon {
    width: 48px;
    height: 48px;
    display: block;
}

.tc-ortho-avatar--a { background: linear-gradient(145deg, #2bbbad, #0e7c71); }
.tc-ortho-avatar--b { background: linear-gradient(145deg, #4c6ef5, #364fc7); }
.tc-ortho-avatar--c { background: linear-gradient(145deg, #0e2a38, #123845); }

.tc-ortho-team-social {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.tc-ortho-team-social span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(43, 187, 173, 0.45);
}

.tc-ortho-team-card h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--tc-ortho-navy);
}

.tc-ortho-team-card p {
    margin: 0.35rem 0 0;
    color: var(--tc-ortho-teal-dark);
    font-weight: 600;
    font-size: 0.88rem;
}

.tc-ortho-status {
    text-align: center;
    color: #64748b;
}

.tc-ortho-contact-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 900px) {
    .tc-ortho-contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tc-ortho-contact-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.tc-ortho-contact-list li {
    display: grid;
    gap: 0.2rem;
}

.tc-ortho-contact-k {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-ortho-teal-dark);
}

.tc-ortho-contact-list a {
    color: var(--tc-ortho-navy);
    text-decoration: none;
    font-weight: 600;
}

.tc-ortho-contact-form {
    display: grid;
    gap: 0.85rem;
    padding: 1.5rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(14, 42, 56, 0.08);
    box-shadow: 0 16px 40px rgba(14, 42, 56, 0.08);
}

.tc-ortho-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(14, 42, 56, 0.12);
    padding: 0.7rem 0.85rem;
    font: inherit;
    color: var(--tc-ortho-navy);
    background: #fff;
    outline: none;
}

.tc-ortho-input:focus {
    border-color: rgba(43, 187, 173, 0.65);
    box-shadow: 0 0 0 3px rgba(43, 187, 173, 0.18);
}

.tc-ortho-input--dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.tc-ortho-textarea {
    resize: vertical;
    min-height: 120px;
}

.tc-ortho-testimonials {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: linear-gradient(135deg, var(--tc-ortho-navy) 0%, #0b5f55 100%);
}

.tc-ortho-testimonial-panel {
    position: relative;
    max-width: 760px;
    margin: 2rem auto 0;
    min-height: 180px;
}

.tc-ortho-quote {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
}

.tc-ortho-quote--active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.tc-ortho-quote p {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.75;
    font-style: italic;
}

.tc-ortho-quote footer {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    font-style: normal;
    color: #7ee8da;
}

.tc-ortho-testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tc-ortho-footer {
    background: var(--tc-ortho-navy-deep);
    color: rgba(255, 255, 255, 0.82);
    padding-top: 3rem;
}

.tc-ortho-footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.tc-ortho-footer-title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    color: #fff;
}

.tc-ortho-footer-text,
.tc-ortho-footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.65;
    font-size: 0.92rem;
}

.tc-ortho-footer-list li + li {
    margin-top: 0.45rem;
}

.tc-ortho-footer-list a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.tc-ortho-footer-list a:hover {
    color: #7ee8da;
}

.tc-ortho-newsletter {
    display: grid;
    gap: 0.65rem;
}

.tc-ortho-footer-bottom {
    margin-top: 2rem;
    padding: 1.25rem 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
}

.tc-ortho-footer-bottom a {
    color: #7ee8da;
    text-decoration: none;
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .tc-ortho-hero-slide,
    .tc-ortho-quote,
    .tc-ortho-btn,
    .tc-ortho-dept-card {
        transition: none;
    }
}
