.todoSidebar {
    width: 200px;
    background-color: #f8f9fa;
    padding: 10px;
    border-right: 1px solid #ddd;
  }
  .sidebar ul {
    list-style: none;
    padding: 0;
  }
  .sidebar li {
    margin-bottom: 15px;
  }

  .kanban-board {
    display: flex;
    gap: 10px;
    padding: 20px;
    overflow-x: auto;
  }
  .column {
    flex: 1;
    border: 2px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    background-color: #f1f1f1;
  }
  .tasks {
    min-height: 200px;
  }
  .task {
    background-color: #fff;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }

  .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 20px;
  }
  .modal.hidden {
    display: none;
  }




  .column-body {
    padding: 0rem;
    background-color: #f8f9fa;
    min-height: 300px;
    height: 95%;
    padding: 10px;
    overflow-y: scroll;
  }




#todoToolbar {
    width: 100%;
    height: 3rem;
    display: flex;
    justify-content: space-between;
    padding: 0 20px 0 20px;
}


.todoContainer {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}



.dragging {
    z-index: 10000;
}








/* Create a CSS Grid for the main content */
todoMain {
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr 1fr;
    /* Three equal columns */
    grid-gap: 20px;
    /* Adjust as needed */
    padding: 0 20px 0 20px;
    /* Optional padding for the grid content */
    height: calc(100% - 2rem);
}

/* Style the columns */
.todoColumn {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
}

.column-header {
    background-color: #1ba1e2;
    width: 100%;
    height: 30px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    border: 1px solid #1ba1e2;
    color: white;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.todoListName {
    width: 100%;
    height: 30px;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    border: 1px solid #1ba1e2;
    color: white;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.todoListName:hover {
    background-color: #0000FF !important;
}

.todoListName:nth-child(even) {
    background-color: #00BFFF;
}

.todoListName:nth-child(odd) {
    background-color: #1E90FF;
}

.addTodo {
    position: absolute;
    bottom: 10px;
    right: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: none;
    color: white;
    background-color: #1ba1e2;
    border-radius: 50%;
    font-size: 40px;
    display: block;
    text-align: center;
}

.todoCard {
    width: 100%;
    height: auto;
    display: grid;
    border: 1px solid lightgray;
    background-color: #E0E0E0;
    background-color: red;
    margin-bottom: 10px;
}

.todoCardHeader {
    width: 100%;
    height: 30px;
    color: black;
    background-color: #D0D0D0;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* .todoCardBody {
        
    } */
.todoCardFooter {
    width: 100%;
    height: 30px;
    margin-bottom: 0px;
    color: black;
    background-color: #D0D0D0;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: right;
}














 .fab-strip {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 15px;
    z-index: 1000; /* above content */
    pointer-events: none; /* let clicks pass through except on buttons */
  }
  .fab-strip .fab {
    pointer-events: auto;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    border-radius: 9999px;
    transition: transform .15s ease;
  }
  .fab-strip .fab:hover { transform: translateY(-2px) scale(1.03); }
  .fab-strip .fab:active { transform: translateY(0) scale(0.98); }

  /* Optional: subtle shadow on the circles (via SVG filter substitute) */
  .fab-strip svg circle {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
  }







  /* Blue highlight without layout shift */
todo-card.newly-added {
    box-shadow: inset 0 0 0 3px #3b82f6, inset 0 0 0 6px rgba(59,130,246,0.25);
  border-radius: 12px; /* match the card if the host draws its background */
}

/* Optional: gentle pulse that fades out over 10s */
@media (prefers-reduced-motion: no-preference) {
  todo-card.newly-added {
    animation: newTaskPulse 20s ease-in-out forwards;
  }
  @keyframes newTaskPulse {
    0%   { box-shadow: 0 0 0 6px rgba(59,130,246,0.35); }
    50%  { box-shadow: 0 0 0 2px rgba(59,130,246,0.20); }
    100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.00); outline-color: transparent; }
  }
}