@import "theme-editor.css";
@import url('./main-layout.css');
@import url('./views/archiv-view.css');

html {
  --lumo-shade-5pct: rgba(33, 33, 33, 0.05);
  --lumo-shade-10pct: rgba(33, 33, 33, 0.1);
  --lumo-shade-20pct: rgba(33, 33, 33, 0.2);
  --lumo-shade-30pct: rgba(33, 33, 33, 0.3);
  --lumo-shade-40pct: rgba(33, 33, 33, 0.4);
  --lumo-shade-50pct: rgba(33, 33, 33, 0.5);
  --lumo-shade-60pct: rgba(33, 33, 33, 0.6);
  --lumo-shade-70pct: rgba(33, 33, 33, 0.7);
  --lumo-shade-80pct: rgba(33, 33, 33, 0.8);
  --lumo-shade-90pct: rgba(33, 33, 33, 0.9);
  --lumo-primary-color-50pct: rgba(235, 89, 5, 0.5);
  --lumo-primary-color-10pct: rgba(235, 89, 5, 0.1);
  /* --lumo-secondary-text-color: rgba(0, 0, 0, 0.9); */
  --lumo-error-color-50pct: rgba(231, 24, 24, 0.5);
  --lumo-error-color-10pct: rgba(231, 24, 24, 0.1);
  --lumo-success-color-50pct: rgba(62, 229, 170, 0.5);
  --lumo-success-color-10pct: rgba(62, 229, 170, 0.1);
  --lumo-shade: hsl(0, 0%, 13%);
  --lumo-primary-color: hsl(163.08deg 100% 15.29%);
  --lumo-primary-text-color: hsl(163.08deg 100% 15.29%);
  --lumo-error-color: hsl(0, 81%, 50%);
  --lumo-error-text-color: hsl(0, 86%, 45%);
  --lumo-success-color: hsl(163.08deg 100% 15.29%);
  --lumo-success-contrast-color: hsl(0, 0%, 100%);
  --lumo-success-text-color: hsl(159, 61%, 40%);

}

:host(.my-grid) [part~="cell"] ::slotted(vaadin-grid-cell-content) {
  display: block;
  min-width: 100px;
  /* Adjust as necessary */
  width: auto;
}

.router-link-active {
  background-color: var(--lumo-primary-color-10pct);
  color: var(--lumo-primary-text-color);
  border-radius: var(--lumo-border-radius);
}



.today {
  background-color: lightgreen;
}

.never {
  background-color: lightgray;
}

.less-than-week {
  background-color: lightyellow;
}

.less-than-month {
  background-color: lightorange;
}

.more-than-month {
  background-color: lightcoral;
}