:root {
  /* Backgrounds */
  --color-bg-main: #F7F4EF;
  --color-bg-surface: #FFFFFF;
  --color-bg-subtle: #EEE9E1;

  /* Typography */
  --color-txt-primary: #1C1A17;
  --color-txt-secondary: #6B6560;
  --color-txt-placeholder: #A8A19A;
  --color-txt-inverse: #F7F4EF;

  /* Brand */
  --color-primary: #2D6A4F;
  --color-primary-hover: #245C43;
  --color-secondary: #cae4d565;

  /* Accent */
  --color-accent: #C8853A;
  --color-accent-light: #fff2df60;

  /* Borders */
  --color-border: #DDD8D0;
  --color-border-strong: #B8B2AA;

  /* Status */
  --color-success: #3A7D5C;
  --color-success-light: #D4EDE2;
  --color-warning: #C47A1E;
  --color-warning-light: #FBE9CE;
  --color-error: #B84040;
  --color-error-light: #F5D5D5;
  --color-info: #2E6B9E;
  --color-info-light: #d9e9f559;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg-main);
  color: var(--color-txt-primary);
  font-family: 'Nunito', Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

.flatpickr-calendar {
  position: absolute !important;
  width: 308px !important;
  display: flex !important;
  flex-direction: column !important;
}


.flatpickr-rContainer {
  display: flex !important;
  flex-direction: column !important;
  width: 294px !important;
}

#locationFilterDialog .flatpickr-calendar button {
  all: unset;
  cursor: pointer;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  -webkit-appearance: none;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 7px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  display: inline-block;
  &:hover {
    border-color: var(--color-border-strong);
  }
  &:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }
  &::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    transform: translateY(-50%);
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
  }
  &:checked::after {
    transform: rotate(45deg) scale(1);
  }
}