.progress-bar {
    height: 100px; /* set the height of the progress bar */
    width: 25px; /* set the width of the progress bar */
    background-color: var(--ui-light-gray);
    border-radius: 10px; /* make the corners rounded */
    position: relative;
    margin-top: 2px;
    margin-bottom: 2px;
    overflow: hidden;
}

.progress {
    height: 0;
    width: 100%;
    /* background-color: #fdb15e; */
    border-radius: 0 0 10px 10px;
    position: absolute;
    bottom: 0;
    transition: height 1s;
}

.progress-bar[data-progress-color="overtime"] .progress {
    background-color: var(--status-overtime);
}

.progress-bar[data-progress-color="insufficient"] .progress {
    background-color: var(--status-insufficient);
}

.progress-bar[data-progress-color="sufficient"] .progress {
    background-color: var(--status-success);
}

.progress-bar[data-progress="off"] {
    opacity: 0.3;
}

.text {
    color: #808080;
    font-size: 10px;
    font-weight: bold;
}

.weekend-log {
    cursor: pointer;
    display: flex;
}

.weekend-log.open svg{
    transform: rotate(180deg);
}.calendar-navigate.next,
.calendar-navigate.prev {
    background-color: rgba(59, 59, 59, 0.04);
    position: absolute;
    z-index: 2;
    top: 0;
    &:hover {
        background-color: rgba(59, 59, 59, 0.1);
    }
}

.calendar-navigate.next {
    right: 0;
}

.calendar-navigate.prev {
    left: 0;
}

.calendar_wrapper {
    justify-content: space-around;
    position: relative;
}

button[aria-colindex="6"],
button[aria-colindex="7"] {
    background-color: lightgray;
    opacity: 0.7;
    border-radius: 0;
}

button[aria-colindex="6"] + span,
button[aria-colindex="7"] + span {
    display: none;
}

.MuiDateCalendar-root .MuiPickersCalendarHeader-root {
    margin: 0;
    justify-content: center;
}
.MuiDateCalendar-root .MuiPickersCalendarHeader-label {
    font-size: 0.85rem;
}
.MuiDateCalendar-root
    .MuiPickersSlideTransition-root.MuiDayCalendar-slideTransition {
    min-height: 158px;
}

.MuiDateCalendar-root .MuiDayCalendar-weekDayLabel {
    width: 1.5rem;
    height: 1.5rem;
}
.MuiDateCalendar-root .MuiSvgIcon-root.MuiSvgIcon-fontSizeMedium,
.MuiDateCalendar-root .MuiBadge-badge svg {
    font-size: 1.8rem;
    margin-top: 1rem;
    margin-right: 1.25rem;
}

@media (max-width: 1440px) {
    .MuiDateCalendar-root .MuiPickersCalendarHeader-root {
        min-height: auto;
    }
    .MuiDateCalendar-root .MuiDayCalendar-weekDayLabel {
        font-size: 10px;
        height: auto;
    }
}
table.year-table {
    border-collapse: collapse;
    white-space: nowrap;
}

.weekdayName {
    font-size: 12px;
}

.firstCol {
    position: sticky;
    left: 4rem;
    background: var(--table-weekend-bg);
    border-right: 1px solid lightgrey;
}

table.year-table th {
    white-space: nowrap;
    border: 1px solid lightgrey;
    text-align: center;
    max-width: 25px;
    min-width: 25px;
}

table.year-table thead tr:first-child th:first-child{
    font-size: 18px;
}

table.year-table tr td{
    border: 1px solid lightgrey;
    text-align: center;
}

table.year-table tr td:first-child{
    font-weight: bold;
    text-align: left;
}

[data-weekday="0"],[data-weekday="6"]  {
  background-color: var(--table-weekend-bg);
}

[data-holiday="true"]{
    background-color: var(--holiday-approved);
}


[data-pending="true"]{
    background-color: var(--holiday-pending);
}

[data-natholiday="true"]{
    background-color: var(--holiday-national);
}:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;

    /* Theme colors - CSS custom properties */
    /* Sidebar colors */
    --sidebar-icon: #8a9397;
    --sidebar-icon-active: #e8eced;

    /* Status colors */
    --status-success: #4caf50;
    --status-overtime: #D32F2F;
    --status-insufficient: #fdb15e;
    --status-neutral: #bbb;

    /* UI colors */
    --ui-gray: #ccc;
    --ui-light-gray: #ddd;

    /* Home office colors */
    --home-office-bg: #91c993;
    --home-office-icon: #509452;

    /* Holiday colors for tables */
    --holiday-approved: #ddf5d7;
    --holiday-pending: #b6d9fd;
    --holiday-national: #feebaa;

    /* Table colors */
    --table-weekend-bg: #e6e6e6;
}

.MuiListItemIcon-root {
    color: var(--sidebar-icon) !important;
}

.theSidebarText .MuiTypography-root {
    color: var(--sidebar-icon) !important;
}

.theSidebarSubItemText .MuiTypography-root {
    color: var(--sidebar-icon) !important;
}

.active .MuiListItemIcon-root {
    color: var(--sidebar-icon-active) !important;
}

.active .theSidebarText .MuiTypography-root {
    color: var(--sidebar-icon-active) !important;
}

.active .theSidebarSubItemText .MuiTypography-root {
    color: var(--sidebar-icon-active) !important;
}
* {
    margin: 0;
    padding: 0;
}

/* Set font size and family for the body */
body {
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.text-lg {
    font-size: 2rem;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style paragraphs */
p {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* Style headings */
h1,
h2,
h3 {
    font-weight: bold;
    margin: 0;
    padding: 0;
}

/* Style links */
a {
    color: blue;
    text-decoration: none;
}

/* Style buttons */
button {
    border: none;
    background-color: var(--ui-gray);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.MuiBackdrop-root.MuiModal-backdrop.css-yiavyu-MuiBackdrop-root-MuiDialog-backdrop { 
    background-color: transparent;
}

.dot {
    height: 20px;
    width: 20px;
    margin-right: 0.3rem;
    background-color: var(--status-neutral);
    border-radius: 50%;
    display: inline-block;
  }

.dot.success {
    background-color: var(--status-success);
}

.dot.overtime {
    background-color: var(--status-overtime);
}

.dot.insufficient {
    background-color: var(--status-insufficient);
}

.dot.holiday {
    background-color: transparent;
}

.dot.nat_holiday {
    background-color: transparent;
}

.dot.holiday svg {
    width: 20px;
    height: 20px;
    color: var(--status-neutral);
}

.dot.nat_holiday img {
    width: 22px;
    height: 22px;
    color: var(--status-neutral);
}

ul.clients_list {
    list-style-type: none;
    width: 100%;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: bold;
    color: gray;
}

ul.clients_list li{
    display: flex;
    justify-content: space-between;
    background: var(--ui-light-gray);
    margin-bottom: 0.5rem;
    border-radius: 1rem;
    padding: 0.3rem 1.5rem;
}

.focal_point_selector img {
    width: 100%;
    height: auto;
}

.red-spot {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: red;
    border: 5px solid white;
    border-radius: 50%;
    pointer-events: none; /* Prevent the spot from interfering with clicks */
}

.fab button{
    background-color: lightgrey;
    height: 40px;
    width: 40px;
}

.fab svg {
    fill: black;
}

.fab.home_active button{
    background-color: var(--home-office-bg);
}

.fab.home_active svg{
    fill: var(--home-office-icon);
}@media only screen and (max-width: 600px) {
    .welcome_banner div{
        font-size: 1rem;
    }

    div.location_name {
        font-size: 1rem;
    }

    .datepicker_field input{
        width: fit-content;
    }

    .datepicker_mobile {
        background-color: red;
    }
}