/* ── OCULTAR COMPONENTES DO LAYOUT BASE ── */
.sidebar, header, .app-footer, footer {
    display: none !important;
}

.main-content {
    margin-left: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: white !important;
    min-height: 100vh;
    overflow-x: hidden;
}

.page-content {
    padding: 0 !important;
    overflow: visible !important;
    flex-grow: unset !important;
}

/* ── VARIÁVEIS DO TEMA DO LOGIN ── */
:root {
    --login-bg: #ffffff;
    --login-pri: #0f62fe; /* Azul Thotus */
    --login-pri-hover: #004ae6;
    --login-txt: #00103b;
    --login-muted: #64748b;
    --login-border: #e2e8f0;
    --login-input-bg: #f8fafc;
    --login-shadow: rgba(15, 98, 254, 0.1);
    
    /* Gradiente do Banner */
    --gradient-start: #0052cc;
    --gradient-middle: #002d80;
    --gradient-end: #001a4d;
}

/* ── ESTRUTURA GERAL ── */
.login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
}

/* ── PAINEL ESQUERDO: BANNER CORPORATIVO ── */
.login-banner {
    flex: 1.2;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-middle) 60%, var(--gradient-end) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}

/* Círculos Concêntricos Decorativos */
.login-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}
.login-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border: 1.5px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.brand-hero {
    width: 100%;
    max-width: 520px;
    z-index: 10;
}

.brand-hero .logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.brand-hero .logo-brand img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.brand-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.brand-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Outfit', sans-serif;
}

/* Badges da Base (Grid de 4 colunas) */
.banner-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    z-index: 10;
    margin-top: 40px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.badge-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.badge-item:hover .badge-icon-box {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.badge-text {
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.35;
    font-family: 'Outfit', sans-serif;
}

/* ── PAINEL DIREITO: FORMULÁRIO DE LOGIN ── */
.login-form-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 48px;
    background: var(--login-bg);
}

.login-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.form-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--login-txt);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    font-family: 'Outfit', sans-serif;
}

.form-subtitle {
    font-size: 0.96rem;
    color: var(--login-muted);
    margin-bottom: 32px;
    font-family: 'Outfit', sans-serif;
}

/* Inputs Refinados */
.field-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
}

.field-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--login-txt);
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
}

.forgot-link1 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #4da3ff;
    text-decoration: none;
    transition: color 0.2s;
    font-family: 'Outfit', sans-serif;
}

.forgot-link1:hover {
    color: #1a7ee6;
    text-decoration: underline;
}

.forgot-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: #4da3ff;
    text-decoration: none;
    transition: color 0.2s;
    font-family: 'Outfit', sans-serif;
}

.forgot-link:hover {
    color: #1a7ee6;
    text-decoration: underline;
}

.input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--login-border);
    border-radius: 12px;
    background-color: var(--login-input-bg);
    padding: 2px 14px;
    transition: all 0.25s ease;
}

.input-wrap:focus-within {
    border-color: var(--login-pri);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--login-shadow);
}

.input-icon {
    color: var(--login-muted);
    font-size: 1.15rem;
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 0;
    font-size: 0.95rem;
    color: var(--login-txt);
    font-weight: 500;
    outline: none;
    font-family: 'Outfit', sans-serif;
}

.input-wrap input::placeholder {
    color: #cbd5e1;
}

.input-eye-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--login-muted);
    padding: 0 4px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.input-eye-btn:hover {
    color: var(--login-pri);
}

/* Botão Entrar */
.btn-login-chamados {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    background: var(--login-pri);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 10px;
}

.btn-login-chamados:hover {
    background: var(--login-pri-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 98, 254, 0.25);
}

/* Botão Abrir Chamado (portal público) */
.btn-abrir-chamado {
    display: flex;
    width: 100%;
    text-decoration: none;
    margin-top: 12px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
}

.btn-abrir-chamado:hover {
    background: var(--login-pri-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 98, 254, 0.25);
    color: white;
    text-decoration: none;
}

/* Rodapé Secundário sutil */
.login-extra-footer {
    margin-top: 36px;
    text-align: center;
    border-top: 1px solid var(--login-border);
    padding-top: 24px;
    width: 100%;
}

.sutra-contact-block {
    font-size: 0.82rem;
    color: var(--login-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
}

.sutra-contact-block .sutra-title {
    font-weight: 700;
    color: var(--login-txt);
}

.sutra-logo-wrap img {
    height: 42px;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.sutra-logo-wrap img:hover {
    opacity: 1;
}

.login-page-footer {
    margin-top: 18px;
    font-size: 0.76rem;
    color: var(--login-muted);
    font-family: 'Outfit', sans-serif;
}

/* ── RESPONSIVIDADE ── */
@media (max-width: 991px) {
    .login-banner {
        display: none;
    }
    .login-form-area {
        padding: 40px 20px;
        background: var(--login-input-bg);
    }
    .login-form-wrapper {
        background: #ffffff;
        padding: 40px 28px;
        border-radius: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    }
}

/* ── Captcha simples (continha) ───────────────────────────── */
.captcha-wrap .captcha-question {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--login-txt);
    margin-right: 12px;
    letter-spacing: 1px;
    user-select: none;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
}

.login-field-error {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #dc2626;
    font-weight: 600;
}

/* ── Turnstile (widget "sou humano") centralizado ─────────── */
.cf-turnstile {
    display: flex;
    justify-content: center;
}
