/* ===========================
   TEMA GLOBAL
=========================== */
:root {
    --bg-dark: #0f172a;
    --bg-panel: rgba(255, 255, 255, 0.04);
    --bg-panel-hover: rgba(255, 255, 255, 0.07);
    --border-color: rgba(255, 255, 255, 0.12);
    --text-light: #e2e8f0;
    --text-soft: #94a3b8;
    --green: #22c55e;
    --green-glow: rgba(34, 197, 94, 0.4);
    --card-radius: 16px;
    --trans: 0.25s ease;
}

/* ===========================
   BASE
=========================== */

body {
    margin: 0;
    padding: 0;
    background: var(--bg-dark);
    font-family: "Inter", Arial, sans-serif;
    color: var(--text-light);
}

/* ===========================
   TOPO
=========================== */

.topo {
    background: #020617;
    padding: 18px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-mark {
    font-size: 30px;
    font-weight: 800;
    color: var(--green);
}

.logo-text {
    font-size: 14px;
    color: var(--text-soft);
}

.menu-intra a {
    margin-left: 12px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    text-decoration: none;
    transition: var(--trans);
}

.menu-intra a:hover {
    background: var(--green);
    color: #000;
}

/* ===========================
   PAINEL
=========================== */

.painel {
    padding: 40px 20px;
}

.painel-header {
    text-align: center;
    margin-bottom: 40px;
}

.painel-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.painel-header .subtitulo {
    color: var(--text-soft);
    font-size: 1.1rem;
}

/* ===========================
   GRID DE CARDS
=========================== */

.painel-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ===========================
   CARDS
=========================== */

.card-intra {
    background: var(--bg-panel);
    padding: 25px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    transition: var(--trans);
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

.card-intra:hover {
    background: var(--bg-panel-hover);
    border-color: var(--green);
    box-shadow: 0 0 25px var(--green-glow);
}

.card-intra h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--green);
}

/* listas internas */
.atalhos-lista,
.status-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.atalhos-lista li,
.status-lista li {
    margin-bottom: 10px;
}

.atalhos-lista li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--trans);
}

.atalhos-lista li a:hover {
    color: var(--green);
    margin-left: 5px;
}

/* ===========================
   TEXTAREA DE NOTAS
=========================== */

.textarea-notas {
    width: 100%;
    height: 180px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 12px;
    resize: vertical;
    outline: none;
    transition: var(--trans);
}

.textarea-notas::placeholder {
    color: var(--text-soft);
}

/* ===========================
   BADGE DE SEGURANÇA
=========================== */

.badge-seguro {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background: var(--green);
    color: #000;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 0 15px var(--green-glow);
}

/* ===========================
   BOTÃO LOGOUT
=========================== */

.logout {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 20px;
    background: #ef4444;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: var(--trans);
}

.logout:hover {
    transform: scale(1.05);
    background: #dc2626;
}


/* ===========================
   RESPONSIVO (ajustes gerais)
=========================== */

@media (max-width: 600px) {
    .painel-header h1 {
        font-size: 1.8rem;
    }

    .topo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .menu-intra {
        display: flex;
        gap: 10px;
    }

    .card-intra {
        padding: 20px;
    }
}

/* ===== BASE LOGIN ===== */

body {
    margin: 0;
    min-height: 50vh;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: #e5e7eb;

    justify-content: center;
    align-items: center;
    padding: 16px; /* ajuda no celular */
    box-sizing: border-box;
}

.card {
    background: #020617;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    width: 100%;
    max-width: 380px;
    box-sizing: border-box;
}

.card h1 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.4rem;
    text-align: center;
}

label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #4b5563;
    background: #020617;
    color: #e5e7eb;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #22c55e;
    color: #020617;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    filter: brightness(1.1);
}

.erro {
    color: #f97316;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-align: center;
}

