﻿/* =========================
   LOGIN - Grupo Cidade
   ========================= */

/* Fundo */
.login-page {
    background: radial-gradient(1200px 600px at 15% 10%, rgba(21,88,51,.18), transparent 60%), radial-gradient(900px 500px at 85% 30%, rgba(26,103,43,.14), transparent 55%), linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

/* Card */
.login-card {
    border-radius: 18px;
}

/* =========================
   PAINEL BRANDING (DEGRADE VERDE)
   ========================= */

.login-branding {
    background: linear-gradient( 140deg, #0f3e22 0%, #155833 45%, #1A672B 100% ) !important;
    position: relative;
    overflow: hidden;
}

    /* textura leve */
    .login-branding::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,.25) 1px, transparent 1px);
        background-size: 16px 16px;
        opacity: .25;
        pointer-events: none;
    }

    /* brilho premium */
    .login-branding::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.12), transparent 60%);
        pointer-events: none;
    }

/* Marca */
.brand-badge {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 26px;
    backdrop-filter: blur(6px);
}

.brand-name {
    color: #fff;
    /* Wordmark AprovaAi — grotesca geométrica moderna, peso mais contido (700)
       e leve aperto de tracking para um visual de marca menos "chapado". */
    font-family: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2.15rem, 3.6vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
}

/* "Ai" em verde, espelhando a logo. Verde mais vivo que o #155833 do painel
   para garantir contraste sobre o fundo verde-escuro do branding. */
.brand-name .brand-ai {
    color: #3ec955;
}

.brand-name-light {
    color: #155833;
    font-size: clamp(2rem, 3.2vw, 2.65rem);
}

/* Ícone mobile */
.brand-mini {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(21,88,51,.12);
    color: #155833;
    font-size: 22px;
}

/* =========================
   INPUTS
   ========================= */

.input-group-text {
    background: #f8fafc;
    border-color: #e5e7eb;
}

.form-control,
.btn-outline-secondary {
    border-color: #e5e7eb;
}

    .form-control:focus {
        border-color: #1A672B !important;
        box-shadow: 0 0 0 .25rem rgba(26,103,43,.25) !important;
    }

/* =========================
   BOTÃO LOGIN (SEM AZUL)
   ========================= */

.login-btn,
.btn-primary {
    background: linear-gradient(135deg, #155833, #1A672B) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    transition: all .08s ease;
}

    /* Hover */
    .login-btn:hover,
    .btn-primary:hover {
        background: linear-gradient(135deg, #1A672B, #0f3e22) !important;
    }

    /* Clique */
    .login-btn:active,
    .login-btn.active,
    .btn-primary:active,
    .btn-primary.active,
    .show > .btn-primary.dropdown-toggle {
        background: linear-gradient(135deg, #0f3e22, #155833) !important;
        transform: translateY(1px);
    }

    /* Focus (remove azul do Bootstrap) */
    .login-btn:focus,
    .btn-primary:focus {
        box-shadow: 0 0 0 .25rem rgba(26,103,43,.35) !important;
    }
