﻿* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
    height: 100vh;
    overflow: hidden;
}

html {
    height: 100vh;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #517933;
    border-color: #517933;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}
.beta-badge {
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1;
    color: var(--Foregroung-color-primary, #517933);
    background: var(--Foregroung-color-theme-lighter, #E4F0DB);
    border: 1px solid rgba(81, 121, 51, 0.25);
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
/* -------------------- SfDilaog Popup modal --------------- */

.hide-header .e-dlg-header {
    display: none;
}
/* initial state: off to the right and invisible */

.slide-in-from-right.e-dialog {
    animation: custom-slide-in 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes custom-slide-in {
    from {
        transform: translateX(100vw);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Media Quries  */

@media (max-width: 768px) {
    .controls {
        flex-direction: column;
        align-items: stretch;
    }
}







/* ----------------------------- Data table ---------------------------  */


.e-grid .e-gridheader tr:first-child th:not(.e-freezeleftborder,.e-freezerightborder) {
    border-top: 0 none;
    background: #E1DFDD !important;
    color: #201F1E !important;
    padding: 16px !important;
}
/* Make grid column headers 16px */
.sf-grid .e-headercell {
    font-size: 16px !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
}

    .sf-grid .e-headercell,
    .sf-grid .e-headercell .e-headertext {
        font-size: 16px !important;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
    }

/* Hover effect for SfGrid rows */
.sf-grid .e-row:hover,
.sf-grid .e-row.e-hover {
    background: #E4F0DB !important;
    transition: background 0.2s ease-in-out;
}

    /* Ensure row cells maintain border consistency on hover */
    .sf-grid .e-row:hover .e-rowcell {
        border-color: #EDEBE9 !important;
        background: #E4F0DB !important;
    }

/* Cursor pointer on hover */
.sf-grid .e-row:hover {
    cursor: pointer;
}

/* Remove blue border/outline on focus/selection for rows and cells */
.sf-grid .e-row:focus,
.sf-grid .e-row.e-focused,
.sf-grid .e-row.e-selectionbackground,
.sf-grid .e-rowcell:focus,
.sf-grid .e-rowcell.e-focused,
.sf-grid .e-rowcell.e-selectionbackground {
    outline: none !important;
    box-shadow: none !important;
    border-color: #EDEBE9 !important;
    background: #FFFFFF !important;
}

/* Remove focus outline for interactive elements in the grid */
.sf-grid .e-rowcell a:focus,
.sf-grid .e-rowcell button:focus,
.sf-grid .e-rowcell svg:focus,
.sf-grid .e-rowcell *:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Ensure action buttons (edit/delete SVGs) don’t show blue border on click */
.sf-grid .actions svg:active,
.sf-grid .actions svg:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Subtle visual feedback for action buttons on click */
.sf-grid .actions svg:active {
    transform: scale(0.95);
}

/* Confirmation dialog styles */
.custom-dialog .e-dialog {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.custom-dialog .dialog-title {
    font-size: 18px;
    font-weight: 600;
    color: #201F1E;
    font-family: Inter, sans-serif;
}

.custom-dialog .p-3 {
    font-size: 14px;
    color: #3B3A39;
    font-family: Inter, sans-serif;
}

/* Cancel button (orange outline, no fill in any state) */
.custom-dialog .e-btn.e-outline.e-flat.e-danger {
    border: 1px solid #F97316;
    color: #F97316;
    background: transparent !important;
}

    .custom-dialog .e-btn.e-outline.e-flat.e-danger:hover,
    .custom-dialog .e-btn.e-outline.e-flat.e-danger:active,
    .custom-dialog .e-btn.e-outline.e-flat.e-danger:focus {
        background: transparent !important;
        border: 1px solid #F97316 !important;
        color: #F97316 !important;
        box-shadow: none !important;
    }

/* Confirm button (green outline, no fill in any state) */
.custom-dialog .e-btn.e-success.e-flat.e-outline {
    border: 1px solid #517933;
    color: #517933;
/*    background: transparent !important;*/
}

    .custom-dialog .e-btn.e-success.e-flat.e-outline:hover,
    .custom-dialog .e-btn.e-success.e-flat.e-outline:active,
    .custom-dialog .e-btn.e-success.e-flat.e-outline:focus {
        background: transparent !important;
        border: 1px solid #517933 !important;
        color: #517933 !important;
        box-shadow: none !important;
    }

/* Confirm button (green outline, no fill in any state) */
.custom-dialog .e-btn.e-delete.e-flat.e-outline {
    border: 1px solid #D7734E;
    color: #D7734E;
    /*    background: transparent !important;*/
}

    .custom-dialog .e-btn.e-delete.e-flat.e-outline:hover,
    .custom-dialog .e-btn.e-delete.e-flat.e-outline:active,
    .custom-dialog .e-btn.e-delete.e-flat.e-outline:focus {
        background: transparent !important;
        border: 1px solid #D7734E !important;
        color: #D7734E !important;
        box-shadow: none !important;
    }

.card {
    border: unset !important;
    background: #F3F2F1;
}

.e-grid .e-gridheader {
    border-radius: 12px !important;
    border: unset !important;
    z-index : 0 !important;
}

.sf-grid .e-rowcell {
    border-right: none !important;
    border-left: none !important;
    border-color: #EDEBE9 !important;
    border-bottom: 1px solid #EDEBE9 !important;
}

.e-grid {
    border-left: unset !important;
    border-right: unset !important;
    border-bottom: unset !important;
}

.sf-grid .e-rowcell {
    background: #FFFFFF 0.01% !important;
    border-color: #EDEBE9 !important;
}

.top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
}

 .table-wrapper {
    height: calc(100vh - 230px);
    overflow: auto; /* allow both horizontal and vertical scroll so Actions stay visible */
}

/* Hide scrollbars for WebKit (Chrome, Safari, Edge Chromium) */
.table-wrapper::-webkit-scrollbar {
    display: none;
}

/*  .sf-grid .e-gridheader {
				background: red !important;
				border-bottom: none;
			} */

.sf-grid .e-headercell {
    font-weight: 600;
    font-size: .9rem;
    border-right: 1px solid #dfe2e8;
    padding: 0.85rem .75rem;
}

.sf-grid .e-rowcell {
    padding: .75rem .75rem;
    border-right: 1px solid #f0f0f5;
    font-size: .9rem;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 600;
    color: white;
    margin-right: .5rem;
    background: #6b7280;
    text-transform: uppercase;
    flex-shrink: 0;
}

.avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: .5rem;
    flex-shrink: 0;
}

.status-pill {
    padding: .3rem .9rem;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 600;
    display: inline-block;
    text-transform: capitalize;
}

.status-active {
    background: #E4F0DB;
    color: #517933;
}

.status-inactive {
    background: #F3F2F1;
    color: #323130;
}

.actions svg {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-left: 12px;
    stroke: #4b5563;
    stroke-width: 1;
    fill: none;
}

.footer {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1rem;
    font-size: .85rem;
    color: #222;
    gap: .5rem;
}

.summary {
    min-width: 220px;
    text-align: right;
    font-size: 18px;
    font-weight: 600;
    color: #201F1E;
}

.e-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .e-summary {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .summary {
        white-space: nowrap;
    }

    .e-pager {
        flex-wrap: nowrap;
        gap: 12px;
    }
}

/* Active page underline for SfPager */


.e-gridheader {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background: #fff;
}



/* Base: phones */
/* Mobile first: 1 column */
.DocumentsFields {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Tablet: 2 columns (covers iPad 820/834/912 etc.) */
@media (min-width: 600px) and (max-width: 1023.98px) {
    .DocumentsFields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
    .DocumentsFields {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}



.e-grid .e-content {
    overflow: auto !important; /* keep grid scrollable when columns overflow */
}

.e-pager {
    background: unset !important;
    border: unset !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

    .e-pager.sf-pager .e-pagercontainer {
        background: unset !important;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .e-pager .e-pagerconstant {
        display: none !important;
    }

    .e-pager.sf-pager .e-numericcontainer a {
        font-size: 18px;
        border: none !important;
        background: none !important;
        color: #201F1E !important;
    }

    .e-pager.sf-pager .e-numericcontainer a {
        font-size: 18px !important;
    }

    .e-pager.sf-pager .e-pagercontainer .e-first {
        font-size: 15px !important;
        background: unset !important;
        border: unset !important;
    }

    .e-pager .e-ddl,
    .e-pager .e-lib,
    .e-pager .e-icon-anim,
    .e-pager .e-input-group,
    .e-pager .e-control-container,
    .e-pager .e-control-wrapper,
    .e-pager .e-valid-input {
        padding-left: 8px !important;
        padding-right: 8px !important;
        background: #fff !important;
        border-radius: 12px !important;
        border: unset !important;
        height:32px;
        padding-top:5px;
    }

    .e-pager.sf-pager .e-pagercontainer {
        font-size: 0;
        border: unset !important;
        background: unset !important;
    }

    .e-pager .e-pagercontainer .e-prevpagedisabled {
        border: unset !important;
        background: unset !important;
    }

    .e-pager .e-next.e-icons.e-icon-next.e-nextpagedisabled.e-disable, .e-pager .e-next.e-icons.e-icon-next.e-nextpage.e-pager-default {
        background: unset !important;
        border: unset !important;
        font-size: 15px !important;
        color: #adb5bd!important;
    }

.e-pager.sf-pager .e-pagercontainer .e-last {
    background: unset !important;
    border: unset !important;

}

    .e-pager div.e-icons.e-disable {
        color: #adb5bd;
        background: unset !important;
        font-size: 15px !important;
    }

/* Hide duplicate navigation arrows */
.e-pager .e-pagercontainer .e-first,
.e-pager .e-pagercontainer .e-last {
    display: none !important;
}

/* Fix page size dropdown positioning */
.e-pager .e-pagerdropdown {
    position: relative !important;
    right: unset !important;
    margin-left: 10px;
    margin-top: 0;
}

@media (min-width: 786px) {
    .e-summary {
        flex-direction: row; /* Switch to row on larger screens */
        justify-content: space-between; /* Space items evenly across the row */
        align-items: center; /* Vertically center items in row */
    }
  
}

@media (max-width: 767px) {
    .e-numericcontainer {
        display: flex !important;
    }
}
/*
@media (max-width: 768px) {
    .e-pager,
    .e-pager div,
    .e-numericcontainer {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        align-items: center;
        margin-left:25px;
     
    }
    .summary{
        margin-left:120px!important;
    }
    .e-pager.e-adaptive div.e-parentmsgbar {
        margin-top: unset !important;
        min-width: fit-content !important;
    }

        .e-pager.e-adaptive .e-pagerdropdown {
            position: relative !important;
            right: unset !important;
            margin-left: 10px;
        }
}

@media (max-width: 769px) {
    .e-pager .e-pagecountmsg, .e-pager .e-pagercontainer {
        display: contents !important;
    }
}*/
/* ===========================
   Tablet & below (≤ 768px)
=========================== */
@media (max-width: 768px) {
    .e-summary {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .e-pager,
    .e-pager div,
    .e-numericcontainer {
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        flex-wrap: nowrap;
        margin-left: 0 !important; /* remove fixed spacing */
    }

    .summary {
        margin-left: 0 !important;
        text-align: center;
        font-size: 13px;
    }

    .e-pager.e-adaptive div.e-parentmsgbar {
        margin-top: unset !important;
        min-width: fit-content !important;
    }

    .e-pager.e-adaptive .e-pagerdropdown {
        position: relative !important;
        right: unset !important;
        margin-left: 8px;
    }
}

/* ===========================
   Mobile Large (≤ 425px)
=========================== */
@media (max-width: 425px) {
    .e-pager,
    .e-numericcontainer {
        flex-wrap:nowrap !important;
    }

    .summary {
        font-size: 12px;
        padding: 0 10px;
    }
}

/* ===========================
   Mobile Medium (≤ 375px)
=========================== */
@media (max-width: 375px) {
    .summary {
        font-size: 11px;
    }

    .e-pager .e-pagerdropdown {
        font-size: 11px;
    }
}

/* ===========================
   Mobile Small (≤ 320px)
=========================== */
@media (max-width: 320px) {
    .summary {
        font-size: 10px;
    }

    .e-pager,
    .e-numericcontainer {
        transform: scale(0.95);
    }
       .e-pagerdropdown {
            font-size: 7px!important;
            width:70px!important;
            
        }
  
}

/* ===========================
   Syncfusion override fix
=========================== */
@media (max-width: 769px) {
    .e-pager .e-pagecountmsg,
    .e-pager .e-pagercontainer {
        display: contents !important;
    }
}





/* ----------------------------  End of Data Table --------------------------- */

/* _________________________ Employee Form _______________________ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: auto;
    z-index: 10;
}

.modal-backdrop-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 30px;
    overflow: auto;
    z-index: 10;
}

.add-emp-drawer .e-dlg-content {
    background-color: transparent !important;
    padding: 0 !important;
    height: 100%;
    overflow: hidden;
}

.add-emp-drawer.e-dialog {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none;
    height: 100% !important;
    width: 100% !important;
}

.modal {
    background: #F3F2F1;
    border-radius: 24px;
    width: 100%;
    max-width: 1200px;
    display: flex;
    overflow: hidden;
    position: relative;
    min-height: 600px;
/*    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.35);*/
}

/* panels */
.panel {
    padding: 32px;
    position: relative;
}

.left {
    flex: 0 0 380px;
    background: #517933;
    color: #fff;
    display: flex;
    flex-direction: column;
    margin: 16px;
    border-radius: 20px;
}

.required-indicator {
    color: red;
    margin-left: 2px;
    font-weight: bold;
}

.right {
    flex: 1;
    background: #F3F2F1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Title */
.title {
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 24px;
    font-family: Georgia,serif;
}

/* Steps */
.steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    gap: 25px;
}

.icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 50px;
    position: relative;
    gap: 15px;
}

.icon-circle {
    background: #C3CF47;
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line {
    flex: 1;
    width: 2px;
    background: #C3CF47;
    margin-top: 8px;
}
/* description */
.desc {
    flex: 1;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.badge {
    background: #C3CF47;
    color: #517933;
    
    border-radius: 999px;
  
    letter-spacing: 0.5px;
}

.text {
    color: #fff;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
}

/* footer hint */
.footer-hint {
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(237, 235, 233, 0.16);
    padding-top: 16px;
    font-size: 0.65rem;
}

.hint-icon {
    flex: 0 0 auto;
}

.small-icon {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

.hint-text {
    flex: 1;
    color: #E4F0DB;
    font-family: var(--Font-Family-Body, Inter);
    font-size: var(--Body-Copy-XS, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

/* Right panel header */

.rightPanelHeader {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.close-btn {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
}

.close-icon {
    width: 20px;
    height: 20px;
    stroke: #4B5563;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 32px 32px 0;
}

.back-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #4f4f4f;
}

.back-icon {
    width: 18px;
    height: 18px;
    stroke: #4f4f4f;
}

.page-title {
    margin: 0;
    /*    margin-top: 25px;
    font-size: 32px;*/
    font-family: 'DM Serif Display', serif;
    /*font-weight: 700;*/ /* Updated to bold */
    /*line-height: 40px;*/
    letter-spacing: 0.32px;
    /*    color: #517933;*/
    margin-left: -12px;
    font-size: 34px;
    word-wrap: break-word;
}


/* Form content */
.form-content {
    overflow-y: auto;
    padding: 32px 32px 0px 0px;
    flex: 1;
    scrollbar-width: thin;
}


.section {
    margin-bottom: 16px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 35px;
}

    .section-header h2 {
        color: #201F1E;
        font-family: var(--Font-Headings, "DM Serif Display");
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 125%;
        letter-spacing: 0.48px;
        white-space: nowrap;
    }

    .section-header hr {
        border-top: 1px solid #908f8e;
        width: 100%;
        color: #908f8e;
    }

.Document-header {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: nowrap; /* default for desktop */
}

    .Document-header hr {
        border-top: 1px solid #908f8e;
        width: 100%;
        color: #908f8e;
    }

    .Document-header h2 {
        min-width: fit-content;
    }
/* Mobile: wrap items */
@media (max-width: 640px) {
    .Document-header {
        flex-wrap: wrap;
        gap: unset; /* smaller gap for narrow screens */
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 24px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.formLabel {
    color: #3B3A39;
    font-family: var(--Font-Family-Body, Inter);
    font-size: var(--Body-Copy-SM, 14px);
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
}


.field input,
.field select {
    padding: 15px 6px 30.5px 19px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
    background: #fff;
    outline: none;
}

    .field input:focus,
    .field select:focus {
        border-color: #2f6f1e;
        box-shadow: 0 0 0 3px rgba(47,111,30,0.2);
    }

.phone-row {
    display: flex;
    gap: 8px;
}

    .phone-row .small {
        width: 35%;
    }

.error {
    border-color: #336600 !important;
}

.saveCloseBtn {
    border-radius: var(--Radius-XL, 12px);
    background: #fff;
    color: #323130;
    border: 1px solid #E1DFDD;
    padding: 0.65rem 1rem;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.FooterBtns {
    background: rgba(235, 242, 239, 0.72);
    display: flex;
    gap: 10px;
    margin-top: 50px;
}


/* collapsed left rail on tablet/smaller */
@media (max-width: 1024px) {
    .modal {
        /* keep horizontal layout; don’t stack */
        flex-direction: row;
    }

    .left {
        flex: 0 0 80px; /* narrow icon rail */
        padding: 16px 8px;
        min-width: 80px;
        position: relative;
    }

        .left .title,
        .left .footer-hint {
            display: none; /* hide title and footer text */
        }

    .steps {
        gap: 32px;
    }

    .step {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        position: relative;
    }

    .desc {
        display: none; /* hide labels/text */
    }

    .icon-col {
        gap: 4px;
    }

        .icon-col .line {
            flex: none;
            height: 32px;
            width: 2px;
            margin-top: 4px;
        }

    .step {
        cursor: pointer;
    }

    .badge {
        display: none;
    }
}


/* ________________________ End Employee Form ________________________________ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px 32px;
    padding: 16px 0;
}

.field {
    display: flex;
    flex-direction: column;
}

.uniform-field {
    width: 100%;
    max-width: 344px;
    border-radius: 8px !important;
    border: 2px solid #E1DFDD !important;
    padding: 10px 12px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    background: #fff;
    min-width: fit-content;
}

    .uniform-field input,
    .uniform-field select {
        font-family: Inter, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        color: #201F1E;
        background: #fff;
    }

        .uniform-field input::placeholder,
        .uniform-field select::placeholder {
            color: #605E5C;
            font-family: Inter, sans-serif;
            font-size: 14px;
            font-weight: 400;
        }

    .uniform-field:focus,
    .uniform-field.e-control-wrapper.e-valid-input,
    .uniform-field.e-control-wrapper.e-date.e-valid-input {
        border: 2px solid #E1DFDD !important;
        box-shadow: none !important;
    }

    .uniform-field.e-control-wrapper.e-error,
    .uniform-field.e-control-wrapper.e-date.e-error {
        border: 2px solid #D13438 !important;
    }

.e-control.e-textbox.e-lib.e-input {
    /*    height: 22px !important;*/
    line-height: 45px !important;
    padding-top: 5px;
    padding-bottom: 0 !important;
    height: 45px;
}

.e-control.e-dropdownlist.e-lib.e-input {
    height: 22px !important;
    line-height: 22px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 12px !important; /* Optional: adjust if content overflows */
}

.e-input-group .e-input-group-icon, .e-input-group.e-control-wrapper .e-input-group-icon {
    min-height: 22px !important;
    max-height: 22px !important;
}

.e-control.e-datepicker.e-lib.e-input.e-keyboard {
/*    height: 22px !important;*/
    line-height: 22px; /* keep the text vertically centered */
    padding-top: 0; /* you may need to tweak padding */
    padding-bottom: 0;
    box-sizing: border-box;
    height:45px;
}

.sfcustom.e-input-group.e-control-container.e-control-wrapper {
    min-width: 100% !important;
}

.sfcustom.e-input-group.e-control-container.e-control-wrapper {
    min-width: 100% !important;
}




.phone-code {
    width: 80px;
    min-width: 80px;
    border-radius: 8px !important;
    /*border: 2px solid #E1DFDD !important;*/
    padding: 10px 12px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    background: #fff;
}

    .phone-code input,
    .phone-code select {
        font-family: Inter, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        color: #201F1E;
        background: #fff;
    }

        .phone-code input::placeholder,
        .phone-code select::placeholder {
            color: #605E5C;
            font-family: Inter, sans-serif;
            font-size: 14px;
            font-weight: 400;
        }

    .phone-code:focus,
    .phone-code.e-control-wrapper.e-valid-input {
        border: 2px solid #E1DFDD !important;
        box-shadow: none !important;
    }

    .phone-code.e-control-wrapper.e-error {
        border: 2px solid #E1DFDD !important;
    }

.phone-number {
    flex-grow: 1;
    width: calc(100% - 88px);
    border-radius: 8px !important;
    border: 2px solid #E1DFDD !important;
    padding: 10px 12px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    background: #fff;
}

    .phone-number input {
        font-family: Inter, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        color: #201F1E;
        background: #fff;
    }

        .phone-number input::placeholder {
            color: #605E5C;
            font-family: Inter, sans-serif;
            font-size: 14px;
            font-weight: 400;
        }

    .phone-number:focus,
    .phone-number.e-control-wrapper.e-valid-input {
        border: 2px solid #517933 !important;
        box-shadow: none !important;
        height: 53px
    }

    .phone-number.e-control-wrapper.e-error {
        border: 2px solid #D13438 !important;
    }

/* Date picker specific styles */
.uniform-field.e-control-wrapper.e-date {
    border-radius: 12px !important;
}

/* Syncfusion icon styles */
.e-input-group-icon::before,
.e-ddl-icon::before {
    color: #323130;
}



/* Synfusion Chip css */
.e-chip-list.e-chip, .e-chip-list .e-chip {
    background: #517933 !important;
    border-color: #517933 !important;
    border-radius: 10px !important;
}

.e-chip-list .e-chip-text {
    margin-top: 1px !important;
    font-size: 14px !important;
}

.plocitySection {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* Document Section */
.documentTableWrapper {
    margin-top: 40px;
}

.downloadBtn {
    text-wrap: nowrap;
}

.cd-button {
    padding: 0.5rem 1rem;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #517933;
    background: var(--transparent, rgba(255, 255, 255, 0.00));
    color: var(--Primary-button-primary-bg-color, #517933);
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.doc-table-container {
    background-color: white;
    border-radius: 10px;
    overflow: auto;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 2rem auto;
    font-family: Arial, sans-serif;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}


.doc-td {
    padding: 3px 12px;
    font-size: 14px;
    color: #333;
}

.doc-th {
    padding: 7.5px 12px;
    font-size: 14px;
    color: #333;
}

    .doc-td input, .doc-th input {
        width: 18px;
        height: 18px;
    }

.doc-table-head {
    background-color: #FAF9F8;
}

.doc-row {
    border-bottom: 1px solid #FAF9F8;
}

.doc-table-body {
    background: #A1A66814 !important;
}

.doc-status {
    font-weight: 500;
}

.doc-status-active {
    color: #22c55e; /* green */
}

.doc-dots {
    font-size: 20px;
    cursor: pointer;
}

/* ________________________ Start Dialog ________________________________ */

/* Dialog styles */
.custom-popup .e-dlg-container {
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-popup .e-dialog {
    background: #F3F2F1;
    padding: 20px 20px 0px 20px;
    border-radius: 24px;
    width: 665px;
    max-width: 90%;
    box-sizing: border-box;
}

.custom-popup .e-dlg-header-content {
    padding: 0;
    border-bottom: none;
}

.custom-popup .popup-title {
    color: #517933;
    font-size: 32px;
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    line-height: 40px;
    margin-bottom: 32px;
    margin-left: 27px;
}

.custom-popup .e-dlg-content {
    padding-top: 0;
    background: #F3F2F1;
}

/* Button container */
.custom-popup .d-flex.justify-content-end.mt-4.gap-2 {
    display: flex;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #ffffff;
}

/* Button styles */
.custom-popup .e-btn.e-outline.e-flat.e-danger {
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    background: transparent;
    color: #517933;
    border: 1px solid #3A5624;
}

.custom-popup .e-btn.e-outline.e-flat.e-success.e-primary {
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    background: #517933;
    color: white;
    border: none;
}
.custom-popup .e-btn.e-outline.e-flat.e-delete.e-primary {
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    background: #D7734E;
    color: white;
    border: none;
}

/* Two-column form layout */
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    flex: 1;
    min-width: 0;
}

/* Custom Input Field Styles */
.custom-popup .custom-input-field {
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    display: flex;
}

    .custom-popup .custom-input-field .label-container {
        justify-content: flex-start;
        align-items: center;
        gap: 2px;
        display: inline-flex;
    }

    .custom-popup .custom-input-field .label-text {
        justify-content: center;
        display: flex;
        flex-direction: column;
        color: var(--Text-color-content-text-color-alt2, #484644);
        font-size: 12px;
        font-family: Inter;
        font-weight: 500;
        line-height: 18px;
        word-wrap: break-word;
    }

    .custom-popup .custom-input-field .required-indicator {
        justify-content: center;
        display: flex;
        flex-direction: column;
        color: #D13438;
        font-size: 10px;
        font-weight: 500;
        line-height: 16px;
        word-wrap: break-word;
    }

    .custom-popup .custom-input-field .input-container {
        align-self: stretch;
        padding: 0px;
        background: var(--Background-color-content-bg-color, white);
        border-radius: 6px;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
        display: flex;
        border: 1px solid #fff;
        width: 100%;
        height: 45px;
    }
    .custom-popup .custom-input-field .input-container-area {
        align-self: stretch;
        padding: 0px;
        background: var(--Background-color-content-bg-color, white);
        border-radius: 6px;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
        display: flex;
        border: 1px solid #fff;
        width: 100% !important; 
    }

        .custom-popup .custom-input-field .input-container .e-dropdownlist,
        .custom-popup .custom-input-field .input-container .e-textbox,
        .custom-popup .custom-input-field .input-container .e-maskedtextbox,
        .custom-popup .custom-input-field .input-container .e-multi-line-input {
            flex: 1 1 0;
            justify-content: flex-start;
            align-items: center;
            gap: 6px;
            display: flex;
            height: 100%;
            width: 100%;
        }

            .custom-popup .custom-input-field .input-container .e-dropdownlist .e-input,
            .custom-popup .custom-input-field .input-container .e-textbox .e-input,
            .custom-popup .custom-input-field .input-container .e-maskedtextbox .e-input,
            .custom-popup .custom-input-field .input-container .e-multi-line-input textarea {
                color: var(--Text-color-content-text-color-disabled, #A19F9D);
                font-size: 12px;
                font-family: Inter;
                font-weight: 400;
                line-height: 18px;
                word-wrap: break-word;
                border: none;
                background: transparent;
                width: 100%;
                height: 100%;
                padding: 0 8px;
                box-sizing: border-box;
                -webkit-appearance: none;
                -moz-appearance: none;
                appearance: none;
            }

            .custom-popup .custom-input-field .input-container .e-multi-line-input textarea {
                resize: none;
                height: 36px;
                overflow-y: auto;
                line-height: 18px;
                padding: 8px;
                border-radius: 6px;
                margin-top: -9px
            }

    .custom-popup .custom-input-field .e-control.e-dropdownlist,
    .custom-popup .custom-input-field .e-control.e-textbox,
    .custom-popup .custom-input-field .e-control.e-maskedtextbox,
    .custom-popup .custom-input-field .e-control.e-multi-line-input {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        width: 100%;
        height: 45px;
    }

        .custom-popup .custom-input-field .e-control.e-dropdownlist .e-input-group,
        .custom-popup .custom-input-field .e-control.e-textbox .e-input-group,
        .custom-popup .custom-input-field .e-control.e-maskedtextbox .e-input-group,
        .custom-popup .custom-input-field .e-control.e-multi-line-input.e-input-group {
            border: none !important;
            box-shadow: none !important;
            background: transparent !important;
            width: 100%;
            height: 100%;
        }

            .custom-popup .custom-input-field .e-control.e-dropdownlist .e-input-group .e-input,
            .custom-popup .custom-input-field .e-control.e-textbox .e-input-group .e-input,
            .custom-popup .custom-input-field .e-control.e-maskedtextbox .e-input-group .e-input,
            .custom-popup .custom-input-field .e-control.e-multi-line-input.e-input-group textarea {
                padding: 0 !important;
            }

        .custom-popup .custom-input-field .e-control.e-dropdownlist .e-ddl-icon {
            color: #A19F9D;
        }

.custom-popup .e-input-group:not(.e-success):not(.e-warning):not(.e-error),
.custom-popup .e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error) {
    border-color: #fff !important;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-popup .validation-message {
    color: #D13438;
    font-size: 12px;
    font-family: Inter;
    font-weight: 400;
    line-height: 16px;
    margin-top: 3px;
    display: block;
}

.custom-popup .custom-input-field[data-states="Error"] .input-container,
.custom-popup .e-input-group.e-error,
.custom-popup .e-input-group.e-control-wrapper.e-error {
    border: 1px solid #D13438 !important;
    height: 45px;
    /* line-height: 44px !important; */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.custom-popup .custom-input-field .e-checkbox-wrapper .e-label {
    color: var(--Text-color-content-text-color-alt2, #484644);
    font-size: 12px;
    font-family: Inter;
    font-weight: 400;
    line-height: 18px;
}

.custom-popup .custom-checkbox-container {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 14px;
    font-family: Inter;
    font-weight: 400;
    line-height: 18px;
    color: var(--Text-color-content-text-color-alt2, #484644);
    user-select: none;
    -webkit-user-select: none;
}

    .custom-popup .custom-checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.custom-popup .custom-checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background: white;
    border-radius: 6px;
    border: 1px solid #517933;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.custom-popup .custom-checkbox-container:hover input ~ .custom-checkmark {
    border: 1px solid #3A5624;
}

.custom-popup .custom-checkbox-container input:checked ~ .custom-checkmark {
    background: #517933;
    border-color: #517933;
}

.custom-popup .custom-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5.5px;
    top: 4px;
    width: 5px;
    height: 7px;
    border: solid white;
    border-width: 0 1.75px 1.75px 0;
    transform: rotate(45deg);
}

.custom-popup .custom-checkbox-container input:checked ~ .custom-checkmark:after {
    display: block;
}

.custom-popup .custom-checkbox-container input:disabled ~ .custom-checkmark {
    background: #F3F2F1;
    border-color: #C8C6C4;
    cursor: not-allowed;
}

.custom-popup .custom-checkbox-container input:disabled:checked ~ .custom-checkmark {
    background: #A19F9D;
    border-color: #A19F9D;
}

    .custom-popup .custom-checkbox-container input:disabled:checked ~ .custom-checkmark:after {
        border-color: #E1DFDD;
    }

.custom-popup .custom-input-field .label-container {
    display: flex;
}

/* Loading Overlay Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.custom-popup .custom-input-field .e-input-group.e-error,
.custom-popup .custom-input-field .e-input-group.e-control-wrapper.e-error {
    height: 45px !important;
    line-height: 45px !important;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-popup .custom-input-field .e-input-group.e-success,
.custom-popup .custom-input-field .e-input-group.e-control-wrapper.e-success {
    height: 45px !important;
    line-height: 45px !important;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*.custom-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    background: #fff; 
}*/
.customInputArea {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0px solid #ccc;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    width: 100%;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* ________________________ End Dialog ________________________________ */

/* ________________________ Timesheet ________________________________ */
.profile-tab-title {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0.48px;
    color: #201F1E;
    padding: -1px 16px;
    margin: 0;
}
.missed-checout {
    background-color: #F6E5D5 !important;
    padding: 4px;
    color: #D7734E !important;
    border-radius: 12px;
}
.absent {
    background-color: #F6E5D5 !important;
    padding: 4px;
    color: #D7734E !important;
}
.absent-first {
    background-color: #F6E5D5 !important;
    padding: 4px;
    color: #D7734E !important;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.absent-last {
    background-color: #F6E5D5 !important;
    padding: 4px;
    color: #D7734E !important;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.weekend {
    background-color: #EDF6F7 !important;
    padding: 4px;
    color: #336D79 !important; 
}
.weekend-first {
    background-color: #EDF6F7 !important;
    padding: 4px;
    color: #336D79 !important;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.weekend-last {
    background-color: #EDF6F7 !important;
    padding: 4px;
    color: #336D79 !important;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.leave-pending {
    background-color: #FCF6E9 !important;
    padding: 4px;
    color: #E3B94F !important;
}

.leave-pending-first {
    background-color: #FCF6E9 !important;
    padding: 4px;
    color: #E3B94F !important;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.leave-pending-last {
    background-color: #FCF6E9 !important;
    padding: 4px;
    color: #E3B94F !important;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.leave-approved {
    background-color: #F2F7ED !important;
    padding: 4px;
    color: #517933 !important;
}

.leave-approved-first {
    background-color: #F2F7ED !important;
    padding: 4px;
    color: #517933 !important;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.leave-approved-last {
    background-color: #F2F7ED !important;
    padding: 4px;
    color: #517933 !important;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.edit-timesheet {
    display: flex;
    padding: 24px 32px 24px 24px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: var(--Radius-2XL, 16px);
    border: 1px solid var(--Foregroung-color-theme-lighter-hover, #C9E1B7);
    background: var(--Foregroung-color-primary-lighter, #E4F0DB);
}
.edit-timesheet-date-calender {
    display: flex;
    width: 236px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
}
.edit-timesheet-calender{
    display: flex;
    width: 40px;
    height: 40px;
    padding: 3.333px 4.167px;
    justify-content: center;
    align-items: center;
}
    .edit-timesheet-calender .bi {
        font-size: 40px; /* icon size */
        color: #336D79; /* icon color */
    }
.edit-timesheet-day {
    color: #000;
    /* bold/text-base */
    font-family: var(--Font-Family-Body, Inter);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 125% */
    letter-spacing: 0.24px;
}
.edit-timesheet-date {
    color: var(--Text-color-content-text-color-alt3, #605E5C);
    /* Regular/text-xs */
    font-family: var(--Font-Family-Body, Inter);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 150% */
}
.edit-timesheet-breaktime {
    display: flex;
    width: 104px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
}
.edit-timesheet-totalhours {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.edit-timesheet-totalhours-label {
    color: var(--Text-color-placeholder-text-color, #605E5C);
    /* Regular/text-xs */
    font-family: var(--Font-Family-Body, Inter);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 150% */
}
.edit-timesheet-totalhours-hours {
    color: var(--Text-color-content-text-color, #201F1E);
    /* Medium/text-sm */
    font-family: var(--Font-Family-Body, Inter);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 157.143% */
}
.edit-timesheet-breaktime-label {
    color: var(--Text-color-placeholder-text-color, #605E5C);
    /* Regular/text-xs */
    font-family: var(--Font-Family-Body, Inter);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 150% */
}
.edit-timesheet-breaktime-hours {
    display: flex;
    height: 20px;
    padding: 0 8px;
    align-items: center;
    border-radius: var(--Radius-S, 4px);
    background: var(--Foregroung-color-info, #336D79);
    color: var(--Info-button-info-text, #FFF);
    text-align: center;
    /* Medium/text-xs */
    font-family: var(--Font-Family-Body, Inter);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 150% */
}

.edit-timesheet-log {
    display: flex;
    align-items: center;
    gap: 7px;
}
.edit-timesheet-log-label {
    color: #000;
    /* Medium/text-sm */
    font-family: var(--Font-Family-Body, Inter);
    font-size: var(--Body-Copy-SM, 14px);
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 157.143% */
}
.edit-timesheet-log-value {
    color: var(--Text-color-content-text-color, #201F1E);
    /* bold/text-sm */
    font-family: var(--Font-Family-Body, Inter);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px; /* 128.571% */
    letter-spacing: 0.21px;
}
.edit-timesheet-activity {
    display: flex;
    align-items: center;
    gap: 12px;
}
.edit-timesheet-activity-row {
    display: flex;
    height: 38px;
    align-items: center;
    gap: 0px;
    align-self: stretch;
}
.edit-timesheet-activity-lable {
    color: var(--Text-color-content-text-color-alt3, #605E5C);
    /* Medium/text-xs */
    font-family: var(--Font-Family-Body, Inter);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 150% */
}
.edit-timesheet-activity-detail {
    display: flex;
    width: 105px;
    height: 38px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-radius: var(--Radius-None, 0);
}
.edit-timesheet-requst {
    display: flex;
    height: 22px;
    padding: 0 8px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 4px;
    background: var(--Shared-yellow10, #E3B94F);
}
.edit-timesheet-requst-status {
    color: var(--Foregroung-color-primary-text-color, #FFF);
    text-align: center;
    /* Medium/text-sm */
    font-family: var(--Font-Family-Body, Inter);
    font-size: var(--Body-Copy-SM, 14px);
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 157.143% */
}
.edit-timesheet-footer {
    
    height: 32px;
    padding: 5px 8px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-bottom: 1px solid var(--Border-color-border-light, #EDEBE9);
}
.edit-timesheet-footer-text {
    display: table-cell !important;
    height: 32px;
    padding: 0 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: var(--Radius-M, 6px);
    border: 0 solid var(--Info-button-info-border-color-disabled, #F3F2F1);
    background: var(--Info-button-info-bg-color-disable, #F3F2F1);
}
.edit-timesheet-title-bar {
    display: flex;
    align-items: center;
    gap: 48px;
    align-self: stretch;
}
.edit-timesheet-title-bar-tittle {
    color: var(--Text-color-content-text-color, #201F1E);
    /* Heading/H4 */
    font-family: var(--Font-Headings, "DM Serif Display");
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 30px */
    letter-spacing: 0.48px;
    width:60%;
}
.edit-timesheet-title-bar-dropdown {
    padding-inline-start:30px;
    display: flex;
    width: 240px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 14px;
}

    .custom-table th, .custom-table td {
        padding: 10px 14px;
        border-bottom: 1px solid #eee;
        text-align: left;
    }

    .custom-table th {
        background: #f7f7f7;
        font-weight: 600;
    }

    .custom-table tr.weekend td {
        background: #eaf5f7;
        color: #006d77;
    }

    .custom-table tr.absent td {
        background: #fdeae5;
        color: #c53030;
    }
/* ________________________ Timesheet ________________________________ */