.tm-page-container,
.tm-page-container-wide {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.tm-page-container {
    max-width: 1280px;
}

.tm-page-container-wide {
    max-width: 1440px;
}

.tm-top-nav.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(223, 234, 242, 0.95) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 30px rgba(31, 45, 61, 0.08) !important;
    margin: 0.75rem auto 1rem !important;
    max-width: calc(100% - 30px);
    padding: 0.55rem 0 !important;
}

.tm-top-nav .container {
    align-items: center;
    gap: 0.75rem;
    max-width: 1440px;
    width: 100%;
}

.tm-top-nav .navbar-brand {
    align-items: center;
    color: #1f2d3d !important;
    display: inline-flex;
    font-family: "Roboto", sans-serif;
    gap: 0.55rem;
    margin-right: 1.25rem;
    padding: 0;
}

.tm-top-nav .navbar-brand h3 {
    color: #1f2d3d;
    font-family: "Roboto", sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
}

.tm-nav-mark {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 34px;
}

.tm-nav-mark__back,
.tm-nav-mark__front {
    position: absolute;
}

.tm-nav-mark__back {
    background: linear-gradient(145deg, #58b7ef 0%, #2f8fc9 72%, #2479ae 100%);
    border-radius: 5px;
    box-shadow: 0 8px 18px rgba(47, 143, 201, 0.24);
    height: 27px;
    left: 2px;
    overflow: hidden;
    top: 3px;
    width: 27px;
}

.tm-nav-mark__back::before,
.tm-nav-mark__back::after {
    border-radius: 50%;
    content: "";
    position: absolute;
}

.tm-nav-mark__back::before {
    background: rgba(255, 255, 255, 0.09);
    height: 18px;
    left: -3px;
    top: 13px;
    width: 34px;
}

.tm-nav-mark__back::after {
    background: rgba(18, 115, 176, 0.14);
    height: 16px;
    left: 6px;
    top: 4px;
    width: 24px;
}

.tm-nav-mark__front {
    align-items: center;
    background: #ffffff;
    border: 1px solid #2f8fc9;
    border-radius: 3px;
    box-shadow:
        0 4px 10px rgba(31, 45, 61, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: #2f8fc9;
    display: inline-flex;
    font-family: "Roboto", sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
    height: 18px;
    justify-content: center;
    left: 17px;
    letter-spacing: -0.08em;
    line-height: 1;
    top: 8px;
    width: 18px;
}

.tm-top-nav .navbar-toggler {
    border: 1px solid #dfeaf2 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    display: none !important;
    flex-direction: column;
    gap: 4px;
    padding: 0.55rem 0.65rem !important;
}

.tm-navbar-toggler-line {
    background: #6f7f8f;
    border-radius: 999px;
    display: block;
    height: 2px;
    width: 18px;
}

.tm-top-nav .navbar-collapse {
    gap: 0.75rem;
}

@media (min-width: 992px) {
    .tm-top-nav .navbar-collapse {
        display: flex !important;
    }
}

.tm-top-nav .navbar-nav {
    align-items: center;
    gap: 0.15rem;
}

.tm-top-nav .nav-link,
.tm-top-nav .dropdown-item {
    color: #6f7f8f !important;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
    font-size: 0.86rem !important;
    font-style: normal !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.25 !important;
    text-transform: none !important;
}

.tm-top-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    padding: 0.48rem 0.72rem !important;
}

.tm-top-nav .nav-link .material-icons {
    font-size: 1rem;
    margin-right: 0;
}

.tm-top-nav .nav-item.active > .nav-link,
.tm-top-nav .nav-link.active,
.tm-top-nav .nav-link:hover {
    background: #edf9ff;
    color: #2f8fc9 !important;
}

.tm-top-nav .dropdown-menu {
    border: 1px solid #dfeaf2;
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(31, 45, 61, 0.12);
    margin-top: 0.6rem;
    overflow: hidden;
    padding: 0.45rem;
}

.tm-top-nav .dropdown-item:hover {
    background: #edf9ff;
    color: #2f8fc9 !important;
}

.tm-top-nav .dropdown-item.active,
.tm-top-nav .dropdown-item:active {
    background: #42a9e8;
    color: #fff !important;
}

.tm-top-nav .dropdown-item {
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
}

.tm-top-nav .dropdown-divider {
    border-top-color: #edf3f7;
    margin: 0.35rem 0;
}

.tm-top-nav .tm-logout-link {
    border: 1px solid #ffd29a;
    color: #f08a00 !important;
}

.tm-top-nav .tm-logout-link:hover {
    background: #fff7ec;
    color: #db7b00 !important;
}

.tm-top-nav .tm-dev-link {
    border: 1px dashed #a9d8f4;
    color: #3f9fdd !important;
    text-transform: none;
}

.tm-icon-button {
    align-items: center;
    display: inline-flex;
    gap: 0.35rem;
}

.tm-icon-button .material-icons {
    font-size: 1rem;
    line-height: 1;
    position: relative;
    top: -1px;
}

@media (max-width: 991.98px) {
    .tm-top-nav .navbar-toggler {
        display: inline-flex !important;
    }

    .tm-top-nav .navbar-collapse {
        border-top: 1px solid #edf3f7;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }

    .tm-top-nav .navbar-nav {
        align-items: stretch;
    }

    .tm-top-nav .nav-link {
        justify-content: flex-start;
        width: 100%;
    }
}

.card {
    border: 1px solid #dfeaf2 !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(31, 45, 61, 0.06) !important;
}

.card .card-header,
.card .card-header.card-header-primary,
.card .card-header.card-header-text,
.card .card-header.card-header-text.card-header-primary {
    background: transparent !important;
    border: 0 !important;
    border-radius: 18px 18px 0 0 !important;
    box-shadow: none !important;
    color: #1f2d3d !important;
    margin: 0 !important;
    padding: 1.35rem 1.35rem 0.25rem !important;
    position: relative;
    width: 100%;
}

.card .card-header .card-title,
.card .card-header.card-header-primary .card-title,
.card .card-header.card-header-text .card-title,
.card .card-header .card-title h1,
.card .card-header .card-title h2,
.card .card-header .card-title h3,
.card .card-header .card-title h4,
.card .card-header .card-title h5 {
    color: #1f2d3d !important;
    font-family: "Roboto", sans-serif;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin: 0 !important;
}

.card .card-header .card-category,
.card .card-header.card-header-primary .card-category,
.card .card-header.card-header-text .card-category {
    color: #6f7f8f !important;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0.15rem 0 0 !important;
    opacity: 1;
}

.card .card-header .btn {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.card .card-header .card-text {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
}

.card .card-header + .card-body {
    padding-top: 1rem;
}

.modal-content {
    border: 1px solid #dfeaf2 !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 42px rgba(31, 45, 61, 0.16) !important;
    overflow: hidden;
}

.modal-header {
    align-items: center;
    background: #ffffff !important;
    border-bottom: 1px solid #dfeaf2 !important;
    padding: 1.1rem 1.35rem !important;
}

.modal-title {
    color: #1f2d3d;
    font-family: "Roboto", sans-serif;
    font-size: 1.08rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.modal-header .close {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dfeaf2;
    border-radius: 999px;
    color: #6f7f8f;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    margin: -0.2rem -0.35rem -0.2rem auto !important;
    opacity: 1;
    padding: 0 !important;
    text-shadow: none;
    width: 32px;
}

.modal-header .close:hover {
    background: #edf9ff;
    border-color: #b8def5;
    color: #2f8fc9;
}

.modal-body {
    background: #ffffff;
    padding: 1.35rem !important;
}

.modal-body .form-group label {
    color: #6f7f8f;
    font-size: 0.82rem;
    font-weight: 700;
}

.modal-body .form-control,
.modal-body .custom-select {
    border: 1px solid #cfdde8;
    border-radius: 10px;
    min-height: 42px;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.modal-footer {
    border-top: 1px solid #edf3f7 !important;
    background: #ffffff;
    gap: 0.5rem;
    justify-content: flex-end;
    padding: 1rem 1.35rem !important;
}

.modal-footer .btn {
    margin: 0 !important;
}

.btn.btn-primary:not(.btn-sm):not(.employee-action-btn),
.btn.btn-info:not(.btn-sm):not(.rounded-circle),
.btn.btn-success:not(.btn-sm):not(.employee-action-btn),
.btn.btn-green:not(.btn-sm) {
    background: #fff !important;
    border: 1px solid #5aaee8 !important;
    color: #3f9fdd !important;
    box-shadow: none !important;
}

.btn.btn-primary:not(.btn-sm):not(.employee-action-btn):hover,
.btn.btn-info:not(.btn-sm):not(.rounded-circle):hover,
.btn.btn-success:not(.btn-sm):not(.employee-action-btn):hover,
.btn.btn-green:not(.btn-sm):hover {
    background: #f1f9ff !important;
    border-color: #3f9fdd !important;
    color: #2f8fc9 !important;
    box-shadow: none !important;
}

.btn.btn-primary:not(.btn-sm):not(.employee-action-btn):focus,
.btn.btn-info:not(.btn-sm):not(.rounded-circle):focus,
.btn.btn-success:not(.btn-sm):not(.employee-action-btn):focus,
.btn.btn-green:not(.btn-sm):focus {
    box-shadow: 0 0 0 0.18rem rgba(90, 174, 232, 0.18) !important;
}

.btn.tm-icon-button:not(.btn-danger):not(.btn-outline-danger) {
    border-radius: 10px !important;
    font-weight: 700;
    min-height: 42px;
    padding: 0.58rem 1rem !important;
    text-transform: uppercase;
}

.btn.tm-icon-button.btn-lg:not(.btn-danger):not(.btn-outline-danger) {
    font-size: 0.875rem;
    line-height: 1.2;
    min-height: 42px;
    padding: 0.58rem 1rem !important;
}

.btn.btn-sm.tm-icon-button {
    border-radius: 8px !important;
    font-size: 0.72rem !important;
    gap: 0.25rem;
    line-height: 1.1;
    min-height: 30px !important;
    padding: 0.34rem 0.55rem !important;
}

.btn.btn-sm.tm-icon-button .material-icons {
    font-size: 0.88rem;
}

.btn.btn-primary.tm-icon-button:not(.btn-danger):not(.employee-action-btn),
.btn.btn-info.tm-icon-button:not(.rounded-circle),
.btn.btn-success.tm-icon-button:not(.employee-action-btn),
.btn.btn-green.tm-icon-button {
    background: #dff3ff !important;
    background-color: #dff3ff !important;
    border: 1px solid #a9d8f4 !important;
    color: #1f7fb8 !important;
    box-shadow: inset 0 -1px 0 rgba(47, 143, 201, 0.12) !important;
}

.btn.btn-primary.tm-icon-button:not(.btn-danger):not(.employee-action-btn):hover,
.btn.btn-info.tm-icon-button:not(.rounded-circle):hover,
.btn.btn-success.tm-icon-button:not(.employee-action-btn):hover,
.btn.btn-green.tm-icon-button:hover {
    background: #cfeeff !important;
    background-color: #cfeeff !important;
    border-color: #82c9f4 !important;
    color: #176d9f !important;
}

.btn.btn-outline-primary.tm-icon-button,
.btn.btn-outline-info.tm-icon-button,
.btn.btn-light.tm-icon-button,
.btn.btn-link.tm-icon-button {
    background: #fff !important;
    background-color: #fff !important;
    border: 1px solid #b8def5 !important;
    color: #2f8fc9 !important;
    text-decoration: none !important;
}

.btn.btn-outline-primary.tm-icon-button:hover,
.btn.btn-outline-info.tm-icon-button:hover,
.btn.btn-light.tm-icon-button:hover,
.btn.btn-link.tm-icon-button:hover {
    background: #f6fbff !important;
    background-color: #f6fbff !important;
    border-color: #8fd0f4 !important;
    color: #247fb4 !important;
}

.btn.btn-secondary.tm-icon-button,
.btn.btn-outline-secondary.tm-icon-button {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    border: 1px solid #d8e0e8 !important;
    color: #64748b !important;
}

.btn.btn-secondary.tm-icon-button:hover,
.btn.btn-outline-secondary.tm-icon-button:hover {
    background: #f1f5f9 !important;
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

.btn.btn-outline-warning.tm-icon-button,
.btn.btn-warning.tm-icon-button {
    background: #fff8ec !important;
    background-color: #fff8ec !important;
    border: 1px solid #f1c27a !important;
    color: #b7791f !important;
}

.btn.btn-outline-warning.tm-icon-button:hover,
.btn.btn-warning.tm-icon-button:hover {
    background: #ffefd4 !important;
    background-color: #ffefd4 !important;
    border-color: #e8ad52 !important;
    color: #975a16 !important;
}

.tm-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tm-month-nav-title {
    margin: 0;
    font-weight: 600;
}

.tm-overview-table-month-title {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: #20324f;
    text-align: right;
}

.tm-month-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tm-month-nav-actions form {
    margin: 0 !important;
}

.tm-month-nav-button-row {
    display: inline-flex !important;
    align-items: center;
    gap: 0;
    box-shadow: none !important;
}

.tm-month-nav-actions .btn {
    margin: 0 !important;
    min-width: 2.4rem;
}

.tm-month-nav-button-row .btn {
    align-items: center;
    background: #fff !important;
    border: 1px solid #a9d8f4 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #3f9fdd !important;
    display: inline-flex;
    font-family: "Roboto", sans-serif;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    height: 36px;
    justify-content: center;
    line-height: 1 !important;
    padding: 0.45rem 0.85rem !important;
    text-decoration: none !important;
    text-transform: uppercase;
}

.tm-month-nav-button-row .btn:first-child {
    border-bottom-left-radius: 4px !important;
    border-top-left-radius: 4px !important;
}

.tm-month-nav-button-row .btn:last-child {
    border-bottom-right-radius: 4px !important;
    border-top-right-radius: 4px !important;
}

.tm-month-nav-button-row .btn:first-child,
.tm-month-nav-button-row .btn:last-child {
    font-size: 1.05rem !important;
    padding-left: 0.72rem !important;
    padding-right: 0.72rem !important;
}

.tm-month-nav-button-row .btn:hover,
.tm-month-nav-button-row .btn:focus {
    background: #eaf7ff !important;
    border-color: #5aaee8 !important;
    color: #247fb4 !important;
    text-decoration: none !important;
}

.tm-month-nav-button-row .btn:focus {
    box-shadow: 0 0 0 0.18rem rgba(90, 174, 232, 0.18) !important;
}

.tm-month-nav-button-row .btn:disabled,
.tm-month-nav-button-row .btn.disabled {
    background: #f8fafc !important;
    border-color: #d9e4ec !important;
    color: #a8b6c3 !important;
    opacity: 1 !important;
}

.calendar .months-container .month-container {
    height: 285px;
    margin-bottom: 22px;
}

.calendar .months-container .month-container table.month {
    height: 278px !important;
}

.home-calendar-shell,
.daysoff-calendar-shell,
.holiday-calendar-shell {
    position: relative;
    min-height: 220px;
}

.home-calendar-shell.is-loading #calendar,
.daysoff-calendar-shell.is-loading #calendar,
.holiday-calendar-shell.is-loading #calendar {
    visibility: hidden;
}

.home-calendar-loader,
.daysoff-calendar-loader,
.holiday-calendar-loader {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    z-index: 2;
}

.home-calendar-shell.is-loading .home-calendar-loader,
.daysoff-calendar-shell.is-loading .daysoff-calendar-loader,
.holiday-calendar-shell.is-loading .holiday-calendar-loader {
    display: flex;
}

.home-calendar-spinner,
.daysoff-calendar-spinner,
.holiday-calendar-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid #dfe3e8;
    border-top-color: #17a2b8;
    border-radius: 50%;
    animation: tm-calendar-spin 0.8s linear infinite;
}

@keyframes tm-calendar-spin {
    to {
        transform: rotate(360deg);
    }
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.legend li {
    align-items: center;
    color: #3f4d5a;
    display: inline-flex;
    font-size: 0.86rem;
    line-height: 1.2;
    margin: 0;
}

.legend span {
    border: 1px solid rgba(31, 45, 61, 0.18);
    border-radius: 3px;
    display: inline-block;
    flex: 0 0 auto;
    height: 12px;
    margin-right: 0.35rem;
    width: 12px;
}

.daysoff-overview-hint {
    color: #6b7785;
}

.daysoff-overview-calendar-wrap {
    border: 1px solid #e4e9f0;
    border-radius: 16px;
    overflow-x: auto;
}

.daysoff-overview-calendar {
    background: #fff;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 820px;
    width: 100%;
}

.daysoff-overview-calendar th,
.daysoff-overview-calendar td {
    border-bottom: 1px solid #edf1f5;
    border-right: 1px solid #edf1f5;
    height: 46px;
    min-width: 34px;
    padding: 0.3rem 0.15rem;
    text-align: center;
}

.daysoff-overview-calendar thead th {
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 2;
}

.daysoff-overview-calendar .employee-col {
    background: #fff;
    left: 0;
    max-width: 132px;
    min-width: 132px;
    overflow: hidden;
    padding-left: 0.6rem;
    position: sticky;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 3;
}

.daysoff-overview-calendar thead .employee-col {
    background: #f8fafc;
    z-index: 4;
}

.daysoff-overview-employee-link {
    color: inherit;
    display: block;
    overflow: hidden;
    text-decoration: underline;
    text-overflow: ellipsis;
}

.daysoff-overview-employee-link:hover,
.daysoff-overview-employee-link:focus {
    color: #1f5fa8;
}

.daysoff-overview-calendar .is-weekend {
    background: #fafbfc;
}

.daysoff-overview-calendar .is-holiday {
    background: rgba(79, 124, 255, 0.1);
}

.daysoff-overview-calendar thead .is-holiday {
    background: rgba(79, 124, 255, 0.16);
}

.daysoff-overview-calendar .is-half-holiday {
    background: linear-gradient(
        180deg,
        rgba(79, 124, 255, 0.12) 0%,
        rgba(79, 124, 255, 0.12) 50%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

.daysoff-overview-calendar thead .is-half-holiday {
    background: linear-gradient(
        180deg,
        rgba(79, 124, 255, 0.2) 0%,
        rgba(79, 124, 255, 0.2) 50%,
        #f8fafc 50%,
        #f8fafc 100%
    );
}

.daysoff-overview-calendar .is-today {
    box-shadow: inset 0 0 0 2px #8fb5ff;
}

.daysoff-overview-daynum {
    color: #35414d;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.1;
}

.daysoff-overview-dayname {
    color: #7a8794;
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    margin-top: 0.05rem;
    text-transform: uppercase;
}

.daysoff-overview-chip {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.64rem;
    font-weight: 700;
    height: 22px;
    justify-content: center;
    letter-spacing: 0.03em;
    line-height: 22px;
    min-width: 22px;
    padding: 0 0.2rem;
    position: relative;
    top: 1px;
    vertical-align: middle;
}

.daysoff-overview-legend .legend {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .daysoff-overview-calendar .employee-col {
        max-width: 110px;
        min-width: 110px;
    }
}

.checkin-landing-card {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.checkin-landing-card .card-body {
    min-height: 180px;
    position: relative;
}

.checkin-landing-loader {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    color: #536170;
    display: none;
    gap: 0.9rem;
    inset: 1.25rem;
    justify-content: center;
    position: absolute;
    z-index: 5;
}

.checkin-landing-loader strong,
.checkin-landing-loader span {
    display: block;
}

.checkin-landing-loader strong {
    color: #102a43;
    font-size: 0.95rem;
}

.checkin-landing-loader span {
    font-size: 0.82rem;
}

.checkin-landing-spinner {
    animation: checkinLandingSpin 0.75s linear infinite;
    border: 3px solid rgba(40, 150, 215, 0.18);
    border-radius: 50%;
    border-top-color: #42a9e8;
    height: 34px;
    width: 34px;
}

.checkin-landing-card.is-loading .checkin-landing-loader {
    display: flex;
}

.checkin-landing-card.is-loading .checkin-landing-content {
    opacity: 0;
}

.division-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.division-tabs .tablinks {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #495057;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.division-tabs .tablinks:focus {
    box-shadow: none;
    outline: none;
}

.division-tabs .tablinks:focus-visible {
    box-shadow: 0 0 0 3px rgba(66, 169, 232, 0.25);
    outline: none;
}

.division-tabs .tablinks.active,
.division-tabs .tablinks:hover {
    background: #e9ecef;
    border-color: #ced4da;
    color: #212529;
}

.division-table {
    margin-bottom: 0;
}

.division-table td {
    vertical-align: middle;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.division-table tr td {
    transition: background-color 0.2s ease;
}

.employee-icon-cell {
    width: 52px;
    text-align: center;
    font-size: 1.35rem;
}

.employee-avatar {
    border-radius: 50%;
    height: 44px;
    width: 44px;
}

.employee-role-badge.is-work-role {
    background: #dfe5eb;
    color: #111827;
}

.employee-attendance-badge {
    display: inline-flex;
    justify-content: center;
    min-width: 3.75rem;
    text-align: center;
}

.employee-name-cell {
    width: auto;
}

.employee-name {
    font-weight: 500;
    color: #2d3436;
}

.employee-name.is-current {
    font-weight: 700;
}

.employee-meta {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.15rem;
    white-space: nowrap;
}

.employee-action-btn {
    min-width: 132px;
    min-height: 52px;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
}

.employee-status-cell {
    width: 220px;
    white-space: nowrap;
    padding-left: 1rem !important;
    text-align: left;
}

.employee-action-cell {
    white-space: nowrap;
    text-align: left;
    width: 180px;
    padding-left: 0 !important;
    padding-right: 1rem !important;
}

.employee-time {
    font-weight: 600;
    min-width: 64px;
    display: inline-block;
}

.employee-empty {
    color: #adb5bd;
}

.employee-list-table .employee-actions-header {
    min-width: 8rem;
    width: 8rem;
}

.employee-list-toolbar {
    gap: 1rem;
}

.employee-list-filter-form {
    display: block;
}

.employee-list-filter-field {
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
}

.employee-list-filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.employee-list-filter-controls .tm-icon-button {
    position: relative;
    top: -2px;
}

.employee-list-division-select {
    min-width: 12rem;
    width: 12rem;
}

.employee-list-table .employee-actions-cell {
    min-width: 8rem;
    width: 8rem;
    white-space: nowrap;
}

.employee-actions-group {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.35rem;
}

.employee-actions-button {
    align-items: center;
    border: 1px solid #b8dcf5 !important;
    border-radius: 9px !important;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    margin-bottom: 0 !important;
    min-width: 36px !important;
    padding: 0 !important;
    width: 36px;
}

.employee-actions-button .material-icons {
    font-size: 18px;
    margin: 0 !important;
}

/* Popper positions tooltips with transform; animating it makes them fly in from 0,0. */
.tooltip {
    -webkit-transition-property: opacity !important;
    transition-property: opacity !important;
}

@media (max-width: 1199.98px) {
    .employee-list-division-select {
        min-width: 12rem;
    }

    .employee-list-table .employee-actions-header,
    .employee-list-table .employee-actions-cell {
        min-width: 8rem;
    }
}

@media (max-width: 575.98px) {
    .employee-list-filter-controls {
        align-items: stretch;
    }

    .employee-list-filter-controls .tm-icon-button {
        justify-content: center;
    }
}

.monthly-report-day-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.28rem 0.55rem;
    white-space: nowrap;
}

.monthly-report-day-badge-holiday {
    background: #dff3ff;
    color: #1687a7;
}

.monthly-report-day-badge-vacation {
    background: #e6f7e7;
    color: #2f8f46;
}

.monthly-report-day-badge-illness {
    background: #ffe8e8;
    color: #c24141;
}

.monthly-report-day-badge-workday {
    background: #eef2f6;
    color: #1f2d3d;
}

.monthly-report-day-badge-free,
.monthly-report-day-badge-neutral {
    background: #f5f7fa;
    color: #64748b;
}

.project-row-archived {
    background: #f5f7fa;
    color: #64748b;
}

.project-row-archived td {
    border-bottom-color: #d8e0e8;
}

.project-archived-badge {
    align-items: center;
    background: #e2e8f0;
    color: #475569;
    display: inline-flex;
    gap: 0.25rem;
    margin-left: 0.4rem;
    padding: 0.3rem 0.5rem;
    vertical-align: middle;
}

.project-archived-badge .material-icons {
    font-size: 0.9rem;
}

.project-archived-date {
    color: #64748b;
    display: block;
    margin-top: 0.25rem;
}

.project-color-dot {
    border-radius: 50%;
    display: inline-block;
    height: 12px;
    margin-right: 0.3rem;
    width: 12px;
}

.day-off-request-calendar {
    color: #35414d;
    font-size: 0.78rem;
}

.day-off-request-filters {
    column-gap: 0.75rem;
    row-gap: 0.5rem;
}

.day-off-request-division-select {
    width: 180px;
}

.day-off-request-overview-wrap {
    border: 1px solid #e4e9f0;
    border-radius: 16px;
    overflow-x: auto;
}

.day-off-request-calendar.daysoff-overview-calendar {
    min-width: 0;
    table-layout: fixed;
    width: auto;
}

.day-off-request-calendar.daysoff-overview-calendar th,
.day-off-request-calendar.daysoff-overview-calendar td {
    min-width: 34px;
    width: 34px;
}

.day-off-request-calendar.daysoff-overview-calendar .employee-col {
    min-width: 132px;
    width: 132px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    padding-left: 0.6rem;
    text-align: left;
}

.day-off-request-calendar.daysoff-overview-calendar thead th {
    font-size: 0.78rem;
    font-weight: 700;
}

.day-off-request-calendar .is-today {
    box-shadow: inset 0 0 0 2px #8fb5ff;
}

.day-off-request-calendar .daysoff-overview-chip {
    font-size: 0.58rem;
    height: 22px;
    line-height: 22px;
    min-width: 22px;
}

.project-status-badge {
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    white-space: nowrap;
}

.project-status-badge-lg {
    font-size: 0.8rem;
    padding: 0.45rem 0.75rem;
}

.project-status-ready { background: #dbeafe; color: #1d4ed8; }
.project-status-progress { background: #dcfce7; color: #15803d; }
.project-status-hold { background: #fef3c7; color: #a16207; }
.project-status-blocked { background: #fee2e2; color: #b91c1c; }
.project-status-done { background: #e2e8f0; color: #475569; }

.project-alert-marker {
    color: #d97706;
    display: inline-flex;
    margin-left: 0.3rem;
    vertical-align: middle;
}

.project-alert-marker .material-icons {
    font-size: 1.15rem;
}

.project-alert-marker.is-overdue {
    color: #dc2626;
}

.project-alert-list {
    display: grid;
    gap: 0.5rem;
}

.project-alert {
    align-items: center;
    background: #fff7e6;
    border: 1px solid #f4cf8b;
    border-radius: 10px;
    color: #8a5a0a;
    display: flex;
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
}

.project-alert .material-icons {
    font-size: 1.15rem;
}

.project-alert.is-overdue {
    background: #fef2f2;
    border-color: #f5a5a5;
    color: #b91c1c;
}

.project-archived-notice,
.project-employee-context {
    align-items: center;
    background: #eef3f7;
    border: 1px solid #d9e4ec;
    border-radius: 10px;
    color: #475569;
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding: 0.7rem 0.85rem;
}

.project-metric {
    background: #f8fafc;
    border: 1px solid #dfe7ee;
    border-radius: 12px;
    height: 100%;
    padding: 0.85rem 1rem;
}

.project-metric span {
    color: #64748b;
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.project-metric strong {
    color: #20324f;
    font-size: 1.25rem;
}

.project-metric.is-over-budget {
    background: #fff1f1;
    border-color: #f4b8b8;
}

.project-metric.is-over-budget strong {
    color: #b91c1c;
}

.project-progress {
    border-radius: 999px;
    height: 10px;
}

.project-detail-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.project-gantt-scroll { overflow-x: auto; }
.project-gantt { min-width: 760px; }
.project-gantt-header,
.project-gantt-row { display: grid; grid-template-columns: minmax(220px, 28%) 1fr; }
.project-gantt-header { border-bottom: 1px solid #dce7f1; color: #536b82; font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.project-gantt-project-heading,
.project-gantt-project { padding: .7rem .85rem; }
.project-gantt-months { display: grid; grid-template-columns: repeat(var(--project-gantt-months), minmax(90px, 1fr)); }
.project-gantt-months span { border-left: 1px solid #edf2f7; padding: .7rem .5rem; text-align: center; }
.project-gantt-row { border-bottom: 1px solid #edf2f7; min-height: 66px; }
.project-gantt-project { display: flex; flex-direction: column; justify-content: center; }
.project-gantt-project a { font-weight: 700; }
.project-gantt-project small { color: #8192a2; font-size: .75rem; margin-top: .2rem; }
.project-gantt-track { background: repeating-linear-gradient(to right, transparent 0, transparent calc(100% / var(--project-gantt-months) - 1px), #edf2f7 calc(100% / var(--project-gantt-months) - 1px), #edf2f7 calc(100% / var(--project-gantt-months))); position: relative; }
.project-gantt-bar { border-radius: 999px; display: block; font-size: .72rem; font-weight: 700; margin: 1.2rem 0; min-width: 8px; overflow: hidden; padding: .35rem .65rem; position: absolute; text-overflow: ellipsis; top: 0; white-space: nowrap; }
.project-gantt-bar-progress { background: rgba(31, 45, 61, .16); bottom: 0; left: 0; position: absolute; top: 0; }
.project-gantt-bar-label { position: relative; }
.project-gantt-legend { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.project-gantt-legend-item { align-items: center; color: #6f7f8f; display: inline-flex; font-size: .8rem; gap: .35rem; }
.project-gantt-dot { border-radius: 50%; display: inline-block; height: 10px; width: 10px; }

.project-time-context {
    background: rgba(78, 163, 209, 0.06);
    border: 1px solid rgba(78, 163, 209, 0.24);
    border-radius: 6px;
    color: #536b82;
    margin-bottom: 1rem;
    padding: 0.65rem 0.85rem;
}

.project-time-context strong {
    color: #20324f;
}

.project-time-fixed-project {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-recorded-time-section {
    border-top: 1px solid #dce7f1;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.card-body > h5,
.card-body .d-flex > h5 {
    color: #20324f;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-top: 1.35rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #dce7f1;
}

.project-detail-actions .btn {
    margin: 0 !important;
}

.project-header-icon-link {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.project-header-icon-link .material-icons {
    font-size: 21px;
}

.project-contribution {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 180px;
}

.project-contribution__bar {
    background: #e7edf3;
    border-radius: 999px;
    height: 7px;
    overflow: hidden;
    width: 110px;
}

.project-contribution__bar span {
    background: #2196d2;
    border-radius: inherit;
    display: block;
    height: 100%;
}

.project-filter-row {
    display: flex;
    align-items: flex-end;
    gap: .6rem;
    flex-wrap: nowrap;
}

.project-notification-count {
    font-size: .65rem;
    margin-left: -.35rem;
    position: relative;
    top: -.7rem;
}

.project-notification-menu {
    min-width: 230px;
}

.project-notification-menu .notification-empty {
    display: block;
    text-align: center;
}

.notification-clear-all-wrap {
    border-top: 1px solid #edf0f3;
    margin-top: .25rem;
    padding: .35rem .75rem .15rem;
    text-align: center;
}

.notification-clear-all {
    background: none;
    border: 0;
    color: #7b8794;
    cursor: pointer;
    font-size: .75rem;
    padding: .15rem .25rem;
}

.notification-clear-all:hover,
.notification-clear-all:focus {
    color: #1976b9;
    text-decoration: underline;
}

.project-notification-status {
    display: inline-block;
    margin-right: .35rem;
}

.project-metric-grid > .col-lg-3,
.project-metric-col {
    flex: 0 0 20%;
    max-width: 20%;
}

.project-filter-row .project-filter-field {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
}

.project-filter-row .project-filter-search {
    flex: 1.1 1 0;
    max-width: 340px;
}

.approval-filter-row .approval-filter-date {
    flex: .78 1 0;
}

.approval-filter-row .project-filter-field {
    flex: 1 1 0;
}

.project-filter-row .project-filter-submit {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.project-filter-row .project-filter-submit .btn {
    min-width: 42px;
    padding-left: .65rem;
    padding-right: .65rem;
    position: relative;
    top: 5px;
}

@media (max-width: 767.98px) {
    .project-metric-grid > .col-lg-3,
    .project-metric-col {
        flex-basis: 50%;
        max-width: 50%;
    }

    .project-filter-row {
        flex-wrap: wrap;
    }

    .project-filter-row .project-filter-field {
        flex: 1 1 calc(50% - .3rem);
        min-width: 180px;
    }

    .project-filter-row .project-filter-search {
        flex-basis: 100%;
        max-width: none;
    }

    .approval-filter-row .approval-filter-date {
        flex: 1 1 calc(50% - .3rem);
    }

    .project-filter-row .project-filter-submit .btn {
        top: 0;
    }
}

.project-bulk-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .2rem;
}

.project-bulk-actions .form-control {
    margin-left: .35rem;
    max-width: 260px;
}

.project-bulk-actions button[name="bulk_action"][value="approve"] {
    margin-left: .5rem;
}

.project-selection-icon {
    align-items: center;
    display: inline-flex;
    line-height: 1;
    margin-left: -.35rem !important;
    padding: .1rem .15rem !important;
}

.project-selection-icon .material-icons {
    font-size: 19px;
}

.project-time-entry-row {
    cursor: pointer;
}

.project-approval-action.is-approve,
.project-approval-action.is-approve .material-icons {
    border-color: #1e8e3e !important;
    color: #1e8e3e !important;
}

.project-approval-action.is-reject,
.project-approval-action.is-reject .material-icons {
    border-color: #d93025 !important;
    color: #d93025 !important;
}

.project-approval-action.is-reopen,
.project-approval-action.is-reopen .material-icons {
    border-color: #d97706 !important;
    color: #d97706 !important;
}

.project-time-entry-checkbox {
    margin-right: .35rem;
}

.project-detail-actions > a:first-child {
    margin-right: auto !important;
}

.project-member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.project-member-badge {
    background: #1769aa;
    border: 1px solid #0f568f;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 0.38rem 0.72rem;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes checkinLandingSpin {
    to {
        transform: rotate(360deg);
    }
}

.tm-corrections strong {
    font-weight: 800;
    font-size: 1.04em;
}

.tm-corrections p > strong {
    display: inline-block;
    margin-right: .45rem;
}

.tm-corrections .badge-pill {
    font-size: .85rem;
    font-weight: 700;
}

.tm-corrections .correction-timezone {
    display: inline-block;
    margin-left: .5rem;
    font-size: .65em;
    font-weight: 400;
    vertical-align: super;
}

.tm-corrections .correction-history-item {
    margin-bottom: .75rem;
}

.tm-corrections .correction-history-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem 1rem;
    cursor: pointer;
    list-style-position: inside;
}

.tm-corrections .correction-history-summary::marker {
    color: #6c757d;
}

.tm-corrections .correction-history-meta {
    margin-bottom: 1rem;
}
