.form {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

.form input, .form select {
  padding: 6px;
  font-size: 14px;
}

.form button {
  padding: 6px 12px;
  cursor: pointer;
}

.calendar {
  background: #fff;
  padding: 10px;
  border-radius: 6px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 10px;
}

.day {
  border: 1px solid #ccc;
  min-height: 60px;
  padding: 4px;
  font-size: 12px;
  cursor: pointer;
  position: relative;
}

.day .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  bottom: 4px;
  right: 4px;
}

.dot.baja { background: green; }
.dot.media { background: orange; }
.dot.alta { background: red; }


.task-preview {
  display: flex;
  align-items: center;
  font-size: 11px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-preview span {
  margin-left: 4px;
}

.task-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.task-dot.baja { background: green; }
.task-dot.media { background: orange; }
.task-dot.alta { background: red; }
