.timer-details {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 9px;
  color: #7786a0;
  font-size: 12px;
}

.timer-details span {
  white-space: nowrap;
}

.timer-details b {
  color: #4e66d9;
}

.timer-action {
  border: 1px solid #d8dff4;
  background: #f4f6ff;
  color: #5874ed;
  border-radius: 7px;
  padding: 6px 9px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.timer-action.pause {
  background: #fff7ed;
  border-color: #ffe0bd;
  color: #d6822e;
}

.timer-action.finished {
  cursor: default;
  background: #f3f5f8;
  border-color: #e5e9ef;
  color: #98a4b5;
}

.phase-chip {
  display: inline-block;
  margin-left: 6px;
  border-radius: 6px;
  padding: 4px 7px;
  color: #6d7b96;
  background: #f1f4f9;
  font-size: 11px;
  font-weight: 700;
}

.custom-input {
  display: none;
}

.custom-input.visible {
  display: block;
}

.filter-result {
  min-height: 19px;
  margin: -4px 0 12px;
  color: #7d8aa1;
  font-size: 13px;
}

.filter-result b {
  color: #5874ed;
}

.empty-query {
  margin: 0;
  border: 1px dashed #d9e0ee;
  border-radius: 8px;
  background: #f8faff;
  color: #66748d;
  padding: 18px;
  text-align: center;
}

.filter-select {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7b889e;
  font-size: 12px;
  white-space: nowrap;
}

.filter-select select {
  width: auto;
  min-width: 96px;
  height: 35px;
  margin: 0;
}

.filter-apply {
  border: 0;
  border-radius: 7px;
  padding: 9px 13px;
  background: #5874ed;
  color: #fff;
  box-shadow: 0 3px 8px #697ded44;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.holiday-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.holiday-toolbar label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #6f7d94;
  font-size: 13px;
}

.holiday-toolbar select {
  width: auto;
  min-width: 180px;
  margin: 0;
}

.holiday-notice {
  flex-basis: 100%;
  margin: -3px 0 0;
  color: #d6822e;
  font-size: 12px;
}

.holiday-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border-top: 1px solid #edf0f5;
  padding-top: 15px;
}

.holiday-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e7ecf5;
  border-radius: 8px;
  padding: 10px;
  color: #53617a;
  font-size: 13px;
}

.holiday-item div {
  flex: 1;
}

.holiday-item b {
  display: block;
  margin-bottom: 3px;
}

.holiday-item span {
  color: #8290a7;
  font-size: 12px;
}

.holiday-item button {
  border: 0;
  border-radius: 6px;
  padding: 6px 8px;
  color: #64728a;
  background: #f2f5fa;
  cursor: pointer;
  font-size: 12px;
}

.holiday-item .danger {
  color: #d35c5c;
  background: #fff0f0;
}

.form-error {
  min-height: 18px;
  margin: 12px 0 0;
  color: #d35c5c;
  font-size: 12px;
}

.date-switch {
  display: flex;
  align-items: center;
  gap: 15px;
}

.date-switch label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #7c899f;
  font-size: 12px;
  font-weight: 600;
}

.date-switch input {
  width: 144px;
  margin: 0;
  padding: 7px 8px;
  font-size: 12px;
}

.calendar-day {
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}

.calendar-day:not(.empty):hover {
  border-color: #98a9fa;
  background: #f2f5ff;
  transform: translateY(-1px);
}

.calendar-day.selected {
  color: #fff;
  border-color: #5874ed;
  background: #5874ed;
}

.calendar-day.selected .dots i {
  background: #fff;
}

.calendar-tasks {
  border-top: 1px solid #edf0f5;
  margin-top: 22px;
  padding-top: 20px;
}

.calendar-tasks h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.calendar-task-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f2f6;
  color: #53617a;
  font-size: 13px;
}

.calendar-task-item:last-child {
  border-bottom: 0;
}

.calendar-task-item.done {
  color: #9ba5b7;
  text-decoration: line-through;
}

.calendar-task-item span:nth-child(3) {
  flex: 1;
}

.calendar-task-item b {
  color: #6b7892;
  font-size: 12px;
  font-weight: 700;
}

.calendar-task-item.done b {
  color: #53be90;
}

.calendar-empty {
  margin: 0;
  color: #8a96aa;
  font-size: 13px;
}

@media (max-width: 620px) {
  .section-heading {
    align-items: flex-start;
  }

  .date-switch {
    align-items: flex-end;
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 620px) {
  .filter-select {
    flex: 1;
  }

  .filter-select select {
    flex: 1;
  }
}

.logout-button {
  border: 1px solid #e1e6f0;
  color: #718098;
  background: #fff;
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 620px) {
  .task-row {
    flex-wrap: wrap;
  }

  .task-row .task-info {
    min-width: calc(100% - 38px);
  }

  .timer-action {
    margin-left: 31px;
  }
}
