body {
  background-color: #f8f9fa;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  /* letter-spacing: 1px; */
}

/*Dark Mode*/
body.dark-theme,
body.dark-theme .main-navbar {
  background-color: #1a1a1a;
  color: #f8f9fa;
}

body.dark-theme .task-tab {
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
  border: 1px solid #444;
}

body.dark-theme .modal-content {
  background-color: #2b2b2b;
  color: #f8f9fa;
}

body.dark-theme .modal-header,
body.dark-theme .modal-footer {
  border-color: #444;
}

body.dark-theme .feedback-link {
  /* background-color: #1a1a1a; */
  transition: 0s;
}

.header-img {
  width: 4rem;
  max-width: 100%;
}

.main-navbar {}

.task-tab {
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.task-tab.bg-high {
  background-color: #f8d7da;
  color: #721c24;
}

.task-tab.bg-medium {
  background-color: #fff3cd;
  color: #856404;
}

.task-tab.bg-low {
  background-color: #d4edda;
  color: #155724;
}

textarea {
  resize: none;
}

.modal-header {
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}

.checkbox-large {
  width: 20px;
  height: 20px;
}

.feedback-link {
  position: fixed;
  display: block;
  width: 100%;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #111;
  text-align: center;
}

.feedback-link a,
.feedback-link a:hover,
.feedback-link a:active {
  color: #eee;
}

#noTasksMessage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.7);
  text-align: center;
  opacity: 0.9;
}

body.dark-theme #noTasksMessage {
  color: rgba(255, 255, 255, 0.7);
}

/* Completed task styling */
.task-tab.completed {
  position: relative;
  opacity: 0.7;
}

.task-tab.completed::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: currentColor;
  transform: translateY(-50%);
  opacity: 0.7;
}

.task-tab.completed.bg-high::after {
  background-color: #721c24;
}

.task-tab.completed.bg-medium::after {
  background-color: #856404;
}

.task-tab.completed.bg-low::after {
  background-color: #155724;
}

/* Disabled view button */
.btn.view-task:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Dark mode disabled button */
body.dark-theme .btn.view-task:disabled {
  background-color: #6c757d;
  border-color: #6c757d;
}

/* Add these to your style.css */
.task-tab {
  transition: all 0.3s ease;
}

.task-tab.moving-down {
  transform: translateY(100%);
  opacity: 0;
}

.task-tab.moving-up {
  transform: translateY(-100%);
  opacity: 0;
}

.task-tab.completed {
  position: relative;
  opacity: 0.7;
}

.task-tab.completed::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: currentColor;
  transform: translateY(-50%);
  opacity: 0.7;
}

/* Priority-specific strikethrough colors */
.task-tab.completed.bg-high::after {
  background-color: #721c24;
}

.task-tab.completed.bg-medium::after {
  background-color: #856404;
}

.task-tab.completed.bg-low::after {
  background-color: #155724;
}