/* Painel WE — Azul marinho + laranja escuro */

:root {
    --navy-950: #060e18;
    --navy-900: #0a1628;
    --navy-800: #0f2744;
    --navy-700: #1e3a5f;
    --accent-600: #c2410c;
    --accent-700: #9a3412;
    --accent-500: #ea580c;
}

.card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(10, 22, 40, 0.06);
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
}

.card-stat {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(10, 22, 40, 0.06);
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    transition: box-shadow 0.3s ease;
}
.card-stat:hover {
    box-shadow: 0 4px 16px rgba(10, 22, 40, 0.1);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1rem;
    background: var(--accent-600);
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(194, 65, 12, 0.25);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}
.btn-primary:hover {
    background: var(--accent-700);
    box-shadow: 0 4px 14px rgba(194, 65, 12, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1rem;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: var(--navy-800);
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.875rem;
}
.btn-secondary:hover {
    background: #f8fafc;
    border-color: var(--navy-700);
}

.input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus {
    outline: none;
    border-color: var(--accent-500);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy-800);
    margin-bottom: 0.25rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #ffedd5; color: #9a3412; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #e0e7ef; color: #1e3a5f; }
.badge-neutral { background: #f1f5f9; color: #475569; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-700); }

tbody tr { transition: background-color 0.15s ease; }

@media print {
    aside, header, .btn-primary, .btn-secondary { display: none !important; }
    .card { box-shadow: none; border: 1px solid #e2e8f0; }
}
