/* Importando fontes */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Reset seleto */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    font-family: "Bebas Neue", sans-serif;
  background-color: #fafafa;
  color: #333;
}

.add-task{
  cursor: pointer;
}

.delete-btn {
  margin-top: 5px;
  background-color: #ff5c5c;
  color: white;
  border: none;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.delete-btn:hover {
  background-color: #d43f3f;
}


/* Menu fixo no topo */
/* Menu fixo no topo */
/* Menu base */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #fff;
  border-bottom: 1.5px solid #ddd;
  z-index: 1000;
  box-shadow: 0 3px 8px rgba(75, 0, 130, 0.15);
  flex-wrap: wrap;
}

/* Links do menu */
.menu a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: #4B0082;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.menu a:hover {
  background-color: rgba(75, 0, 130, 0.12);
  color: #330066;
}

/* Agrupadores */
.menu-left,
.menu-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Wrapper para os itens do menu */
.menu-items {
  display: flex;
  flex: 1;
  justify-content: space-between;
}

/* Botão do menu mobile */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #4B0082;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsivo */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    margin-bottom: 10px;
  }

  .menu-items {
    flex-direction: column;
    width: 100%;
    display: none;
  }

  .menu-items.active {
    display: flex;
  }

  .menu-left,
  .menu-right {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .menu a {
    width: 100%;
    padding: 12px 20px;
    border-top: 1px solid rgba(75, 0, 130, 0.1);
  }
}


.btn-adicionar {
  background-color: #4CAF50;         /* Verde vibrante */
  color: white;                      /* Texto branco */
  border: none;                      /* Sem borda */
  padding: 12px 20px;                /* Espaçamento interno */
  font-size: 16px;                   /* Tamanho da fonte */
  font-weight: bold;                 /* Negrito */
  border-radius: 8px;                /* Cantos arredondados */
  cursor: pointer;                   /* Muda o cursor */
  transition: background-color 0.3s, transform 0.2s; /* Suavidade */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Sombra leve */
}

.btn-adicionar:hover {
  background-color: #45a049;         /* Tom mais escuro no hover */
  transform: scale(1.05);            /* Leve zoom no hover */
}


/* Cada card de coluna */
.container,
.container1,
.container2,
.container3,
.container4,
.container5 {
  margin-top: 75px; /* espaço para o menu fixo */
  padding: 20px 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.titulored,
.tituloyellow,
.titulogreen,
.titulogray,
.tituloblue {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.titulored { color: #ff0000; }
.tituloyellow { color: #ffb000; }
.titulogreen { color: #698934; }
.titulogray { color: #348965; }
.tituloblue { color: #345689; }
.toggle-arrow {
  cursor: pointer;
  transition: transform 0.4s ease;
  width: 52px;
  height: 32px;
}
.toggle-arrow.rotated {
  transform: rotate(-90deg);
}

/* Área de tarefas */
/* Importando fontes */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Reset seleto */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    font-family: "Bebas Neue", sans-serif;
  background-color: #fafafa;
  color: #333;
}

.add-task{
  cursor: pointer;
}

.delete-btn {
  margin-top: 5px;
  background-color: #ff5c5c;
  color: white;
  border: none;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.delete-btn:hover {
  background-color: #d43f3f;
}

  
/* Menu fixo no topo */
/* Menu fixo no topo */
/* Menu base */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #fff;
  border-bottom: 1.5px solid #ddd;
  z-index: 1000;
  box-shadow: 0 3px 8px rgba(75, 0, 130, 0.15);
  flex-wrap: wrap;
}

/* Links do menu */
.menu a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: #4B0082;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.menu a:hover {
  background-color: rgba(75, 0, 130, 0.12);
  color: #330066;
}

/* Agrupadores */
.menu-left,
.menu-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Wrapper para os itens do menu */
.menu-items {
  display: flex;
  flex: 1;
  justify-content: space-between;
}

/* Botão do menu mobile */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #4B0082;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsivo */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    margin-bottom: 10px;
  }

  .menu-items {
    flex-direction: column;
    width: 100%;
    display: none;
  }

  .menu-items.active {
    display: flex;
  }

  .menu-left,
  .menu-right {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .menu a {
    width: 100%;
    padding: 12px 20px;
    border-top: 1px solid rgba(75, 0, 130, 0.1);
  }
}



/* Cada card de coluna */
.container,
.container1,
.container2,
.container3,
.container4,
.container5 {
  margin-top: 75px; /* espaço para o menu fixo */
  padding: 20px 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.titulored,
.tituloyellow,
.titulogreen,
.titulogray,
.tituloblue {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.titulored { color: #ff0000; }
.tituloyellow { color: #ffb000; }
.titulogreen { color: #698934; }
.titulogray { color: #348965; }
.tituloblue { color: #345689; }
.toggle-arrow {
  cursor: pointer;
  transition: transform 0.4s ease;
  width: 52px;
  height: 32px;
  object-fit: contain;
  transform-origin: center center;
}

.toggle-arrow.rotated {
  transform: rotate(-90deg) scale(1.2);
  width: 32px; /* ajusta melhor o espaço quando girado */
  height: 52px;
}


/* Área de tarefas */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  min-height: 220px;
  border: 2.5px dashed #ccc;
  border-radius: 14px;
  background-color: #f9f9f9;
  box-shadow: inset 0 0 10px #eee;
}

/* Cards de tarefa */
.task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.1);
  cursor: grab;
  gap: 16px;
  transition: box-shadow 0.3s ease;
}
.task:hover {
  box-shadow: 4px 8px 15px rgba(75, 0, 130, 0.2);
}
.task-name {
  flex: 2;
  font-weight: 700;
  font-size: 18px;
  color: #4B0082;
}
.task-category {
  flex: 1;
  text-align: center;
  color: #666;
  font-style: italic;
}
.task-date {
  flex: 1;
  text-align: center;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}
.task-priority {
  flex: 1;
  text-align: center;
  font-weight: 700;
  color: #f44e3f;
}
.delete-task {
  background: #f44336;
  color: white;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: background-color 0.3s ease;
  user-select: none;
}
.delete-task:hover {
  background: #d32f2f;
}


/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1500;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-content {
  background-color: white;
  padding: 30px 35px;
  border-radius: 16px;
  width: 350px;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  font-family: "Bebas Neue", sans-serif;
}
.modal-content input,
.modal-content select {
  width: 100%;
  margin: 14px 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid #ccc;
  font-size: 16px;
  font-family: inherit;
}
.close {
  color: #f44336;
  font-size: 30px;
  float: right;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}
.close:hover {
  color: #b71c1c;
}

.task-list.drag-over {
  background-color: #e8e6ff; /* tom lavanda suave */
  border-color: #4B0082;
  box-shadow: inset 0 0 12px rgba(75, 0, 130, 0.25);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.task.dragging {
  opacity: 0.6;
  transform: scale(1.03);
  box-shadow: 0 6px 14px rgba(75, 0, 130, 0.3);
  border: 2px dashed #4B0082;
}

.hidden {
  display: none;
}

.task {
  background-color: #1e1e1e;
  color: white;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.task:hover {
  transform: scale(1.02);
}

