/* NexoDesk — Login corporativo de dos paneles */
:root {
    --tc-login-green: #1560E8;
    --tc-login-green-dark: #1049BF;
    --tc-login-ink: #06285B;
    --tc-login-muted: #5d7285;
}

body.tc-login-page {
    margin: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #eef4ff;
    font-family: "Nunito Sans", sans-serif;
}

.tc-login-layout {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(420px, 0.85fr);
}

.tc-login-showcase {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 9% 18%, rgba(147, 197, 253, 0.35), transparent 20%), linear-gradient(135deg, #020d1f 0%, #0b2a5b 52%, #1560E8 100%);
}

.tc-login-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background: linear-gradient(110deg, transparent 56%, rgba(147, 197, 253, 0.16) 56.2%, transparent 56.5%), linear-gradient(165deg, transparent 66%, rgba(255, 255, 255, 0.14) 66.2%, transparent 66.5%);
    pointer-events: none;
}

.tc-login-showcase__content {
    position: relative;
    z-index: 2;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    max-width: 680px;
    padding: clamp(1.25rem, 3vh, 2.5rem) clamp(2rem, 5vw, 5.5rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tc-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: #fff;
    cursor: default;
    user-select: none;
}

.tc-login-brand:hover {
    color: #fff;
}

.tc-login-brand__mark {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: transparent;
}

.tc-login-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tc-login-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.tc-login-brand__text strong {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    font-family: Inter, "Nunito Sans", sans-serif;
}

.tc-login-brand__text strong .desk {
    color: #7dd3fc;
}

.tc-login-panel .tc-login-brand__text strong .desk {
    color: #1264D9;
}

.tc-login-brand__text > span {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.72);
}

.tc-login-showcase__eyebrow {
    margin-top: clamp(1rem, 3vh, 3rem);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.27em;
}

.tc-login-showcase h1 {
    margin: 1.4rem 0 0.7rem;
    color: #ffffff;
    font-size: clamp(2.4rem, 3.4vw + 3.4vh, 4.4rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.tc-login-showcase h1 span {
    color: #7dd3fc;
}

.tc-login-showcase__lead {
    max-width: 440px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.5;
}

.tc-login-features {
    width: min(100%, 520px);
    margin-top: clamp(1rem, 3vh, 2.4rem);
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.tc-login-features li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(147, 197, 253, 0.3);
    border-radius: 1.1rem;
    background: rgba(2, 25, 14, 0.48);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
}

.tc-login-features__icon svg,
.tc-login-brand__mark svg {
    width: 46%;
    height: 46%;
}

.tc-login-features__icon {
    flex: 0 0 2.4rem;
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    border-radius: 0.8rem;
    color: #061d3c;
    background: #7dd3fc;
    font-size: 1.3rem;
}

.tc-login-features > li strong {
    display: block;
    font-size: 0.92rem;
}

.tc-login-features > li div span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.76rem;
}

.tc-login-showcase__footer {
    margin-top: auto;
    padding-top: 1.2rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.tc-login-orb {
    position: absolute;
    z-index: 1;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 50%;
    transform: rotate(28deg);
    box-shadow: 0 0 0 24px rgba(147, 197, 253, 0.03), 0 0 0 52px rgba(147, 197, 253, 0.025);
}

.tc-login-orb--one {
    right: -17rem;
    top: -8rem;
}

.tc-login-orb--two {
    left: -20rem;
    bottom: -20rem;
}

.tc-login-panel {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vh, 2.5rem) clamp(1rem, 4vw, 4rem);
    background: radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.95), transparent 35%), linear-gradient(135deg, #f6f9ff, #e2ebfa);
}

.tc-login-card {
    width: min(100%, 500px);
    margin: auto;
    padding: clamp(1.5rem, 3vh, 2.5rem) clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(20, 103, 232, 0.1);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 60px rgba(20, 103, 232, 0.16);
}

.tc-login-card__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.tc-login-brand__logo {
    display: block;
    width: min(100%, 400px);
    height: auto;
}

.tc-login-brand--dark {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.4rem;
}

.tc-login-heading h2 {
    margin: 0;
    color: var(--tc-login-ink);
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    font-weight: 900;
}

.tc-login-heading p {
    margin: 0.35rem 0 1.4rem;
    color: var(--tc-login-muted);
}

.tc-login-card .form-label {
    margin-bottom: 0.45rem;
    color: #445a78;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tc-login-card .form-control {
    min-height: 3.1rem;
    border-color: #cfdbea;
    border-radius: 0.7rem;
    background: #fff;
    color: var(--tc-login-ink);
}

.tc-login-card .form-control:focus {
    border-color: var(--tc-login-green);
    box-shadow: 0 0 0 0.2rem rgba(21, 96, 232, 0.14);
}

.tc-login-card .form-icon {
    color: #425a4c !important;
}

.tc-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 0.9rem 0 1.2rem;
    color: var(--tc-login-muted);
    font-size: 0.84rem;
}

.tc-login-options a {
    color: var(--tc-login-green-dark);
    font-weight: 800;
    text-decoration: none;
}

.tc-login-options a:hover {
    text-decoration: underline;
}

.tc-login-submit {
    min-height: 3.25rem;
    border: 0;
    border-radius: 0.75rem;
    color: #fff;
    background: linear-gradient(100deg, #1049BF, #1560E8);
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(21, 96, 232, 0.28);
}

.tc-login-submit:hover,
.tc-login-submit:focus {
    color: #fff;
    background: linear-gradient(100deg, #0D3899, #1049BF);
    transform: translateY(-1px);
}

.tc-login-alert {
    margin-bottom: 1rem;
}

.tc-login-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.3rem 0 0.9rem;
    color: #90a0a5;
    font-size: 0.75rem;
}

.tc-login-divider::before,
.tc-login-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e1e8f2;
}

.tc-login-card__footer {
    margin: 0;
    color: #76889b;
    text-align: center;
    font-size: 0.76rem;
}

@media (max-width: 900px) {
    body.tc-login-page {
        height: auto;
        overflow: auto;
    }

    .tc-login-layout {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .tc-login-showcase {
        min-height: 380px;
    }

    .tc-login-showcase__content {
        height: auto;
        min-height: 380px;
        padding: 2rem 1.5rem;
    }

    .tc-login-showcase__eyebrow {
        margin-top: 2rem;
        font-size: 0.58rem;
        letter-spacing: 0.14em;
    }

    .tc-login-showcase h1 {
        margin: 1.5rem 0 0.75rem;
        font-size: clamp(2.65rem, 11vw, 4rem);
    }

    .tc-login-features {
        display: none;
    }

    .tc-login-showcase__footer {
        padding-top: 2rem;
    }

    .tc-login-panel {
        height: auto;
        min-height: auto;
        padding: 2rem 1rem 3rem;
    }
}

@media (max-width: 480px) {
    .tc-login-showcase {
        min-height: 320px;
    }

    .tc-login-showcase__content {
        min-height: 320px;
    }

    .tc-login-card {
        padding: 2rem 1.25rem;
        border-radius: 1.1rem;
    }

    .tc-login-options {
        align-items: flex-start;
        flex-direction: column;
    }
}
