/*
 *= require_self
*/
.dashboard-columns {
  display: flex;
  gap: 1.5rem;
}

.dashboard-column {
  flex: 1;
}

.habits-column, .todos-column, .daily-tasks-column {
  flex: 1;
}

.calendar-column {
  flex: 1;
  width: 100%;
}

.section-container {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background-color: #f9f9f9;
  overflow: hidden;
}

.section-container h2 {
  margin-top: 0;
  font-size: 1.4em;
  color: #333;
}

ul {
  list-style: none;
  padding: 0;
}

.task-item {
  display: flex;
  align-items: flex-start;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #fff;
}

.daily-task-item {
  display: flex;
  align-items: flex-start;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #fff;
}
.todo-item {
  display: flex;
  align-items: flex-start;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #fff;
}

.task-checkbox {
  width: 20px;
  height: 20px;
  transform: scale(1.5);
  cursor: pointer;
  margin-right: 15px;
  margin-top: 5px;
}
.daily-task-checkbox {
  width: 20px;
  height: 20px;
  transform: scale(1.5);
  cursor: pointer;
  margin-right: 15px;
  margin-top: 5px;
}
.todo-checkbox {
  width: 20px;
  height: 20px;
  transform: scale(1.5);
  cursor: pointer;
  margin-right: 15px;
  margin-top: 5px;
}

.task-content {
  flex-grow: 1;
}

.task-content strong {
  font-size: 1.1em;
  color: #333;
}

.calendar-iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.calendar-column .section-container {
  padding: 0;
  overflow: hidden;
}

.calendar-column .section-container iframe, .calendar-column .section-container table {
  width: 100%;
  height: auto;
}

#calendar {
  width: 100%;
  overflow: hidden;
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  left: 50%; /* Center horizontally */
  top: 20%; /* Center vertically */
  width: 500px; /* Modal width */
  transform: translate(-50%, -50%); /* Adjust for the modal size (moves it up and left by 50% of its size) */
  background-color: white; /* Background for the modal itself */
  padding: 20px; /* Add padding */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow for visual effect */
  border-radius: 10px; /* Optional rounded corners */
  max-height: 90vh; /* To prevent it from being too tall */
  overflow-y: auto; /* Allow scrolling if content is too long */
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  border-radius: 10px;
}

/* Close Button */
.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.filter-buttons {
  margin-top: 10px;
}

.filter-buttons button {
  margin-right: 10px;
  padding: 5px 10px;
  cursor: pointer;
}

#project-filter {
  margin-bottom: 10px;
  width: 100%;
}
