/* ============================================================
   TRANSVILLE - Tela de Login
   ============================================================ */

.login-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Lado esquerdo: marca */
.login-brand {
    background: linear-gradient(135deg, #1a1a1a 0%, #2b2b2b 55%, var(--tv-red-dark) 140%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.login-brand::before {
    content: "";
    position: absolute;
    top: -20%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(227,6,19,.35) 0%, transparent 70%);
    border-radius: 50%;
}
.login-brand::after {
    content: "";
    position: absolute;
    bottom: -25%; left: -15%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(227,6,19,.18) 0%, transparent 70%);
    border-radius: 50%;
}
.login-brand-inner { position: relative; z-index: 1; text-align: center; max-width: 420px; }
.login-brand .logo-box {
    background: #fff;
    padding: 26px 34px;
    border-radius: 24px;
    margin-bottom: 30px;
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
    display: inline-block;
}
.login-brand .logo-box img { width: 320px; max-width: 100%; display: block; image-rendering: -webkit-optimize-contrast; }
.login-brand h1 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.login-brand p { font-size: 17px; opacity: .85; font-style: italic; }
.login-brand .feature-list { text-align: left; margin-top: 34px; display: inline-block; }
.login-brand .feature-list li { list-style: none; margin: 12px 0; display: flex; align-items: center; gap: 12px; font-size: 15px; opacity: .92; }
.login-brand .feature-list li svg { flex-shrink: 0; }

/* Lado direito: formulário */
.login-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fff;
}
.login-card { width: 100%; max-width: 400px; }
.login-card .mobile-logo { display: none; text-align: center; margin-bottom: 24px; }
.login-card .mobile-logo img { width: 220px; image-rendering: -webkit-optimize-contrast; }
.login-card h2 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.login-card .subtitle { color: var(--tv-gray); margin-bottom: 28px; font-size: 15px; }

.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--tv-gray); }
.input-icon .form-control { padding-left: 44px; }

.login-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-size: 14px; }
.login-options label { display: flex; align-items: center; gap: 7px; color: #374151; cursor: pointer; }

.login-footer { margin-top: 28px; text-align: center; font-size: 13px; color: var(--tv-gray); }

/* Toggle de senha */
.toggle-pass { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--tv-gray); padding: 0; }

/* Responsivo */
@media (max-width: 860px) {
    .login-wrap { grid-template-columns: 1fr; }
    .login-brand { display: none; }
    .login-card .mobile-logo { display: block; }
}
