body {
  font-family: Arial, sans-serif;
  background-color: #0f172a;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
}

.container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  max-width: 900px;
}

.tabs-section {
  width: 220px;
  background: #1e293b;
  padding: 15px;
  border-radius: 10px;
  position: fixed;
  left: 0;
  top: 30px;
  bottom: 30px;
  height: auto;
  z-index: 20;
  border-radius: 10px;
  margin-left: 20px;
}

.task-input-row #taskText {
  width: 30%;
  position: absolute;
  left: -35%;
}

.tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tabs-header input {
  background: #334155;
  border: none;
  padding: 6px 8px;
  color: white;
  border-radius: 6px;
  flex: 1;
  margin-right: 8px;
}

.tabs-header svg {
  width: 22px;
  height: 22px;
  fill: #3b82f6;
  cursor: pointer;
  transition: 0.2s;
}

.tabs-header svg:hover {
  transform: scale(1.1);
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  height: 81.5vh;
}

.tabs {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.tab {
  background: #0f172a;
  padding: 15px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: 0.2s;
}

.tab:hover {
  background: #1e3a8a;
}

.tab.active {
  background: #3b82f6;
}

.tab-name {
  flex: 1;
  text-align: center;
}

.tab svg {
  width: 14px;
  height: 14px;
  fill: #f87171;
  cursor: pointer;
  margin-right: 6px;
  flex-shrink: 0;
}

.tasks-section {
  flex: 1;
  position: absolute;
  right: 10%;
  width: 40%;
}

.task-input {
  display: flex;
  gap: 10px;
  margin-bottom: 50px;
}

input[type="text"],
input[type="datetime-local"] {
  background: #1e293b;
  border: none;
  color: white;
  padding: 10px;
  border-radius: 6px;
  outline: none;
  flex: 1;
}

.add-btn {
  background: #3b82f6;
  border: none;
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.tasks {
  width: 150%;
  margin-left: -35%;
  margin-top: -20px;
}

.task {
  background: #1e293b;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task.completed .task-text {
  text-decoration: line-through;
  opacity: 0.6;
}

.task-info {
  display: flex;
  flex-direction: column;
}

.task small {
  color: #94a3b8;
  font-size: 12px;
}

.right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.delete-btn {
  background: transparent;
  border: none;
  color: #f87171;
  font-size: 18px;
  cursor: pointer;
}

.hambergur {
  cursor: pointer;
  display: none;
}

#tabs-section {
  transform: translateX(0px);
}

@media (max-width: 973px) {
  #tabs-section {
    transition: transform 0.5s ease;
    transform: translateX(-300px);
  }

  .tasks-section {
    width: 90%;
    position: absolute;
    right: 5%;
  }

  .hambergur {
    display: block;
    width: 30px;
    height: 30px;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 30;
  }

  .task-input-row #taskText {
    width: 47%;
    position: absolute;
    left: -5%;
  }

  #taskDate {
    width: 50%;
    position: absolute;
    right: -5%;
  }

  .add-btn {
    width: 7%;
    position: absolute;
    left: 45%;
  }

  .tasks {
    width: 98.2%;
    margin-left: -20px;
    margin-top: 50px;
  }
}

@media (max-width: 805px) {
  .hambergur {
    margin-top: 12px;
  }
  .task-input {
    display: block !important;
  }
  .task-input #taskDate {
    display: block !important;
    width: 76%;
    margin-right: 15%;
    margin-top: 10% !important;
  }

  .task-input-row #taskText {
    display: block !important;
    width: 65%;
    margin-left: 15%;
  }
  .task-input-row {
    width: 100%;
  }
  .task-input .add-btn {
    width: 10% !important;
    display: block !important;
    margin-left: 35% !important;
  }

  .tasks {
    width: 80%;
    margin-left: 10%;
    margin-top: 20% !important;
  }

  .hambergur {
    width: 30px;
    height: 30px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 30;
  }
}

@media (max-width: 472px) {
  .tasks {
    width: 80%;
    margin-left: 10%;
    margin-top: 25% !important;
  }
}

@media (max-width: 403px) {
  .task-input #taskDate {
    margin-top: 12% !important;
  }
  .task-input .add-btn {
    width: 12% !important;
    margin-left: 37% !important;
  }
}
