﻿:root {
    --tc-auth-primary: #188525;
    --tc-auth-primary-dark: #0a5713;
    --tc-auth-primary-deep: #063b0c;
    --tc-auth-primary-light: #4bce53;
    --tc-auth-primary-soft: #edf9ee;
    --tc-auth-text: #172019;
    --tc-auth-text-soft: #3f4b42;
    --tc-auth-muted: #6c776e;
    --tc-auth-border: #dfe8e0;
    --tc-auth-background: #f4f8f4;
    --tc-auth-white: #ffffff;
    --tc-auth-danger: #bd3d3d;
    --tc-auth-danger-soft: #fff1f1;
    --tc-auth-warning: #9b610b;
    --tc-auth-warning-soft: #fff8e9;
    --tc-auth-shadow: 0 28px 70px rgba(17, 66, 23, 0.13);
}

.tc-auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 64px 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 84% 14%, rgba(75, 206, 83, 0.16), transparent 31% ), radial-gradient( circle at 10% 92%, rgba(24, 133, 37, 0.08), transparent 35% ), linear-gradient( 145deg, #fbfefb, var(--tc-auth-background) );
}

    .tc-auth-page::before {
        content: "";
        width: 520px;
        height: 520px;
        position: absolute;
        top: -340px;
        left: -260px;
        border: 1px solid rgba(24, 133, 37, 0.08);
        border-radius: 50%;
    }

    .tc-auth-page::after {
        content: "";
        width: 230px;
        height: 230px;
        position: absolute;
        right: -95px;
        bottom: -120px;
        border: 36px solid rgba(24, 133, 37, 0.05);
        border-radius: 50%;
    }

.tc-auth-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.tc-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
    align-items: stretch;
    gap: 24px;
}

.tc-auth-aside,
.tc-auth-card {
    border-radius: 28px;
    box-shadow: var(--tc-auth-shadow);
}

.tc-auth-aside {
    padding: 44px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient( circle at top right, rgba(121, 234, 127, 0.24), transparent 34% ), linear-gradient( 145deg, var(--tc-auth-primary), var(--tc-auth-primary-deep) );
}

    .tc-auth-aside::after {
        content: "";
        width: 250px;
        height: 250px;
        position: absolute;
        right: -120px;
        bottom: -125px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 50%;
    }

.tc-auth-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 36px;
}

.tc-auth-brand-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.13);
    font-size: 1.4rem;
    backdrop-filter: blur(10px);
}

.tc-auth-brand strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 850;
}

.tc-auth-brand small {
    display: block;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.7rem;
}

.tc-auth-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #9cf3a1;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.tc-auth-aside h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 870;
    letter-spacing: -0.055em;
    line-height: 1.03;
}

.tc-auth-aside > p {
    margin: 19px 0 0;
    color: rgba(255, 255, 255, 0.71);
    font-size: 0.94rem;
    line-height: 1.75;
}

.tc-auth-feature-list {
    display: grid;
    gap: 15px;
    margin-top: 34px;
}

.tc-auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.055);
}

.tc-auth-feature-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #90ed96;
    background: rgba(93, 221, 100, 0.12);
    font-size: 0.82rem;
}

.tc-auth-feature strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
}

.tc-auth-feature small {
    display: block;
    color: rgba(255, 255, 255, 0.61);
    font-size: 0.7rem;
    line-height: 1.5;
}

.tc-auth-security-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 26px;
    padding: 14px 15px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(0, 0, 0, 0.09);
    font-size: 0.72rem;
    line-height: 1.5;
}

    .tc-auth-security-note i {
        margin-top: 2px;
        color: #98ee9d;
    }

.tc-auth-card {
    padding: 43px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--tc-auth-border);
    background: rgba(255, 255, 255, 0.98);
}

    .tc-auth-card::after {
        content: "";
        width: 190px;
        height: 190px;
        position: absolute;
        right: -100px;
        bottom: -110px;
        border-radius: 50%;
        background: rgba(44, 179, 54, 0.055);
        pointer-events: none;
    }

.tc-auth-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--tc-auth-border);
}

.tc-auth-card-icon {
    width: 51px;
    height: 51px;
    flex: 0 0 51px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--tc-auth-primary);
    background: var(--tc-auth-primary-soft);
    font-size: 1.1rem;
}

.tc-auth-card-header span {
    display: block;
    margin-bottom: 4px;
    color: var(--tc-auth-primary);
    font-size: 0.69rem;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tc-auth-card-header h2 {
    margin: 0;
    color: var(--tc-auth-text);
    font-size: 1.4rem;
    font-weight: 840;
    letter-spacing: -0.025em;
}

.tc-auth-card-description {
    margin: 21px 0 0;
    color: var(--tc-auth-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.tc-auth-form {
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.tc-auth-validation-summary {
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid #efc5c5;
    border-radius: 12px;
    color: var(--tc-auth-danger);
    background: var(--tc-auth-danger-soft);
    font-size: 0.77rem;
    line-height: 1.5;
}

    .tc-auth-validation-summary:empty,
    .tc-auth-validation-summary.validation-summary-valid {
        display: none;
    }

    .tc-auth-validation-summary ul {
        margin: 0;
        padding-left: 18px;
    }

.tc-auth-fields {
    display: grid;
    gap: 17px;
}

.tc-auth-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--tc-auth-text-soft);
    font-size: 0.79rem;
    font-weight: 780;
}

.tc-auth-input-wrapper {
    position: relative;
}

    .tc-auth-input-wrapper > i {
        position: absolute;
        top: 50%;
        left: 16px;
        z-index: 1;
        color: var(--tc-auth-primary);
        font-size: 0.84rem;
        transform: translateY(-50%);
        pointer-events: none;
    }

.tc-auth-input {
    width: 100%;
    min-height: 54px;
    padding: 0 46px 0 45px;
    border: 1px solid var(--tc-auth-border);
    border-radius: 14px;
    outline: none;
    color: var(--tc-auth-text);
    background: #fbfdfb;
    font-size: 0.88rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .tc-auth-input::placeholder {
        color: #99a39b;
    }

    .tc-auth-input:focus {
        border-color: rgba(24, 133, 37, 0.62);
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(24, 133, 37, 0.1);
    }

.tc-auth-password-toggle {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    right: 7px;
    border: none;
    border-radius: 10px;
    color: #7c887f;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

    .tc-auth-password-toggle:hover {
        color: var(--tc-auth-primary);
        background: var(--tc-auth-primary-soft);
    }

.tc-auth-validation {
    display: block;
    margin-top: 7px;
    color: var(--tc-auth-danger);
    font-size: 0.72rem;
    font-weight: 650;
}

    .tc-auth-validation:empty {
        display: none;
    }

.tc-auth-helper {
    display: block;
    margin-top: 7px;
    color: var(--tc-auth-muted);
    font-size: 0.7rem;
    line-height: 1.45;
}

.tc-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
}

.tc-auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--tc-auth-text-soft);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
}

    .tc-auth-checkbox input {
        width: 17px;
        height: 17px;
        margin: 0;
        accent-color: var(--tc-auth-primary);
    }

.tc-auth-text-link {
    color: var(--tc-auth-primary);
    font-size: 0.75rem;
    font-weight: 780;
    text-decoration: none;
}

    .tc-auth-text-link:hover {
        color: var(--tc-auth-primary-dark);
        text-decoration: underline;
    }

.tc-auth-submit {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    border: 1px solid var(--tc-auth-primary-dark);
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient( 135deg, var(--tc-auth-primary-light), var(--tc-auth-primary-dark) );
    box-shadow: 0 13px 28px rgba(17, 105, 27, 0.23);
    font-size: 0.87rem;
    font-weight: 820;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

    .tc-auth-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 17px 34px rgba(17, 105, 27, 0.29);
        filter: brightness(1.03);
    }

    .tc-auth-submit:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(24, 133, 37, 0.13), 0 13px 28px rgba(17, 105, 27, 0.23);
    }

.tc-auth-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 24px 0;
    color: #99a29b;
    font-size: 0.7rem;
    text-transform: uppercase;
}

    .tc-auth-divider::before,
    .tc-auth-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--tc-auth-border);
    }

.tc-auth-account-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--tc-auth-muted);
    font-size: 0.76rem;
}

    .tc-auth-account-link a {
        color: var(--tc-auth-primary);
        font-weight: 800;
        text-decoration: none;
    }

        .tc-auth-account-link a:hover {
            text-decoration: underline;
        }

.tc-auth-card-footer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 27px;
    padding: 15px;
    position: relative;
    z-index: 1;
    border: 1px solid #d7e7d8;
    border-radius: 14px;
    color: #526154;
    background: #f6faf6;
    font-size: 0.72rem;
    line-height: 1.5;
}

    .tc-auth-card-footer i {
        margin-top: 2px;
        color: var(--tc-auth-primary);
    }

.tc-auth-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tc-auth-password-guidance {
    margin-top: 18px;
    padding: 15px;
    border: 1px solid #ead7b4;
    border-radius: 14px;
    color: #7c5a26;
    background: var(--tc-auth-warning-soft);
}

    .tc-auth-password-guidance strong {
        display: block;
        margin-bottom: 8px;
        font-size: 0.77rem;
        font-weight: 800;
    }

    .tc-auth-password-guidance ul {
        display: grid;
        gap: 5px;
        margin: 0;
        padding-left: 18px;
        font-size: 0.69rem;
        line-height: 1.45;
    }

@media (max-width: 920px) {
    .tc-auth-shell {
        grid-template-columns: 1fr;
    }

    .tc-auth-aside,
    .tc-auth-card {
        padding: 34px;
    }
}

@media (max-width: 600px) {
    .tc-auth-page {
        min-height: auto;
        padding: 32px 0 48px;
    }

    .tc-auth-container {
        padding: 0 15px;
    }

    .tc-auth-aside,
    .tc-auth-card {
        padding: 24px;
        border-radius: 20px;
    }

        .tc-auth-aside h1 {
            font-size: 2.25rem;
        }

    .tc-auth-grid-two {
        grid-template-columns: 1fr;
    }

    .tc-auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .tc-auth-account-link {
        align-items: flex-start;
        flex-direction: column;
    }
}
