/* =============================================
   Tareas de Ecatepec - Custom Styles
   Identidad institucional: vino #691C32, dorado #BC955C, crema #ECD798
   Mobile-first, Bootstrap 5 compatible
   ============================================= */

:root {
  --sidebar-width: 260px;
  --sidebar-collapsed: 60px;
  --topbar-height: 56px;

  /* Paleta institucional */
  --eca-vino:        #691C32;
  --eca-vino-dark:   #4d1424;
  --eca-vino-light:  #8b2440;
  --eca-dorado:      #BC955C;
  --eca-dorado-dark: #9a7843;
  --eca-dorado-light:#d4b27d;
  --eca-crema:       #ECD798;
  --eca-crema-soft:  #f6e9c1;

  --primary:        var(--eca-vino);
  --primary-dark:   var(--eca-vino-dark);
  --secondary:      var(--eca-dorado);
  --accent:         var(--eca-crema);

  --sidebar-bg:     #3a0f1c;
  --sidebar-text:   #f6e9c1;
  --sidebar-hover:  var(--eca-vino-dark);
  --sidebar-active: var(--eca-vino);
  --transition:     0.25s ease;

  /* Override de variables Bootstrap (deja que bg-opacity, text-bg-subtle, etc.
     se calculen correctamente sobre el color institucional). */
  --bs-primary:        #691C32;
  --bs-primary-rgb:    105, 28, 50;
  --bs-primary-bg-subtle:     #f3e3e7;
  --bs-primary-border-subtle: #d4a8b3;
  --bs-primary-text-emphasis: #4d1424;
  --bs-link-color:           #691C32;
  --bs-link-color-rgb:       105, 28, 50;
  --bs-link-hover-color:     #4d1424;
  --bs-link-hover-color-rgb: 77, 20, 36;
}

[data-bs-theme="dark"] {
  --bs-primary-bg-subtle:     #2a0c14;
  --bs-primary-border-subtle: #4d1424;
  --bs-primary-text-emphasis: #d4a8b3;
}

/* Botones primary: ajusta hover y active a tonos institucionales */
.btn-primary {
  --bs-btn-bg: var(--eca-vino);
  --bs-btn-border-color: var(--eca-vino);
  --bs-btn-hover-bg: var(--eca-vino-dark);
  --bs-btn-hover-border-color: var(--eca-vino-dark);
  --bs-btn-active-bg: var(--eca-vino-dark);
  --bs-btn-active-border-color: var(--eca-vino-dark);
  --bs-btn-disabled-bg: var(--eca-vino);
  --bs-btn-disabled-border-color: var(--eca-vino);
}
.btn-outline-primary {
  --bs-btn-color: var(--eca-vino);
  --bs-btn-border-color: var(--eca-vino);
  --bs-btn-hover-bg: var(--eca-vino);
  --bs-btn-hover-border-color: var(--eca-vino);
  --bs-btn-active-bg: var(--eca-vino-dark);
  --bs-btn-active-border-color: var(--eca-vino-dark);
}

/* Botón dorado institucional (acento) */
.btn-secondary-eca {
  background-color: var(--eca-dorado);
  border-color: var(--eca-dorado);
  color: #fff;
}
.btn-secondary-eca:hover,
.btn-secondary-eca:focus {
  background-color: var(--eca-dorado-dark);
  border-color: var(--eca-dorado-dark);
  color: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--eca-dorado-light);
  box-shadow: 0 0 0 0.2rem rgba(105, 28, 50, 0.18);
}

/* ---- Base ---- */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bs-body-bg, #f8f9fa);
  min-height: 100vh;
}

/* ---- Sidebar ---- */
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  z-index: 1040;
  transition: transform var(--transition), width var(--transition);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ---- Desktop: collapsible sidebar (expand on hover) ---- */
@media (min-width: 992px) {
  /* Collapsed by default: only icons visible */
  #sidebar {
    width: var(--sidebar-collapsed);
    overflow: hidden;
  }
  /* Expand on hover (or keyboard focus) */
  #sidebar:hover,
  #sidebar:focus-within {
    width: var(--sidebar-width);
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,0.25);
  }

  /* Inline text (brand + nav labels): collapse horizontally with max-width + opacity.
     max-width:0 takes it out of horizontal space so the icons stay centered on the rail,
     then it expands + fades in smoothly when the sidebar is hovered. */
  #sidebar .brand-text,
  #sidebar .nav-link span {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width var(--transition), opacity 0.2s ease;
  }
  #sidebar:hover .brand-text,
  #sidebar:focus-within .brand-text,
  #sidebar:hover .nav-link span,
  #sidebar:focus-within .nav-link span {
    max-width: 200px;
    opacity: 1;
  }

  /* Block elements (section label, separator, footer user info): collapse vertically
     with max-height + opacity so they fade in smoothly without leaving a gap. */
  #sidebar .sidebar-section-lbl,
  #sidebar hr.sidebar-sep,
  #sidebar .sidebar-footer > .d-flex > div {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    transition: max-height var(--transition), opacity 0.2s ease,
                margin var(--transition), padding var(--transition), border-width var(--transition);
  }
  #sidebar:hover .sidebar-section-lbl,
  #sidebar:focus-within .sidebar-section-lbl {
    max-height: 30px;
    opacity: 1;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  #sidebar:hover hr.sidebar-sep,
  #sidebar:focus-within hr.sidebar-sep {
    max-height: 2px;
    opacity: 1;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border-top-width: 1px;
  }
  #sidebar:hover .sidebar-footer > .d-flex > div,
  #sidebar:focus-within .sidebar-footer > .d-flex > div {
    max-height: 60px;
    opacity: 1;
  }

  /* Gap + padding transitions so icons glide from centered to left-aligned smoothly */
  #sidebar .sidebar-brand,
  #sidebar .nav-link {
    padding-left: 20px;
    padding-right: 20px;
    gap: 0;
    transition: padding var(--transition), gap var(--transition);
  }
  #sidebar:hover .sidebar-brand,
  #sidebar:focus-within .sidebar-brand {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    gap: 0.6rem;
  }
  #sidebar:hover .nav-link,
  #sidebar:focus-within .nav-link {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    gap: 0.75rem;
  }
  /* brand-icon is 32px wide — nudge so it sits centered on the 60px rail */
  #sidebar .sidebar-brand .brand-icon {
    margin-left: -6px;
    transition: margin-left var(--transition);
  }
  #sidebar:hover .sidebar-brand .brand-icon,
  #sidebar:focus-within .sidebar-brand .brand-icon {
    margin-left: 0;
  }

  /* Footer: center avatar when collapsed, align left when expanded */
  #sidebar .sidebar-footer {
    padding-left: 20px;
    padding-right: 20px;
    transition: padding var(--transition);
  }
  #sidebar:hover .sidebar-footer,
  #sidebar:focus-within .sidebar-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Main content stays anchored to the collapsed width — no layout shift on hover */
  #main-content {
    margin-left: var(--sidebar-collapsed);
  }
}

#sidebar .sidebar-brand {
  padding: 1.25rem 1.25rem 1rem;
  color: var(--eca-crema);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(236, 215, 152, 0.18);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

#sidebar .sidebar-brand .brand-text {
  line-height: 1.1;
  display: inline-flex;
  flex-direction: column;
}
#sidebar .sidebar-brand .brand-text small {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--eca-dorado-light);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

#sidebar .sidebar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 2px solid var(--eca-dorado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 2px;
}
#sidebar .sidebar-brand .brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#sidebar nav {
  flex: 1;
  padding: 0.75rem 0;
}

#sidebar .nav-item a,
#sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  color: var(--sidebar-text);
  text-decoration: none;
  border-radius: 0;
  transition: background var(--transition), color var(--transition);
  font-size: 0.9rem;
  white-space: nowrap;
}

#sidebar .nav-link:hover {
  background: var(--sidebar-hover);
  color: #fff;
}

#sidebar .nav-link.active {
  background: var(--sidebar-active);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 4px 0 0 var(--eca-dorado);
}

#sidebar .nav-link i {
  font-size: 1.15rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

#sidebar .sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(236, 215, 152, 0.15);
  font-size: 0.8rem;
  color: var(--sidebar-text);
}

/* ---- Main content ---- */
#main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  transition: margin-left var(--transition);
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--topbar-height);
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(10px);
  background: rgba(var(--bs-body-bg-rgb, 248,249,250), 0.95) !important;
  border-bottom: 2px solid var(--eca-dorado);
  box-shadow: 0 1px 0 rgba(105, 28, 50, 0.08);
}
.topbar .brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--eca-vino);
}
.topbar .brand-mini img {
  height: 28px;
  width: auto;
}

.page-content {
  flex: 1;
  padding: 1.5rem;
}

/* ---- Mobile: sidebar as drawer ---- */
@media (max-width: 991.98px) {
  #sidebar {
    transform: translateX(-100%);
  }
  #sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0,0,0,0.3);
  }
  #main-content {
    margin-left: 0;
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1039;
  }
  .sidebar-overlay.show {
    display: block;
  }
}

/* ---- Dark mode ---- */
[data-bs-theme="dark"] #sidebar {
  background: #1f0810;
  --sidebar-hover: #4d1424;
}
[data-bs-theme="dark"] .topbar {
  border-bottom-color: var(--eca-dorado-dark);
}

[data-bs-theme="dark"] .topbar {
  background: rgba(33,37,41,0.97) !important;
  border-color: #495057 !important;
}

[data-bs-theme="dark"] .card {
  border-color: #495057;
}

/* ---- Status badges ---- */
.badge-estado-por_hacer  { background: #6c757d !important; }
.badge-estado-haciendo   { background: #0d6efd !important; }
.badge-estado-terminada  { background: #198754 !important; }
.badge-estado-enterado   { background: #0dcaf0 !important; color: #000 !important; }
.badge-estado-ocupado    { background: #ffc107 !important; color: #000 !important; }
.badge-estado-aceptada   { background: #20c997 !important; }

/* ---- Prioridad badges ---- */
.badge-prioridad-baja    { background: #198754 !important; }
.badge-prioridad-media   { background: #ffc107 !important; color: #000 !important; }
.badge-prioridad-alta    { background: #dc3545 !important; }
.badge-prioridad-critica { background: #212529 !important; }

/* ---- Cards ---- */
.card {
  border-radius: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.card-proyecto {
  cursor: pointer;
}

.card-proyecto:hover {
  transform: translateY(-2px);
}

/* ---- Summary metric cards ---- */
.metric-card {
  border-left: 4px solid var(--eca-vino);
  border-radius: 10px;
}

.metric-card.metric-active  { border-left-color: var(--eca-vino); }
.metric-card.metric-pending { border-left-color: var(--eca-dorado); }
.metric-card.metric-done    { border-left-color: #198754; }
.metric-card.metric-overdue { border-left-color: #dc3545; }

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ---- Task status quick buttons ---- */
.estado-btn-group .btn {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
}

.estado-btn-group .btn.active-estado {
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.25);
}

/* ---- Progress bars ---- */
.progress {
  border-radius: 20px;
  height: 8px;
}

.progress-bar {
  border-radius: 20px;
  transition: width 0.6s ease;
}

/* ---- Notifications ---- */
.notif-bell {
  position: relative;
}

.notif-bell .badge {
  position: absolute;
  top: -4px;
  right: -6px;
  font-size: 0.65rem;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}

.dropdown-notifications {
  width: 340px;
  max-height: 420px;
  overflow-y: auto;
}

.notif-item {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--bs-border-color);
  font-size: 0.85rem;
}

.notif-item.unread {
  background: rgba(105, 28, 50, 0.06);
  border-left: 3px solid var(--eca-dorado);
  font-weight: 500;
}

.notif-item:last-child {
  border-bottom: none;
}

/* ---- Subtarea card ---- */
.subtarea-item {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.4rem;
}

.subtarea-item.terminada {
  opacity: 0.65;
}

.subtarea-item.terminada .subtarea-nombre {
  text-decoration: line-through;
}

/* ---- Flash alerts ---- */
.flash-container {
  position: fixed;
  top: 70px;
  right: 1rem;
  z-index: 1055;
  max-width: 360px;
  width: calc(100% - 2rem);
}

/* ---- Tables ---- */
.table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ---- Overdue indicator ---- */
.overdue-text {
  color: #ef4444;
  font-weight: 600;
}

/* ---- Avatar ---- */
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--eca-dorado);
  color: var(--eca-vino-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid var(--eca-crema);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ced4da; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #adb5bd; }

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb { background: #495057; }

/* ---- Misc ---- */
.cursor-pointer { cursor: pointer; }
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.role-badge-god   { background: var(--eca-vino) !important; color: #fff !important; }
.role-badge-admin { background: var(--eca-dorado) !important; color: #fff !important; }
.role-badge-user  { background: var(--eca-vino-light) !important; color: #fff !important; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ---- Mobile adjustments ---- */
@media (max-width: 575.98px) {
  .page-content {
    padding: 1rem 0.75rem;
  }
  .metric-card {
    margin-bottom: 0.75rem;
  }
  h1, .h1 { font-size: 1.5rem; }
  h2, .h2 { font-size: 1.25rem; }
}

/* ---- Quick Actions ---- */
.btn-xs {
  --bs-btn-padding-y: 0.1rem;
  --bs-btn-padding-x: 0.35rem;
  --bs-btn-font-size: 0.65rem;
  --bs-btn-border-radius: 0.25rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.25s ease-out; }

/* ---- Required Field Indicators ---- */
.form-label .text-danger {
  font-weight: 700;
}

/* Highlight required inputs on focus (visual cue) */
input[required]:not(:focus):not(:valid):not([value=""]),
select[required]:not(:focus):not(:valid),
textarea[required]:not(:focus):not(:valid) {
  border-left: 3px solid var(--eca-dorado);
}

/* Validation states */
.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15) !important;
}

.date-validation-warning {
  animation: fadeIn 0.2s ease-out;
}

/* ---- Danger Button Separation ---- */
.btn-outline-danger,
.btn-danger {
  margin-left: auto;
}

/* Within card action rows: push delete to far right */
.card-proyecto .d-flex.gap-2.mt-auto .btn-outline-danger {
  margin-left: auto;
}

/* ---- Estado Badge Tooltips ---- */
.badge-estado-por_hacer  { cursor: help; }
.badge-estado-haciendo   { cursor: help; }
.badge-estado-terminada  { cursor: help; }
.badge-estado-enterado   { cursor: help; }
.badge-estado-ocupado    { cursor: help; }
.badge-estado-aceptada   { cursor: help; }

/* ---- Anti-double-submit visual ---- */
button[disabled][data-submitting="true"] {
  opacity: 0.65;
  cursor: wait;
}

/* ---- Character Counter ---- */
.char-counter {
  transition: color 0.2s;
}

/* ---- Evidencias Panel ---- */
.evidencias-panel {
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-top: 0.5rem;
}

.evidencia-item {
  border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0,0,0,0.05));
  transition: background-color 0.15s;
}
.evidencia-item:last-child {
  border-bottom: none;
}
.evidencia-item:hover {
  background-color: var(--bs-tertiary-bg, rgba(0,0,0,0.02));
}

.evidencia-upload-zone {
  background: var(--bs-tertiary-bg, #f8f9fa);
  border: 1px dashed var(--bs-border-color, #dee2e6);
  border-radius: 0.375rem;
  padding: 0.5rem;
}

.evidencia-badge-pdf {
  background-color: #dc3545 !important;
  color: #fff !important;
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.evidencia-badge-png {
  background-color: #198754 !important;
  color: #fff !important;
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.evidencia-feedback {
  font-size: 0.8rem;
}

.evidencias-panel .evidencia-progress .progress {
  border-radius: 2px;
}

[data-bs-theme="dark"] .evidencias-panel {
  background: var(--bs-body-bg);
  border-color: var(--bs-border-color);
}
[data-bs-theme="dark"] .evidencia-upload-zone {
  background: var(--bs-tertiary-bg);
  border-color: var(--bs-border-color);
}

/* ---- CSP Compliance: Utility classes (replaces inline style= attributes) ---- */

/* Font sizes */
.text-3xs  { font-size: 0.6rem; }
.text-2xs  { font-size: 0.65rem; }
.text-xxs  { font-size: 0.7rem; }
.text-xs-custom { font-size: 0.75rem; }
.text-sm-px     { font-size: 0.82rem; }
.text-sm-px2    { font-size: 0.68rem; }
.icon-sm   { font-size: 1.4rem; }
.icon-md   { font-size: 1.5rem; }

/* KPI icon box */
.kpi-icon-box { width: 48px; height: 48px; min-width: 48px; }

/* Progress heights */
.progress-h4  { height: 4px; }
.progress-h6  { height: 6px; }
.progress-h8  { height: 8px; }
.progress-h10 { height: 10px; }

/* Sizing constraints */
.mw-90  { max-width: 90px; }
.mw-120 { max-width: 120px; }
.mw-420 { max-width: 420px; }
.mw-700 { max-width: 700px; }
.mnw-35 { min-width: 35px; }
.mnw-140 { min-width: 140px; }
.min-w-0 { min-width: 0; }

/* Display / visibility helpers */
.text-preline { white-space: pre-line; }
.c-pointer    { cursor: pointer; }
.transition-transform { transition: transform 0.2s; }

/* Z-index layers */
.z-9999 { z-index: 9999; }
.z-1100 { z-index: 1100; }

/* Layout helpers */
.min-vh-100 { min-height: 100vh; }
.pos-tr-fixed { position: fixed; top: 1rem; right: 1rem; z-index: 9999; }

/* Sidebar specific */
.sidebar-brand-img   { width: 28px; height: 28px; object-fit: contain; }
.sidebar-user-name   { font-size: 0.8rem; font-weight: 600; color: var(--eca-crema) !important; }
.sidebar-section-lbl { font-size: 0.7rem; color: var(--eca-dorado-light); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.sidebar-sep         { border-color: rgba(236, 215, 152, 0.18) !important; }

/* Error pages */
.star-canvas-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.error-body-403 { min-height: 100vh; }

/* Dashboard */
.dashboard-user-card--success { border-left-color: var(--bs-success); }
.dashboard-user-card--warning { border-left-color: var(--bs-warning); }
.dashboard-user-card--danger  { border-left-color: var(--bs-danger);  }

/* Note / panel utilities */
.note-content-text { white-space: pre-line; }
.toast-layer       { z-index: 1100; }
.offcanvas-w-380   { width: min(380px, 100vw); }

/* Notas panel — replaces inline style= blocked by CSP (no unsafe-inline) */
.nota-action-btn   { font-size: 0.75rem; }
.nota-flex-fill    { min-width: 0; }
.nota-badge-tipo   { font-size: 0.65rem; }
.nota-meta         { font-size: 0.7rem; }
.notas-empty-icon  { font-size: 1.4rem; }

/* Charts */
.chart-max-h { max-height: 280px; }

/* Misc */
.progress-init-0 { width: 0%; }
.margin-top-sm   { margin-top: 0.4rem; }

/* Access denied icon */
.access-denied-icon { font-size: 5rem; color: #ef4444; margin-bottom: 1rem; }
