.tv-login-body {
    margin: 0;
    background: #fff;
}

.tv-login {
    --tvl-texto: #111827;
    --tvl-suave: #6b7280;
    --tvl-borda: #d9dee6;
    --tvl-azul: #1a56a0;
    --tvl-azul-escuro: #154683;
    display: flex;
    min-height: 100vh;
    color: var(--tvl-texto);
}

.tv-login__painel {
    flex: 0 0 46%;
    max-width: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    background: #fff;
}

.tv-login__conteudo {
    width: 100%;
    max-width: 380px;
}

.tv-login__logo {
    display: inline-block;
    margin-bottom: 36px;
}

.tv-login__logo img {
    max-width: 230px;
    max-height: 90px;
    object-fit: contain;
}

.tv-login__logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--tvl-texto);
}

.tv-login__titulo {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--tvl-texto);
}

.tv-login__subtitulo {
    color: var(--tvl-suave);
    margin: 0 0 26px;
    font-size: 15px;
}

.tv-login__alerta {
    border-radius: 10px;
    font-size: 14px;
}

.tv-login__campo {
    margin-bottom: 18px;
}

.tv-login__campo label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.tv-login__entrada {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 6px 0 14px;
    border: 1px solid var(--tvl-borda);
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.tv-login__entrada:focus-within {
    border-color: var(--tvl-azul);
    box-shadow: 0 0 0 4px rgba(26, 86, 160, .14);
}

.tv-login__entrada--erro {
    border-color: #dc2626;
}

.tv-login__entrada > .fas {
    color: #9ca3af;
    width: 16px;
    text-align: center;
}

.tv-login__entrada input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 16px;
    color: var(--tvl-texto);
}

.tv-login__olho {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
}

.tv-login__olho:hover,
.tv-login__olho:focus-visible {
    background: #f3f4f6;
    color: #374151;
    outline: none;
}

.tv-login__erro {
    display: block;
    margin-top: 6px;
    color: #dc2626;
    font-size: 13px;
}

.tv-login__captcha {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.tv-login__botao {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: var(--tvl-azul);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(26, 86, 160, .25);
    transition: background .15s ease, transform .15s ease;
}

.tv-login__botao:hover {
    background: var(--tvl-azul-escuro);
}

.tv-login__botao:active {
    transform: translateY(1px);
}

.tv-login__botao:disabled {
    opacity: .85;
    cursor: wait;
}

.tv-login__portal {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: var(--tvl-texto);
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}

.tv-login__portal:hover,
.tv-login__portal:focus {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--tvl-texto);
    text-decoration: none;
}

.tv-login__portal-icone {
    flex: 0 0 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--tvl-azul);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-login__portal span:not(.tv-login__portal-icone) {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.tv-login__portal strong {
    font-size: 14px;
}

.tv-login__portal small {
    color: var(--tvl-suave);
    font-size: 12px;
}

.tv-login__portal > .fa-chevron-right {
    color: #cbd5e1;
    font-size: 12px;
}

.tv-login__rodape {
    margin: 28px 0 0;
    font-size: 12px;
    color: #9ca3af;
}

.tv-login__foto {
    position: relative;
    flex: 1;
    background-color: #1f2a37;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.tv-login__foto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .05) 35%, rgba(15, 23, 42, .82) 100%);
}

.tv-login__foto--sem-imagem {
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .08), transparent 45%), linear-gradient(135deg, var(--tvl-cor-camara, #1a56a0) 0%, #1f2530 100%);
}

.tv-login__foto--sem-imagem::after {
    background: none;
}

.tv-login__foto-texto {
    position: relative;
    z-index: 1;
    padding: 48px;
    color: #fff;
    max-width: 620px;
}

.tv-login__foto-selo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(4px);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.tv-login__foto-texto h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.tv-login__foto-texto p {
    margin: 0;
    font-size: 16px;
    opacity: .9;
}

@media (max-width: 991px) {
    .tv-login__painel {
        flex: 1;
        max-width: none;
        padding: 32px 22px;
    }

    .tv-login__foto {
        display: none;
    }
}

@media (display-mode: standalone) {
    .tv-login__foto {
        display: none;
    }

    .tv-login__painel {
        flex: 1;
        max-width: none;
    }
}
