/* ================================================
   NOTIFICACIONES
   ================================================ */

.notif-container {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 20px;
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.notif-header h1 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
}

.btn-marcar-leidas {
  padding: 8px 16px;
  background: var(--gris-100);
  color: var(--gris-700);
  border: none;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-marcar-leidas:hover {
  background: var(--dale-verde);
  color: white;
}

.notif-lista {
  background: var(--blanco);
  border: 1px solid var(--gris-100);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.notif-item {
  display: flex;
  align-items: start;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gris-100);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.notif-item:hover {
  background: var(--gris-50);
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item.no-leida {
  background: var(--dale-azul-claro);
}

.notif-item.no-leida:hover {
  background: #D0E1F1;
}

.notif-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gris-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.notif-item.no-leida .notif-icon {
  background: var(--blanco);
}

.notif-contenido {
  flex: 1;
}

.notif-titulo {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--gris-900);
}

.notif-mensaje {
  font-size: 13px;
  color: var(--gris-700);
  line-height: 1.5;
  margin-bottom: 4px;
  white-space: pre-wrap;
}

.notif-fecha {
  font-size: 11px;
  color: var(--gris-500);
}

.notif-punto {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dale-azul);
  margin-left: 8px;
  flex-shrink: 0;
  margin-top: 8px;
}

/* Badge navbar */
.navbar-notif {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
}

.navbar-notif-badge {
  position: absolute;
  top: -2px;
  right: 0;
  background: var(--dale-rojo);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vacío */
.notif-vacio {
  text-align: center;
  padding: 60px 20px;
}

.notif-vacio-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.notif-vacio h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.notif-vacio p {
  font-size: 14px;
  color: var(--gris-500);
}
