.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: left;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 2rem;
    color: lightgray;
    cursor: pointer;
    padding: 0 5px;
}

.rating input:checked ~ label {
    color: gold;
}

.rating label:hover,
.rating label:hover ~ label {
    color: gold;
}

.company-img-in-modal {
    border: 2px solid #9f9f9f;
    border-radius: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 60px;
    width: 60px;
}

#company-name {
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.dropdown-scroll .list {
    overflow-y: scroll !important;
    max-height: 250px !important;
}

/*------------------- Search Employee Styles -----------------*/
.modal-grid-usrs-block {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border-radius: 0.6rem;
    /* padding: 1.5rem 1rem; */
}
.modal-grid-usrs-thumb {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto 0.5rem;
}
.modal-name{
 font-size: 19px;
    font-weight: 500;
    color: #19282d;
    margin: 0;
}

.modal-grid-yuo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 auto;
}
.modal-grid-yuo figure {
    margin: 0;
}
.employee-img {
    border-radius: 50%;
}
.modal-grid-usrs-caption {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}
.modal-kioyer-groups {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    letter-spacing: 3px;
    color: #d7dde2;
}
.modal-kioyer-groups .active {
    color: #ff9800;
}
.modal-kioyer-groups .aal-reveis {
    font-size: 13px;
    font-weight: 600;
    color: #19282d;
    letter-spacing: 0;
}
.modal-tiosk {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.modal-tiosk .modal-tiosk-title {
    font-size: 17px;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}
.modal-tiosk .modal-tiosk-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: rgba(0, 44, 63, 0.6);
}
.modal-grid-usrs-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* margin-bottom: 2rem; */
}
.modal-list-usrs-thumb {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.modal-list-usrs-thumb figure {
    margin: 0;
}
.elsocrio-modal.sm .modal-list-pack {
    font-size: 14px;
    color: rgba(0, 44, 63, 0.7);
}
.rlt-modal-wrap {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 0.4rem;
    display: flex;
    padding: 1.2rem 1rem;
    align-items: flex-start;
    justify-content: space-between;
}
.rlt-modal-wrap .single-fliox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rating-box {
    padding: 8px;
}

.compliance-icons > img{
    width: 90px;
}



.button{
    background: #1ca774;
    border-color: #1ca774;
    color: #ffffff;
}
.button:hover {
    background: #119766 ;
    border-color: #119766 ;
    color: #ffffff ;
}
.bg-them{
    background-color: #E8F6F1;
}

:root {
    --app-topbar-height: 4.5rem;
}

html,
body#page-top {
    height: 100%;
}

body#page-top {
    overflow: hidden;
}

body#page-top > .topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1040;
    min-height: var(--app-topbar-height);
}

#wrapper {
    min-height: 0;
    height: calc(100vh - var(--app-topbar-height));
    margin-top: var(--app-topbar-height);
    overflow: hidden;
}

#accordionSidebar.sidebar {
    position: fixed;
    top: var(--app-topbar-height);
    left: 0;
    bottom: 0;
    z-index: 1030;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4rem));
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#content-wrapper {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#content {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: auto;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

#accordionSidebar.sidebar::-webkit-scrollbar,
#content::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

#accordionSidebar.sidebar::-webkit-scrollbar-track,
#content::-webkit-scrollbar-track {
    background: transparent;
}

#accordionSidebar.sidebar::-webkit-scrollbar-thumb {
    background: transparent;
}

#content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 999px;
}

#accordionSidebar.sidebar::-webkit-scrollbar,
#accordionSidebar.sidebar::-webkit-scrollbar-button {
    display: none;
}

#content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.34);
}

@media (min-width: 768px) {
    #wrapper > .sidebar.toggled + #content-wrapper {
        margin-left: 6.5rem;
        width: calc(100% - 6.5rem);
    }

    #wrapper > .sidebar:not(.toggled) + #content-wrapper {
        margin-left: 14rem;
        width: calc(100% - 14rem);
    }

    #accordionSidebar.sidebar .nav-item .nav-link {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    #wrapper {
        margin-top: var(--app-topbar-height);
        height: calc(100dvh - var(--app-topbar-height));
        min-height: calc(100dvh - var(--app-topbar-height));
    }

    #accordionSidebar.sidebar {
        width: min(16rem, 84vw) !important;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: 0 0 24px rgba(0, 0, 0, 0.14);
        height: calc(100dvh - var(--app-topbar-height));
        max-height: calc(100dvh - var(--app-topbar-height));
    }

    body.sidebar-toggled #accordionSidebar.sidebar {
        transform: translateX(0);
    }

    #accordionSidebar.sidebar .nav-item .nav-link,
    #accordionSidebar.sidebar.toggled .nav-item .nav-link {
        width: 100% !important;
        padding: 0.75rem 1rem;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    #accordionSidebar.sidebar .nav-item .nav-link span,
    #accordionSidebar.sidebar.toggled .nav-item .nav-link span {
        display: inline;
        font-size: 0.85rem;
        line-height: 1.2;
    }

    #accordionSidebar.sidebar .nav-item .nav-link .sidebar-icon,
    #accordionSidebar.sidebar.toggled .nav-item .nav-link .sidebar-icon {
        margin: 0;
    }

    #content-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
        min-height: 0;
    }
}

#accordionSidebar .nav-item:first-child {
    margin-top: 0 !important;
}

#accordionSidebar .nav-link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}

#accordionSidebar .sidebar-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    margin: 0 auto 0.25rem;
}

#accordionSidebar .sidebar-divider {
    margin-bottom: max(4rem, calc(env(safe-area-inset-bottom) + 3rem));
}

.them-text{
    color: #1ca774 ;
}
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    /* background-color: #000000; */
    border: 5px solid #1ca774;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

 .nav-link {
    transition: all 0.2s ease-in-out;
}

.nav-link:hover {
    background-color: rgba(9, 214, 149, 0.051); 
    font-weight: 600;
    color: #000 !important;
    border-radius: 5px;
    /* margin-left: 1rem; */
}

.nav-link:hover img {
    filter: none; /* keep icon sharp and visible */
}

.nav-link.active {
    background-color: rgba(9, 214, 149, 0.051);
    font-weight: 600;
    color: #000 !important;
    border-radius: 5px;
}

.text-primary {
  color: #143fcd !important;
}
a.no-highlight {
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

a.no-highlight:hover,
a.no-highlight:focus,
a.no-highlight:active {
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}
.btn-xsm{
 display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.35rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.rv_cstm-btn-icon {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.medium {
  font-size: 90%;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.attendance-time-field {
    position: relative;
}

.attendance-time-field input[type="time"] {
    min-width: 110px;
    padding-right: 2rem;
}

.attendance-time-field .clear-time-btn {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #9aa4b2;
    padding: 0;
    line-height: 1;
    z-index: 3;
}

.attendance-time-field .clear-time-btn:hover,
.attendance-time-field .clear-time-btn:focus {
    color: #6b7280;
    outline: none;
    box-shadow: none;
}

.monthly-attendance-table th,
.monthly-attendance-table td {
    vertical-align: middle;
}

.monthly-attendance-table thead th {
    white-space: nowrap;
    text-align: center;
}

.monthly-attendance-table .employee-name {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    line-height: 1.2;
    text-align: center;
}

.monthly-attendance-table .employee-code {
    display: block;
    margin-top: 0.2rem;
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 500;
}

.monthly-attendance-table .subhead {
    min-width: 130px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6c757d;
}

.monthly-attendance-table .date-cell {
    min-width: 120px;
    background: #f8f9fa;
}

.monthly-attendance-table .date-label {
    text-align: center;
}

.attendance-table-scroll-top-shell {
    overflow: hidden;
    margin-bottom: 0;
}

.attendance-table-scroll-top {
    overflow-x: auto;
    overflow-y: hidden;
    height: 7px;
    margin-bottom: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.16) transparent;
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
}

.attendance-table-scroll-top-inner {
    height: 1px;
}

.attendance-table-scroll-top::-webkit-scrollbar {
    height: 6px;
}

.attendance-table-scroll-top::-webkit-scrollbar-track {
    background: transparent;
}

.attendance-table-scroll-top::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.16);
    border-radius: 999px;
}

.attendance-table-scroll-top::-webkit-scrollbar-button,
.monthly-attendance-table-shell .table-responsive::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.monthly-attendance-filter-bar .card-body {
    padding: 0.55rem 0.75rem;
}

.monthly-attendance-filter-bar .filter-inline-row {
    display: grid;
    grid-template-columns: minmax(240px, 1.8fr) minmax(150px, 0.95fr) auto;
    gap: 0.55rem;
    align-items: end;
}

.monthly-attendance-filter-bar label {
    margin-bottom: 0.12rem;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.1;
    color: #6c757d;
}

.monthly-attendance-filter-bar .form-control,
.monthly-attendance-filter-bar .btn {
    height: 31px;
    font-size: 0.86rem;
}

.monthly-attendance-filter-bar .form-control {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.monthly-attendance-filter-bar .btn {
    padding-top: 0.28rem;
    padding-bottom: 0.28rem;
    white-space: nowrap;
}

.monthly-attendance-table-card .card-body {
    padding: 0 0.3rem 0;
}

.monthly-attendance-table-shell {
    margin: 0 -0.3rem -0.3rem;
}

.monthly-attendance-table-shell .table-responsive::-webkit-scrollbar {
    height: 6px;
}

.monthly-attendance-table-shell .table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.monthly-attendance-table-shell .table-responsive::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.16);
    border-radius: 999px;
}

@media (max-width: 991.98px) {
    .monthly-attendance-filter-bar .filter-inline-row {
        grid-template-columns: 1fr 1fr;
    }

    .monthly-attendance-filter-bar .filter-action-col {
        grid-column: 1 / -1;
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 575.98px) {
    .monthly-attendance-filter-bar .card-body {
        padding: 0.5rem 0.6rem;
    }

    .monthly-attendance-filter-bar .filter-inline-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .monthly-attendance-filter-bar .filter-action-col .btn {
        width: 100%;
    }
}
