:root {
    --brand: #010066;
    --brand-2: #4b46c9;
    --brand-soft: #eef0ff;
    --red: #c62828;
    --radius: 14px;
}

body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    background: #f3f4fa;
    min-height: 100vh;
}

.text-brand { color: var(--brand); }

.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; }

/* ---- Botões de marca ---- */
.btn-brand {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border: none;
    font-weight: 600;
}
.btn-brand:hover, .btn-brand:focus {
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff;
}
.btn-outline-brand {
    color: var(--brand);
    border: 1px solid var(--brand);
    background: transparent;
}
.btn-outline-brand:hover {
    background: var(--brand);
    color: #fff;
}

/* ---- Login ---- */
.auth-wrap {
    min-height: 100vh;
    background:
        radial-gradient(900px 600px at 85% -10%, rgba(75, 70, 201, .35), transparent 60%),
        radial-gradient(800px 500px at -10% 110%, rgba(1, 0, 102, .25), transparent 60%),
        linear-gradient(160deg, #05044d, #0b0a8a 55%, #010066);
    padding: 24px;
}
.auth-card {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .98);
}
.brand-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 10px 24px rgba(1, 0, 102, .35);
}

/* ---- Navbar ---- */
.brand-navbar {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    box-shadow: 0 4px 16px rgba(1, 0, 102, .18);
}
.brand-icon-sm {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--brand);
    background: #fff;
}

/* ---- Cards / stats ---- */
.stat-card { border-radius: var(--radius); transition: transform .15s ease, box-shadow .15s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(1, 0, 102, .10) !important; }
.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.stat-icon-blue   { background: var(--brand-soft); color: var(--brand); }
.stat-icon-green  { background: #e6f6ed; color: #1b8a4b; }
.stat-icon-red    { background: #fdeeee; color: var(--red); }
.stat-value { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: .85rem; }

/* ---- Drop zone ---- */
.drop-zone {
    border: 2px dashed #c9cde0;
    border-radius: var(--radius);
    background: #fafaff;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.drop-zone:hover, .drop-zone.dragging {
    border-color: var(--brand-2);
    background: var(--brand-soft);
}

/* ---- Lista de avisos ---- */
.lista-avisos { display: flex; flex-direction: column; gap: .75rem; max-height: 640px; overflow-y: auto; }
.aviso-item {
    border: 1px solid #e6e8f2;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.aviso-item:hover { box-shadow: 0 6px 16px rgba(1, 0, 102, .08); border-color: #cdd2ea; }
.aviso-item.inativo { opacity: .55; }
.aviso-thumb {
    width: 56px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    background: #eceef8;
    flex-shrink: 0;
}
.badge-atividade { min-width: 74px; }

/* ---- Modais ---- */
.modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.modal-icon-red { background: #fdeeee; color: var(--red); }

/* ---- Toasts ---- */
.toast { border-radius: 12px; border: none; box-shadow: 0 10px 28px rgba(0,0,0,.15); }
