/* ===== ALERTAS CENTRAL - CLEAN SEM BORDAS ===== */
#alertas{padding:20px;}
#alertas .titulo{display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 20px;margin-bottom:20px;}
#alertas .titulo h2{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;color:#2f0375;margin:0;}
#alertas .titulo h2 i{color:#7163ba;font-size:24px;}
#alertas .subtitulo{font-size:13px;color:#6b7280;margin:4px 0 0 36px;}
#alertas .header-acoes{display:flex;gap:8px;}
#alertas .stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;margin-bottom:20px;}
#alertas .stat-card{background:#fff;padding:18px 20px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.06);border:1px solid #f3f4f6;transition:.25s;}
#alertas .stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08);}
#alertas .stat-label{font-size:11px;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.4px;display:block;margin-bottom:6px;}
#alertas .stat-value{font-size:28px;font-weight:700;color:#2f0375;line-height:1;display:block;}
#alertas .toolbar{background:#fff;padding:14px 16px;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.05);margin-bottom:20px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;}
#alertas .search-box{display:flex;align-items:center;gap:10px;background:#f3f4f6;padding:0 14px;border-radius:8px;flex:1 1 300px;height:38px;border:1px solid transparent;}
#alertas .search-box:focus-within{background:#fff;border-color:#8978df;}
#alertas .search-box input{border:none;background:transparent;outline:none;width:100%;font-size:14px;height:100%;}
#alertas .filters{display:flex;gap:10px;}
#alertas .filtro select{border:1px solid #d1d5db;border-radius:6px;padding:8px 10px;background:#fff;min-width:130px;font-size:13px;}

.alertas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;}
.card-alerta-central{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.04);transition:.2s;cursor:pointer;}
.card-alerta-central:hover{box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-1px);}
.card-alerta-central .card-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid #f1f5f9;}
.card-alerta-central .card-head-left{display:flex;align-items:center;gap:10px;}
.card-alerta-central .icon-box{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:14px;}
.card-alerta-central .card-tipo{font-size:8px;font-weight:800;text-transform:uppercase;padding:3px 7px;border-radius:10px;}
.card-alerta-central .card-body{padding:12px 14px;}
.card-alerta-central .card-title{font-size:13px;font-weight:700;color:#1e293b;margin:0 0 6px 0;}
.card-alerta-central .card-desc{font-size:11px;color:#64748b;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.card-alerta-central .card-footer{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:#f9fafb;border-top:1px solid #f1f5f9;font-size:10px;color:#6b7280;}
.prio{padding:2px 7px;border-radius:10px;font-size:8px;font-weight:800;text-transform:uppercase;}
.prio.baixa{background:#f3f4f6;color:#6b7280}.prio.media{background:#fef3c7;color:#92400e}.prio.alta{background:#ffedd5;color:#9a3412}.prio.critica{background:#fee2e2;color:#991b1b}

.central-alerta-item{padding:10px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}
.central-alerta-item-identidade{display:flex;align-items:center;gap:10px}
.central-alerta-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;flex:0 0 36px}
.central-alerta-item-texto{flex:1;min-width:0}
.central-alerta-item-texto strong,.central-alerta-item-texto span{display:block}
.central-alerta-item-texto strong{font-size:12px;color:#1e293b;overflow-wrap:anywhere}
.central-alerta-item-texto span{font-size:11px;color:#64748b;margin-top:2px}
.alerta-notas-professor{margin:10px 0 0 46px;border-top:1px solid #e2e8f0;padding-top:8px}
.alerta-notas-professor summary{color:#51458b;font-size:11px;font-weight:700;cursor:pointer}
.alerta-notas-professor summary:focus-visible{outline:2px solid #51458b;outline-offset:3px}
.alerta-notas-professor ul{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}
.alerta-notas-professor li{display:grid;gap:2px;padding:8px;background:#f8fafc;border-radius:6px}
.alerta-notas-professor li strong{font-size:11px;color:#1e293b}
.alerta-notas-professor li span,.alerta-notas-professor li small{font-size:10px;color:#475569;line-height:1.4}