:root {
  --color-fondo: #1e7883;
  --color-principal: #ee7256;
  --color-secundario: #afebe5;

  --color-tarjeta: #a9bdbb;
  --color-hover-menu: #ee7256;

  --color-principal-hover: #d65c3b;

  --font-family: 'Nunito', sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-fondo);
  color: inherit;
}


.text-principal {
  color: var(--color-principal);
}

.bg-principal {
  background-color: var(--color-principal);
}

.text-secundario {
  color: var(--color-secundario);
}

.bg-secundario {
  background-color: var(--color-secundario);
}

.text-verde {
  color: var(--color-verde);
}

.text-rojo {
  color: var(--color-rojo);
}

.rounded-soft {
  border-radius: 0.5rem;
}

.shadow-soft {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.transition-fast {
  transition: all 0.3s ease-in-out;
}

.hover-scale:hover {
  transform: scale(1.03);
}
/* Notificaciones Flotantes (Toasts) */
#toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
}

.toast {
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 250px;
  max-width: 350px;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
  transform: translateX(0);
}

.toast-success { background-color: #10b981; border-left: 5px solid #059669; }
.toast-error { background-color: #ef4444; border-left: 5px solid #dc2626; }
.toast-info { background-color: #3b82f6; border-left: 5px solid #2563eb; }

/* Overlay de Carga */
#loading-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(2px);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--color-secundario);
  border-bottom-color: var(--color-principal);
  border-radius: 50%;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
