/* =====================================================
   Sistema de Notificaciones Laborales - Estilos
   ===================================================== */

:root {
  --color-primary: #1a3a5c;
  --color-primary-dark: #0f2540;
  --color-primary-light: #2a5a8c;
  --color-accent: #f59e0b;
  --color-success: #16a34a;
  --color-bg: #f0f4f8;
}

/* --- Layout general --- */
body {
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Navbar --- */
.bg-primary-custom {
  background-color: var(--color-primary) !important;
}

.btn-nueva-notif {
  background-color: var(--color-accent);
  color: #000 !important;
  border-radius: 6px;
  font-weight: 600;
  padding: 4px 12px;
}
.btn-nueva-notif:hover {
  background-color: #d97706;
}

/* --- Footer --- */
.footer-bar {
  background-color: #fff;
  border-top: 1px solid #e0e7ef;
  margin-top: auto;
}

/* --- Login --- */
.login-bg {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a5a8c 100%);
}

.login-card {
  border-radius: 12px;
  border: none;
}

.login-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e8f0f8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.text-primary-custom {
  color: var(--color-primary) !important;
}

/* --- Botón principal --- */
.btn-primary-custom {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background .2s;
}
.btn-primary-custom:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
}

/* --- Tarjetas de estadísticas (dashboard) --- */
.card-stat {
  border-radius: 10px;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}

.stat-icon.bg-blue   { background-color: #1a3a5c; }
.stat-icon.bg-purple { background-color: #7c3aed; }
.stat-icon.bg-orange { background-color: #ea580c; }
.stat-icon.bg-green  { background-color: #16a34a; }

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}

.stat-label {
  font-size: .8rem;
  color: #6b7280;
  margin-top: 2px;
}

/* --- Tablas --- */
.table th {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6b7280;
  font-weight: 600;
  white-space: nowrap;
}

.table tbody tr:hover {
  background-color: #f8fafc;
}

/* --- Contenido de notificación --- */
.notif-contenido {
  font-size: .95rem;
  line-height: 1.75;
  color: #374151;
  white-space: pre-wrap;
  border: 1px solid #e5e7eb;
  min-height: 200px;
}

/* --- Cards generales --- */
.card {
  border-radius: 10px;
}

.card-header {
  border-radius: 10px 10px 0 0 !important;
}

/* --- Badges --- */
.badge {
  font-size: .75rem;
  padding: 4px 8px;
  border-radius: 4px;
}

/* --- Formularios --- */
.form-control:focus,
.form-select:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 .2rem rgba(26, 58, 92, .15);
}

/* --- Responsive --- */
@media (max-width: 576px) {
  .stat-number { font-size: 1.5rem; }
  .container-fluid { padding-left: 12px; padding-right: 12px; }
}
