/* ======== ESTILO GENERAL DARK PREMIUM ======== */

.wadu-body {
  background: radial-gradient(circle at top left, #1c1f2b 0, #05060a 40%, #020308 100%);
  color: #f5f5f5;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wadu-navbar {
  background: #05060a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.board-title {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7); /* underline fuerte */
  padding-bottom: 0.35rem;
}

/* ======== CONTENEDOR DE COLUMNAS ======== */

.board-wrapper {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  align-items: stretch;
  min-height: calc(100vh - 120px);
  transition: transform 0.25s ease-out; /* para el slider en mobile */
}

/* Scrollbar discreto (desktop) */
.board-wrapper::-webkit-scrollbar {
  height: 8px;
}
.board-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.board-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

/* ======== COLUMNAS ======== */

.kanban-column {
  background: #0f1117;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 320px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 140px); /* llegan hasta abajo */
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
  position: relative;
}

.kanban-column-header {
  padding: 0.75rem 0.9rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25); /* underline blanco */
}

.kanban-column-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kanban-column-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.25); /* underline extra */
  margin-top: 0.25rem;
  padding-top: 0.15rem;
}

/* Botón eliminar columna */
.btn-column-menu {
  border-radius: 999px;
  padding-inline: 0.45rem;
  padding-block: 0.1rem;
  line-height: 1;
}

.btn-column-menu:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Contenedor de tarjetas */
.kanban-cards {
  padding: 0.75rem 0.9rem 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  flex: 1 1 auto; /* para ocupar el alto sobrante */
  border-bottom: 1px solid rgba(255, 255, 255, 0.12); /* underline blanco */
}

/* Scroll tarjetas */
.kanban-cards::-webkit-scrollbar {
  width: 6px;
}
.kanban-cards::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

/* Highlight cuando se arrastra encima */
.kanban-cards.drag-over {
  outline: 2px dashed rgba(255, 255, 255, 0.75);
  outline-offset: -4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
}

/* Botón añadir tarjeta */
.kanban-add-card {
  border-radius: 0 0 14px 14px;
  border-top: 2px dashed rgba(255, 255, 255, 0.5); /* underline fuerte */
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.35);
}

.kanban-add-card:hover {
  text-decoration: underline;
  background: rgba(255, 255, 255, 0.06);
}

/* ======== TARJETAS ======== */

.kanban-card {
  background: #181b23;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: grab;
  font-size: 0.85rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.65);
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    border-color 0.12s ease-out,
    background 0.12s ease-out;
}

/* Underline entre tarjetas */
.kanban-card + .kanban-card {
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  margin-top: 0.4rem;
  padding-top: 0.6rem;
}

.kanban-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.6);
  background: #1e222c;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.8);
}

.kanban-card:active {
  cursor: grabbing;
}

.kanban-card-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45); /* underline blanco en título */
  padding-bottom: 0.15rem;
}

.kanban-card-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Mientras se arrastra */
.kanban-card.is-dragging {
  opacity: 0.55;
  border-style: dashed;
}

/* Primera columna "Por Hacer" más marcada */
.kanban-column[data-column-id="todo"] {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.95);
}

/* ======== RESPONSIVE / MOBILE SLIDER ======== */

@media (max-width: 768px) {
  body {
    overflow: hidden; /* que se sienta como app full screen */
  }

  main.container-fluid {
    padding-inline: 0.5rem;
  }

  .board-title {
    width: 100%;
  }

  .board-wrapper {
    overflow: hidden; /* el swipe lo controlamos con transform */
    min-height: calc(100vh - 110px);
  }

  .kanban-column {
    min-width: 100vw;
    max-width: 100vw;
    height: calc(100vh - 110px); /* columna llega hasta abajo */
    border-radius: 0; /* estilo app fullscreen */
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }

  .kanban-column-header {
    padding-top: 0.9rem;
  }

  .kanban-add-card {
    border-radius: 0;
  }
}


.toast-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  pointer-events: none;
}

/* TOAST PRINCIPAL */
.task-toast {
  min-width: 320px;
  max-width: 420px;
  background: linear-gradient(135deg, #6f42c1, #0d6efd);
  color: #fff;
  padding: 18px 20px;
  margin-top: 14px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  pointer-events: auto;
  animation: toastIn 0.5s ease-out;
  position: relative;
  overflow: hidden;
}

/* Brillito animado */
.task-toast::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255,255,255,0.25) 40%,
    transparent 60%
  );
  animation: shine 2.5s infinite;
}

/* ÍCONO GRANDE */
.task-toast span.icon {
  font-size: 28px;
  line-height: 1;
}

/* TEXTO */
.task-toast span.text {
  flex: 1;
  line-height: 1.3;
}

/* BOTÓN CERRAR */
.task-toast button {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animación de entrada */
@keyframes toastIn {
  from {
    transform: translateY(30px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Efecto brillo */
@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.task-toast button{
  
    FLOAT: RIGHT;
    MARGIN-LEFT: 26%;

}