/* Public marketing + auth surfaces (ClinuCloud) */
.tc-public {
    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-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;
}

/* Placeholder illustration — swap SVG in AuthAsidePlaceholder.razor or replace with <img>. */
.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-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-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: 52rem;
}

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

@media (min-width: 640px) {
    .tc-auth-plan-grid {
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    }
}

.tc-auth-plan-card {
    border-radius: 14px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tc-auth-plan-card--featured {
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12);
}

.tc-auth-plan-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.tc-auth-plan-price-line {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

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

.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-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-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;
}
