/* ===============================
   FONTE
================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===============================
   RESET
================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===============================
   BODY
================================ */
body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background: #0f172a; /* fundo escuro corporativo */
    color: #e5e7eb;
}

/* ===============================
   HEADER
================================ */
.header {
    background: linear-gradient(90deg, #020617, #020617);
    color: #ffffff;
    padding: 18px 30px;
}

.header h2 {
    font-weight: 600;
}

/* ===============================
   CONTAINER
================================ */
.container {
    padding: 25px;
}

/* ===============================
   MENU
================================ */
.menu {
    background: #020617;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

.menu a {
    margin-right: 18px;
    text-decoration: none;
    font-weight: 600;
    color: #93c5fd;
}

.menu a:hover {
    border-bottom: 2px solid #3b82f6;
}

/* ===============================
   CARD
================================ */
.card {
    background: #f8fafc;
    color: #020617;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* ===============================
   TABELAS
================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th {
    background: #020617;
    color: #ffffff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

td {
    background: #ffffff;
    color: #020617;
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
}

/* ===============================
   STATUS / ALERTAS
================================ */

/* Aberta */
.status-aberta {
    background: #1e3a8a;
    color: #ffffff;
    border-left: 6px solid #60a5fa;
}

/* Aprovada */
.status-aprovada {
    background: #052e16;
    color: #ffffff;
    border-left: 6px solid #22c55e;
}

/* Cancelada */
.status-cancelada {
    background: #450a0a;
    color: #ffffff;
    border-left: 6px solid #ef4444;
}

/* Estoque baixo */
.alerta {
    background: #78350f;
    color: #ffffff;
    border-left: 6px solid #f59e0b;
}

/* Entrada */
.entrada {
    color: #22c55e;
    font-weight: 700;
}

/* Saída */
.saida {
    color: #ef4444;
    font-weight: 700;
}

/* ===============================
   LINKS / AÇÕES
================================ */
.actions a {
    margin-right: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #2563eb;
}

.actions a:hover {
    text-decoration: underline;
}

/* ===============================
   FORMULÁRIOS
================================ */
input,
select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-family: inherit;
    background: #ffffff;
    color: #020617;
}

input:focus,
select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.25);
}

button {
    padding: 10px 16px;
    border-radius: 6px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

button:hover {
    background: #1d4ed8;
}

/* ===============================
   RESPONSIVO
================================ */
@media (max-width: 768px) {
    .menu a {
        display: block;
        margin-bottom: 10px;
    }
}
