/* General Layout */
#lad-dashboard {
  display: flex;
  flex-direction: column;
  height: 100vh;
  font-family: Arial, sans-serif;
}

/* Header */
.lad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(135deg, #f9f9f9, #f0f0f0);
  border-bottom: 1px solid #ddd;
}

/* Filters (dropdowns + search) */
.lad-filters {
  display: flex;
  gap: 10px;
}
.lad-filters select,
.lad-filters input {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Tabs */
.lad-tabs {
  display: flex;
  gap: 8px;
}
.lad-tabs button {
  padding: 6px 12px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 6px;
}
.lad-tabs button:hover {
  background: #ddd;
}
#lad-add-task {
  background: #4CAF50;
  color: white;
  font-size: 18px;
  padding: 4px 12px;
}

/* Views */
.lad-view {
  flex: 1;
  overflow: auto;
  padding: 10px;
}

/* Calendar */
.lad-calendar {
  width: 100%;
  height: 100%;
}
.lad-calendar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.lad-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
}
#lad-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 6px;
}
.lad-date {
  border: 1px solid #ddd;
  padding: 6px;
  min-height: 60px;
  border-radius: 8px;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  position: relative;
  cursor: pointer;
}
.lad-date.today {
  background: #ffe082 !important;
}
.lad-date:hover {
  background: #f0f0f0;
}

/* List */
#lad-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lad-list-item {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.lad-list-item.today {
  background: #ffe082;
}

/* Cards */
.lad-cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.lad-card {
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.lad-card.today {
  background: #ffe082;
}

/* Task status colors */
.lad-status-pending { background: #fff9c4; }
.lad-status-inprogress { background: #bbdefb; }
.lad-status-completed { background: #c8e6c9; }
.lad-status-cancelled { background: #eeeeee; }

/* Clock */
.lad-clock-container {
  position: absolute;
  top: 10px;
  right: 10px;
}
.lad-clock-module {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#lad-digital-timer {
  font-size: 16px;
  margin-top: 6px;
}

/* Modal */
#lad-task-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}
.lad-modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lad-modal-content button {
  padding: 8px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
#lad-save-task { background: #4CAF50; color: white; }
#lad-close-modal { background: #f44336; color: white; }
