.user-card {
  transition: all 0.3s;
  cursor: pointer;
}

.user-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.user-card.selected {
  border-color: var(--bs-primary);
  border-width: 2px;
}

#userInfo {
  transition: all 0.3s ease;
}

#userInfo .card {
  border-left: 4px solid var(--bs-primary);
}

.input-group .form-select {
  flex: 2;
}

.input-group .btn {
  flex: 0 0 auto;
}

.task-completed {
  text-decoration: line-through;
  color: #6c757d;
}

.task-actions {
  display: flex;
  gap: 5px;
}

.submit-all-container {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #dee2e6;
}

/* Weekly Tasks Calendar View */
.calendar-view {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.calendar-day {
  flex: 1;
  min-width: 14%;
  padding: 0.5rem;
  border: 1px solid #eee;
  box-sizing: border-box;
}

.day-header {
  text-align: center;
  font-weight: bold;
  padding: 0.5rem;
  background-color: #f8f9fa;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0.5rem;
}

.current-day .day-header {
  background-color: #0d6efd;
  color: white;
}

.calendar-task {
  background-color: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.calendar-task:hover {
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.calendar-task.completed {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  text-decoration: line-through;
  color: #6c757d;
}

.calendar-task .task-content {
  display: flex;
  align-items: flex-start;
}

.calendar-task .task-content input {
  margin-top: 0.25rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.calendar-task .task-actions {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.view-toggle-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.view-toggle-btn {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  margin-left: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.view-toggle-btn.active {
  background-color: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

/* Responsive calendar */
@media (max-width: 768px) {
  .calendar-view {
    flex-direction: column;
  }
  
  .calendar-day {
    width: 100%;
    margin-bottom: 1rem;
  }
} 