/* =====================================================
   PUBLIC CSS — iDeep Suite
   Layout para páginas públicas (Login, Logout, Recuperação)
   Baseado no Design System Global da iDeep
===================================================== */

/* ==============================
   VARIÁVEIS DE COR (IDENTIDADE)
================================ */
:root {
    --ideep-azul: #5583EF;
    --ideep-azul-hover: #3f6fe0;
    --ideep-verde: #79C944;
    --ideep-rosa: #F2456B;
    --ideep-laranja: #FE8730;

    --cinza-bg: #f5f7fb;
    --cinza-borda: #e5e7eb;
    --texto-escuro: #1f2937;
    --texto-suave: #6b7280;
}

/* ==============================
   RESET / BASE
================================ */
* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body.layout-public {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: var(--cinza-bg);
    color: var(--texto-escuro);
    -webkit-font-smoothing: antialiased;
}

/* ==============================
   CONTAINER CENTRAL
================================ */
.public-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* ==============================
   CARD DO LOGIN
================================ */
.public-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* ==============================
   LOGO / TÍTULO
================================ */
.public-card img {
    max-width: 180px;
}

.public-card h2 {
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 800;
    color: var(--texto-escuro);
}

/* ==============================
   FORMULÁRIO
================================ */
.public-card label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

.public-card input {
    width: 100%;
    height: 48px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    margin-bottom: 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.public-card input:focus {
    outline: none;
    border-color: var(--ideep-azul);
    box-shadow: 0 0 0 2px rgba(85,131,239,.15);
}

/* ==============================
   BOTÃO
================================ */
.public-card button {
    width: 100%;
    height: 52px;
    background: var(--ideep-azul);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    cursor: pointer;
}

.public-card button:hover {
    background: var(--ideep-azul-hover);
}

/* ==============================
   MENSAGEM DE ERRO
================================ */
.public-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}
