/* Register page — all rules scoped under .tt-register-page */

.tt-register-page {
    --tt-reg-teal: #0f9e8a;
    --tt-reg-teal-dark: #0c7d6e;
    --tt-reg-panel: #0f2d35;
    --tt-reg-amber: #e8a317;
    --tt-reg-purple: #7c6fd6;
    --tt-reg-accent-basic: #0f9e8a;
    --tt-reg-accent-business: #e8a317;
    --tt-reg-accent-community: #7c6fd6;

    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 4.5rem);
    overflow-x: hidden;
    box-sizing: border-box;
    background: var(--color-background-primary, var(--white, #fff));
}

.tt-register-page *,
.tt-register-page *::before,
.tt-register-page *::after {
    box-sizing: border-box;
}

/* ——— Mobile strip ——— */
.tt-register-page .tt-register-page__strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 80px;
    padding: 0 1rem;
    background: var(--tt-reg-panel);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tt-register-page .tt-register-page__strip-logo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.tt-register-page .tt-register-page__strip-tagline {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .tt-register-page .tt-register-page__strip {
        display: none;
    }
}

/* ——— Shell ——— */
.tt-register-page .tt-register-page__shell {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
}

@media (min-width: 768px) {
    .tt-register-page {
        flex-direction: row;
        align-items: stretch;
        min-height: calc(100vh - 4.5rem);
    }

    .tt-register-page .tt-register-page__shell {
        flex-direction: row;
        flex: 1 1 auto;
        min-width: 0;
        min-height: calc(100vh - 4.5rem);
        max-height: calc(100vh - 4.5rem);
    }
}

/* ——— Left hero (desktop) ——— */
.tt-register-page .tt-register-page__hero {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.75rem;
    background: var(--tt-reg-panel);
    color: #fff;
    overflow: hidden;
}

.tt-register-page .tt-register-page__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(15, 158, 138, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(124, 111, 214, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .tt-register-page .tt-register-page__hero {
        display: flex;
        flex: 0 0 35%;
        max-width: 35%;
        min-height: calc(100vh - 4.5rem);
        max-height: calc(100vh - 4.5rem);
    }
}

@media (min-width: 1024px) {
    .tt-register-page .tt-register-page__hero {
        flex: 0 0 40%;
        max-width: 40%;
    }
}

.tt-register-page .tt-register-page__hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 22rem;
    margin: 0 auto;
}

.tt-register-page .tt-register-page__hero-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.tt-register-page .tt-register-page__hero-heading {
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.25;
    color: #fff;
}

.tt-register-page .tt-register-page__hero-sub {
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
    max-width: 20rem;
}

.tt-register-page .tt-register-page__trust-list {
    list-style: none;
    margin: 0 0 auto;
    padding: 0;
    width: 100%;
    text-align: left;
}

.tt-register-page .tt-register-page__trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #fff;
}

.tt-register-page .tt-register-page__trust-list .fa-check {
    margin-top: 0.15rem;
    color: var(--tt-reg-teal);
    font-size: 0.75rem;
}

.tt-register-page .tt-register-page__hero-foot {
    margin: 2rem 0 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ——— Main column ——— */
.tt-register-page .tt-register-page__main {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--color-background-primary, var(--white, #fff));
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .tt-register-page .tt-register-page__main {
        flex: 1 1 65%;
        max-height: calc(100vh - 4.5rem);
    }
}

@media (min-width: 1024px) {
    .tt-register-page .tt-register-page__main {
        flex: 1 1 60%;
    }
}

.tt-register-page .tt-register-page__inner {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
}

@media (min-width: 768px) {
    .tt-register-page .tt-register-page__inner {
        padding: 2.5rem 1.5rem 3rem;
    }
}

.tt-register-page .tt-register-page__header {
    margin-bottom: 1.5rem;
}

.tt-register-page .tt-register-page__title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal, #2f4858);
    line-height: 1.25;
}

.tt-register-page .tt-register-page__subtitle {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
    line-height: 1.45;
}

/* ——— Form layout ——— */
.tt-register-page .tt-register-page__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tt-register-page .tt-register-page__form .form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.tt-register-page .tt-register-page__form .form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
}

.tt-register-page .tt-register-page__form .form-input {
    width: 100%;
    max-width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--color-border-secondary, var(--medium-gray, #e9ecef));
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--color-background-primary, var(--white, #fff));
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tt-register-page .tt-register-page__form .form-input:focus {
    outline: none;
    border-color: var(--tt-reg-teal);
    box-shadow: 0 0 0 3px rgba(15, 158, 138, 0.12);
}

.tt-register-page .tt-register-page__form .form-input.input-validation-error,
.tt-register-page .tt-register-page__form .form-input.is-invalid {
    border-color: var(--color-border-danger, var(--danger-color, #dc3545));
}

/* Password fields: AuthManager wraps inputs in .password-field and appends .password-toggle */
.tt-register-page .password-field {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
}

.tt-register-page .password-field .form-input.password-input,
.tt-register-page .password-field input.password-input {
    padding-right: 2.75rem;
}

.tt-register-page .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
    cursor: pointer;
    padding: 0.35rem;
    margin: 0;
    border-radius: 6px;
    z-index: 2;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.tt-register-page .password-toggle:hover {
    color: var(--tt-reg-teal);
    background: rgba(15, 158, 138, 0.08);
}

.tt-register-page .password-toggle:focus {
    outline: none;
}

.tt-register-page .password-toggle:focus-visible {
    outline: 2px solid var(--tt-reg-teal);
    outline-offset: 2px;
}

/* ValidationManager legacy: error node is inserted after .password-field (not inside it) */
.tt-register-page .password-field + .field-error {
    margin-top: 0.25rem;
}

.tt-register-page .tt-register-page__form .text-danger {
    font-size: 0.8125rem;
}

.tt-register-page .error-message {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.25);
    color: var(--danger-color, #c82333);
    font-size: 0.875rem;
}

.tt-register-page .error-message.client-error {
    background: rgba(220, 53, 69, 0.08);
}

/* ——— Account type cards ——— */
.tt-register-page .account-type-selection {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}

@media (min-width: 768px) {
    .tt-register-page .account-type-selection {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
        gap: 0.65rem;
    }
}

.tt-register-page .account-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0.875rem 0.875rem;
    border-radius: 12px;
    border: 1px solid var(--color-border-tertiary, #e5e7eb);
    background: var(--color-background-primary, var(--white, #fff));
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
    min-width: 0;
}

.tt-register-page .account-type-card:hover:not(.disabled) {
    border-color: var(--color-border-secondary, #cbd5e1);
}

.tt-register-page .account-type-card.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.tt-register-page .account-type-check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #fff;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.tt-register-page .account-type-card--basic .account-type-check {
    background: var(--tt-reg-accent-basic);
}

.tt-register-page .account-type-card--business .account-type-check {
    background: var(--tt-reg-accent-business);
    top: 2rem;
}

.tt-register-page .account-type-card--community .account-type-check {
    background: var(--tt-reg-accent-community);
}

.tt-register-page .account-type-card.selected .account-type-check {
    opacity: 1;
    transform: scale(1);
}

.tt-register-page .account-type-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.2rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: linear-gradient(135deg, var(--tt-reg-amber) 0%, #d97706 100%);
    border-radius: 0 10px 0 8px;
    z-index: 1;
}

.tt-register-page .account-type-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tt-register-page .account-type-card--basic .account-type-icon {
    background: rgba(15, 158, 138, 0.12);
    color: var(--tt-reg-accent-basic);
}

.tt-register-page .account-type-card--business .account-type-icon {
    background: rgba(232, 163, 23, 0.15);
    color: #b45309;
}

.tt-register-page .account-type-card--community .account-type-icon {
    background: rgba(124, 111, 214, 0.14);
    color: var(--tt-reg-accent-community);
}

.tt-register-page .account-type-name {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    color: var(--charcoal, #2f4858);
}

.tt-register-page .account-type-desc {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
    margin-bottom: 0.5rem;
    flex: 1 1 auto;
}

.tt-register-page .account-type-price {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--light-gray, #f8f9fa);
    color: var(--charcoal, #2f4858);
}

.tt-register-page .account-type-card--basic.selected .account-type-price {
    background: rgba(15, 158, 138, 0.12);
    color: var(--tt-reg-accent-basic);
}

.tt-register-page .account-type-card--business.selected .account-type-price {
    background: rgba(232, 163, 23, 0.15);
    color: #b45309;
}

.tt-register-page .account-type-card--community.selected .account-type-price {
    background: rgba(124, 111, 214, 0.12);
    color: var(--tt-reg-accent-community);
}

.tt-register-page .account-type-card--basic.selected {
    border-width: 2px;
    border-color: var(--tt-reg-accent-basic);
    background: rgba(15, 158, 138, 0.05);
    transform: scale(1.02);
}

.tt-register-page .account-type-card--business.selected {
    border-width: 2px;
    border-color: var(--tt-reg-accent-business);
    background: rgba(232, 163, 23, 0.05);
    transform: scale(1.02);
}

.tt-register-page .account-type-card--community.selected {
    border-width: 2px;
    border-color: var(--tt-reg-accent-community);
    background: rgba(124, 111, 214, 0.05);
    transform: scale(1.02);
}

@media (max-width: 767px) {
    .tt-register-page .account-type-card.selected {
        transform: none;
    }
}

.tt-register-page .account-type-disabled-note {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--danger-color, #dc3545);
}

/* ——— Plan selection ——— */
.tt-register-page .plan-selection {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tt-register-page .plan-selection-desc {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
}

.tt-register-page .billing-toggle {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: var(--light-gray, #f1f5f9);
    border: 1px solid var(--color-border-tertiary, #e5e7eb);
    align-self: flex-start;
    max-width: 100%;
    flex-wrap: wrap;
}

.tt-register-page .billing-toggle-btn {
    border: none;
    background: transparent;
    padding: 0.45rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.tt-register-page .billing-toggle-btn.active {
    background: var(--tt-reg-teal);
    color: #fff;
}

.tt-register-page .billing-toggle-save {
    font-weight: 400;
    opacity: 0.9;
}

.tt-register-page .plan-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .tt-register-page .plan-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
}

.tt-register-page .plan-card {
    position: relative;
    padding: 0.875rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--color-border-tertiary, #e5e7eb);
    background: var(--white, #fff);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    min-width: 0;
}

.tt-register-page .plan-card:hover {
    border-color: var(--color-border-secondary, #cbd5e1);
}

.tt-register-page .plan-card.selected {
    border-width: 2px;
    border-color: var(--tt-reg-teal);
    background: rgba(15, 158, 138, 0.04);
    box-shadow: 0 0 0 1px rgba(15, 158, 138, 0.15);
}

.tt-register-page .plan-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.2rem 0.45rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--tt-reg-teal);
    color: #fff;
    border-radius: 0 10px 0 8px;
}

.tt-register-page .plan-name {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    padding-right: 3rem;
}

.tt-register-page .plan-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal, #2f4858);
}

.tt-register-page .plan-period {
    display: inline;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
}

.tt-register-page .plan-description {
    font-size: 0.75rem;
    margin-top: 0.35rem;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
    line-height: 1.35;
}

.tt-register-page .plan-card .yearly-savings {
    font-size: 0.6875rem;
    color: var(--tt-reg-teal);
    font-weight: 600;
    margin-top: 0.25rem;
}

.tt-register-page .plan-card .plan-features {
    margin: 0.5rem 0 0;
    padding-left: 1rem;
    font-size: 0.6875rem;
    line-height: 1.35;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
}

/* ——— Checkboxes ——— */
.tt-register-page .checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    width: 100%;
}

.tt-register-page .checkbox-group__control {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
}

.tt-register-page .checkbox-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--tt-reg-teal);
}

.tt-register-page .checkbox-input.input-validation-error {
    outline: 2px solid rgba(220, 53, 69, 0.45);
    outline-offset: 2px;
    border-radius: 3px;
}

.tt-register-page .checkbox-label {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
}

.tt-register-page .checkbox-label a {
    color: var(--tt-reg-teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tt-register-page .checkbox-label a:hover {
    color: var(--tt-reg-teal-dark);
}

/* Terms validation: full width below the row (not beside the checkbox) */
.tt-register-page .tt-register-page__terms-validation {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    border: none;
    background: transparent;
    color: inherit;
}

.tt-register-page .tt-register-page__terms-validation:empty {
    display: none;
    margin: 0;
    padding: 0;
}

.tt-register-page .tt-register-page__terms-validation:not(:empty) {
    display: block;
    margin-top: 0.625rem;
    padding: 0.625rem 0.875rem;
    border-radius: 10px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.28);
    color: var(--danger-color, #b02a37);
}

/* ——— Sign in ——— */
.tt-register-page .tt-register-page__signin {
    margin: 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
    order: 0;
}

.tt-register-page .tt-register-page__signin-link {
    color: var(--tt-reg-teal);
    font-weight: 500;
    text-decoration: none;
}

.tt-register-page .tt-register-page__signin-link:hover {
    text-decoration: underline;
}

/* ——— Submit ——— */
.tt-register-page .tt-register-page__submit {
    position: relative;
    width: 100%;
    height: 52px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(90deg, var(--tt-reg-teal) 0%, var(--tt-reg-teal-dark) 100%);
    transition: filter 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
}

.tt-register-page .tt-register-page__submit:hover:not(:disabled) {
    filter: brightness(1.08);
}

/* Disabled until terms accepted — clearly inactive (not the same as “submitting”) */
.tt-register-page .tt-register-page__submit:disabled:not(.tt-register-page__submit--loading) {
    cursor: not-allowed;
    opacity: 1;
    color: #64748b;
    background: #e2e8f0;
    box-shadow: none;
    filter: none;
}

.tt-register-page .tt-register-page__submit:disabled:not(.tt-register-page__submit--loading):hover {
    filter: none;
}

/* Submit in progress: keep primary look, show wait cursor */
.tt-register-page .tt-register-page__submit:disabled.tt-register-page__submit--loading {
    cursor: wait;
    opacity: 0.95;
    color: #fff;
    background: linear-gradient(90deg, var(--tt-reg-teal) 0%, var(--tt-reg-teal-dark) 100%);
}

.tt-register-page .tt-register-page__submit.tt-register-page__submit--loading {
    padding-left: 2.75rem;
}

.tt-register-page .tt-register-page__submit.tt-register-page__submit--loading::before {
    content: "";
    position: absolute;
    left: 1rem;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tt-reg-spin 0.65s linear infinite;
}

@keyframes tt-reg-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ——— Disclaimer ——— */
.tt-register-page .tt-register-page__disclaimer {
    margin: 0;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--color-text-tertiary, var(--dark-gray, #94a3b8));
}

.tt-register-page .tt-register-page__disclaimer a {
    color: var(--tt-reg-teal);
    text-decoration: none;
}

.tt-register-page .tt-register-page__disclaimer a:hover {
    text-decoration: underline;
}

/* ——— Login & Forgot — scoped overrides (dual root: .tt-register-page.tt-login-page / .tt-forgot-page) ——— */

.tt-login-page .tt-register-page__title,
.tt-forgot-page .tt-register-page__title {
    font-size: 1.375rem;
    font-weight: 500;
}

.tt-login-page .tt-register-page__subtitle,
.tt-forgot-page .tt-register-page__subtitle {
    font-size: 0.875rem;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
}

.tt-login-page .tt-auth-checkbox-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 4px 0 20px;
}

.tt-login-page .tt-auth-checkbox {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    margin-top: 0;
    border-radius: 4px;
    border: 1.5px solid var(--color-border-secondary, var(--medium-gray, #e9ecef));
    accent-color: var(--tt-reg-teal);
    cursor: pointer;
    flex-shrink: 0;
}

.tt-login-page .tt-auth-checkbox-label {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
}

.tt-login-page .tt-auth-links,
.tt-forgot-page .tt-auth-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.45;
}

.tt-login-page .tt-auth-links__primary,
.tt-forgot-page .tt-auth-links__primary {
    color: var(--tt-reg-teal);
    font-weight: 500;
    text-decoration: none;
}

.tt-login-page .tt-auth-links__primary:hover,
.tt-forgot-page .tt-auth-links__primary:hover {
    text-decoration: underline;
}

.tt-login-page .tt-auth-links__secondary,
.tt-forgot-page .tt-auth-links__secondary {
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
    font-weight: 400;
    text-decoration: none;
}

.tt-login-page .tt-auth-links__secondary:hover,
.tt-forgot-page .tt-auth-links__secondary:hover {
    text-decoration: underline;
    color: var(--color-text-secondary, var(--dark-gray, #6c757d));
}

/* Login — account lockout: disabled fieldset (email, password, remember-me, submit) */
.tt-login-page .tt-login-credentials {
    border: none;
    margin: 0;
    padding: 0;
    min-inline-size: 0;
}

.tt-login-page--account-locked .tt-login-credentials[disabled] .form-input,
.tt-login-page--account-locked .tt-login-credentials[disabled] .tt-auth-checkbox {
    opacity: 0.72;
    cursor: not-allowed;
    background-color: rgba(248, 250, 252, 0.85);
    color: var(--color-text-secondary, #495057);
}

.tt-login-page--account-locked .tt-login-credentials[disabled] .tt-auth-checkbox-label {
    opacity: 0.72;
    cursor: not-allowed;
}

.tt-login-page--account-locked .tt-login-credentials[disabled] .tt-register-page__submit {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Forgot password — optional inline confirmation (unused while POST redirects to Login) */
.tt-forgot-page .tt-auth-confirm-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 32px 0;
}

.tt-forgot-page .tt-auth-confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(15, 158, 138, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tt-reg-teal);
    font-size: 1.5rem;
}

.tt-forgot-page .tt-auth-confirm-icon::before {
    content: "\2709";
    font-family: inherit;
    line-height: 1;
}

