{"version":3,"file":"Day.module.mjs","names":[],"sources":["../../../src/components/Day/Day.module.css"],"sourcesContent":[".day {\n  --day-size-xs: 30px;\n  --day-size-sm: 36px;\n  --day-size-md: 42px;\n  --day-size-lg: 48px;\n  --day-size-xl: 54px;\n  --day-size: var(--day-size-sm);\n\n  width: var(--day-size, var(--day-size-sm));\n  height: var(--day-size, var(--day-size-sm));\n  font-size: calc(var(--day-size) / 2.8);\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  user-select: none;\n  cursor: pointer;\n  background-color: transparent;\n  border-radius: var(--mantine-radius-default);\n  color: var(--mantine-color-text);\n  opacity: 1;\n\n  @mixin hover {\n    &:where(:not([data-static], [data-disabled], [data-selected], [data-in-range])) {\n      @mixin light {\n        background-color: var(--mantine-color-gray-0);\n      }\n\n      @mixin dark {\n        background-color: var(--mantine-color-dark-5);\n      }\n    }\n  }\n\n  &:where([data-static]) {\n    user-select: auto;\n    cursor: default;\n  }\n\n  &:where([data-weekend]) {\n    color: var(--mantine-color-red-6);\n  }\n\n  &:where([data-outside]) {\n    color: var(--mantine-color-dimmed);\n    opacity: 0.5;\n  }\n\n  &:where(:disabled, [data-disabled]) {\n    color: var(--mantine-color-disabled-color);\n    cursor: not-allowed;\n    opacity: 0.5;\n  }\n\n  &:where([data-hidden]) {\n    display: none;\n  }\n\n  &:where([data-today][data-highlight-today]:not([data-selected], [data-in-range])) {\n    @mixin where-light {\n      border: 1px solid var(--mantine-color-gray-4);\n    }\n\n    @mixin where-dark {\n      border: 1px solid var(--mantine-color-dark-4);\n    }\n  }\n\n  &:where([data-in-range]) {\n    background-color: var(--mantine-primary-color-light);\n    border-radius: 0;\n\n    @mixin hover {\n      &:where(:not([data-disabled], [data-static])) {\n        background-color: var(--mantine-primary-color-light);\n      }\n    }\n  }\n\n  &:where([data-first-in-range]) {\n    border-radius: 0;\n    border-start-start-radius: var(--mantine-radius-default);\n    border-end-start-radius: var(--mantine-radius-default);\n  }\n\n  &:where([data-last-in-range]) {\n    border-radius: 0;\n    border-end-end-radius: var(--mantine-radius-default);\n    border-start-end-radius: var(--mantine-radius-default);\n  }\n\n  &:where([data-last-in-range][data-first-in-range]) {\n    border-radius: var(--mantine-radius-default);\n  }\n\n  &:where([data-full-width]) {\n    width: 100%;\n    height: auto;\n    min-height: var(--day-size);\n    aspect-ratio: 1;\n  }\n\n  &:where([data-selected]) {\n    background-color: var(--mantine-primary-color-filled);\n    color: var(--mantine-primary-color-contrast);\n\n    @mixin hover {\n      &:where(:not([data-disabled], [data-static])) {\n        background-color: var(--mantine-primary-color-filled-hover);\n      }\n    }\n  }\n}\n"],"mappings":""}