body {
  background-color: #0a0e16;
  color: #ebedfa;
  font-family: 'Manrope', sans-serif;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  min-height: max(884px, 100dvh);
}
select option {
  background-color: #1a202b;
  color: #ebedfa;
}
.glass-card, .glass-widget, .glass-panel {
  background: rgba(32, 38, 50, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(68, 72, 82, 0.15);
}
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.material-icons-filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #444852;
  border-radius: 10px;
}
.inner-etched {
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}
.recessed-well {
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}
/* Modal styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 22, 0.8);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  transform: scale(0.95) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 95vh;
  /* Eliminamos overflow-y auto para evitar la barra extra */
}
.modal-overlay.open .modal-content {
  transform: scale(1) translateY(0);
}
/* Task priority colors */
.prio-Alta {
  border-left: 4px solid #ff7351 !important;
}
.prio-Media {
  border-left: 4px solid #fbd682 !important;
}
.prio-Baja {
  border-left: 4px solid #80b6ff !important;
}
.task-item.hecha {
  opacity: 0.5;
  text-decoration: line-through;
}
/* Login Background */
.login-bg {
  background: radial-gradient(circle at top right, rgba(251,214,130,0.1), transparent 40%),
              radial-gradient(circle at bottom left, rgba(128,182,255,0.05), transparent 40%);
}
