/* Weekly Tasks Styles */
.weekly-actions {
  display: flex;
  gap: 0.5rem;
}

.weekly-container {
  background: white;
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.weekly-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.weekly-table thead {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.weekly-table th {
  padding: 1rem;
  text-align: left;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.weekly-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.weekly-table tbody tr:hover {
  background: var(--bg-dark);
}

.weekly-table tbody tr.star-row {
  background: var(--accent-light);
  font-weight: 700;
}

.weekly-table td {
  padding: 1rem;
  border: 1px solid var(--border);
  text-align: center;
}

.weekly-table tbody tr:first-child td {
  font-weight: 600;
  text-align: left;
  color: var(--primary);
}

.weekly-table .task-name {
  text-align: left;
  font-weight: 500;
}

.weekly-table input[type="checkbox"] {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.weekly-table .star-cell {
  font-size: 1.25rem;
}

.weekly-star {
  color: var(--warning);
  font-weight: bold;
}

.weekly-info {
  background: var(--bg-dark);
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Day Headers */
.day-header {
  font-weight: 700;
  color: var(--primary);
  writing-mode: horizontal-tb;
}

/* Responsive */
@media (max-width: 768px) {
  .weekly-table {
    font-size: 0.85rem;
  }

  .weekly-table th,
  .weekly-table td {
    padding: 0.75rem 0.5rem;
  }

  .weekly-table th {
    font-size: 0.75rem;
  }

  .weekly-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  .day-header {
    font-size: 0.8rem;
  }
}
