 /* .admin {
   max-width: 100%;
   font-family: Arial, sans-serif;


 } */

 .admin {
    max-width: 100%;
    font-family: Arial, sans-serif;
    background: white;
    padding: 40px 0px;
    border-radius: 7px;
}

 .admin label {
   font-size: 14px;
   font-weight: 500;
   display: flex;
   align-items: center;
   gap: 4px;
   color: #1e1e1e;
 }

 .admin .info-icon {
   font-size: 12px;
   color: #9ca3af;
   cursor: default;
 }

 .admin .form-control,
 .admin select {
   font-size: 14px;
   color: #6b7280;
   border: 1px solid #d1d5db;
   border-radius: 6px;
   padding: 6px 12px;
   background-color: white;
   min-height: 38px;
 }

 .admin .form-control:focus,
 .admin select:focus {
   border-color: #2563eb;
   box-shadow: 0 0 0 0.25rem rgb(59 130 246 / 0.25);
   color: #374151;
   outline: none;
 }

 .admin .form-check-label {
   font-size: 14px;
   color: #1e1e1e;
   user-select: none;
 }

 .admin .form-check-input:checked {
   background-color: #2563eb;
   border-color: #2563eb;
 }

 .admin .text-red {
   color: #dc2626;
 }

 .admin .input-icon {
   position: relative;
 }

 .admin .input-icon>i {
   position: absolute;
   left: 12px;
   top: 50%;
   transform: translateY(-50%);
   color: #9ca3af;
   font-size: 14px;
   pointer-events: none;
 }

 .admin .input-icon>input {
   /* padding-left: 32px; */
   color: #374151;
 }

 .admin .radio-group>label {
   margin-right: 24px;
   font-weight: 500;
   font-size: 14px;
   color: #1e1e1e;
   cursor: pointer;
 }

 .admin .radio-group input[type="radio"] {
   accent-color: #2563eb;
   margin-right: 6px;
   cursor: pointer;
 }

 .admin .checkbox-group input[type="checkbox"] {
   accent-color: #2563eb;
   cursor: pointer;
 }

 .admin .f-select {
   width: 200.73px !important;
 }

 .admin input::placeholder {
   color: #6b7280;
   ;
 }




 .menu-toggle span {
   margin-left: 15px;
   ;
 }



 .other-info .nav-tabs>.nav-item>.nav-link.active {
   /* border: 1px solid #888; */
   border-radius: 0px !important;
   color: black !important;
   border: unset !important;
   border-bottom: 3px solid #fd8062 !important;
 }



 .other-info .nav-tabs>.nav-item>.nav-link {
   color: black !important;
 }





 .other-info .nav-tabs {
   padding: 0 !important;
   /* padding: 15px .7rem; */
   border-bottom: 1px solid #e0e0e0;
 }

 .other-info .nav-tabs>.nav-item>.nav-link {
   border: none;
 }





 .other-info h2 {
   font-size: 18px !important;
   font-weight: 600;
   margin-bottom: 20px !important;
   color: #000;
 }


 /* .other-info .css-19bb58m{
    height: 38px;
}

.other-info .css-1cfo1cf{
    height: 38px;
    min-height: 38px;



}

.other-info .css-1lx7dxn{
    height: 38px;
} */

 /* .other-info .css-7g3fmk input */


 @media (max-width: 576px) {
   .admin .row>[class*="col-"] {
     margin-bottom: 12px;
   }

   .admin .radio-group>label {
     margin-right: 16px;
   }
 }




 .add-customer-btn button {
   padding: 10px 15px !important;
 }

 .add-row-btn button.btn {
   padding: 10px 15px !important;
   font-weight: normal;
 }

 .remove-btn button {
   padding: 0px 0px !important;
   font-weight: normal;
   font-size: 18px;
   background: none;
 }

 .remove-btn {
   text-align: center;
 }


 .table-responsive>.table-bordered {
   border: 0;
   border: #e0e0e0;
 }


 .total-price{
  color:#000;
 }

 .preview-pdf-section {
    position: sticky;
    bottom: 0;
    background: white;
    width: 100%;
    left: 0;
    z-index: 10;
    padding: 15px;
        box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.08);
}

 .preview-pdf-section button{
  margin:0!important;
 }

 .preview-pdf-section button svg {
    font-size: 18px;
    margin-right: 4px;
}

.email-panel {
  position: fixed;         /* fixed to viewport */
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 40px 50px;
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: block;
  overflow-y: auto;
  max-height: 90vh;        /* keep it scrollable if content tall */
  animation: fadeInUp 0.3s ease forwards;
}

/* Overlay styles (for your backdrop) */
.modal-backdrop {
  position: fixed;
  inset: 0; /* shorthand for top/right/bottom/left:0 */
  background: rgba(0, 0, 0, 0.6);
  z-index: 900;
}

/* Simple fade in up animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}


.textarea-message textarea{
  border-radius: 7px;
}

.email-panel #modal-title{
  margin-bottom: 20px!important;
}

.cc-toggles button{
    border: none;
    background: unset;
    padding: 0;
    font-size: 12px;
    color:#000;
}

.new-invoice-heading i{
      font-size: 23px;
    margin-right: 10px;
}




.stepper {
  display: flex;
  align-items: center;
  position: relative;
}

.step-item {
  position: relative;
  flex: 1;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 36px;
  font-weight: 600;
}

.step-line {
  height: 2px;
  flex: 1;
  background-color: #ced4da;
  margin: 0 8px;
  align-self: center;
}

.step-label {
  font-size: 14px;
  color: black;;
}

.career-response
button.btn{
      padding: 10px 25px !important;
}

.profile-po img{
  object-fit:cover;
}
.profile-po button {
    padding: 0 !important;
    left: 0;
    background: none;
    color: rgb(0, 0, 0);
    border: none !important;
    bottom: 5px !important;
}
.profile-po button:hover {
  background:none;;
}

.profile-container .card-body{
   /* padding:0; */
   background:white;
}

.profile-container .card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
    background: #d0d0d0c4;
}

.show-acc-btn{
  background: none;
    color: black;
    padding: 0;
}

.employees-profile button.btn {
    padding: 6px 15px !important;
    font-size: 12px;
    font-weight: normal;
    margin: 0;
}



.employees-profile .nav-tabs>.nav-item>.nav-link {
    color: #888 !important;
    border-radius: 0;
    background: white;
    margin: 0;
    margin-right: 5px;
    /* background-color: rgba(0, 0, 0, 0); */
    border: 1px solid rgba(0, 0, 0, 0);
    /* border-radius: 30px; */
    font-size: 14px;
    padding: 11px 23px;
    line-height: 1.5;
}

.employees-profile .nav-tabs>.nav-item>.nav-link.active {
    border-radius: 30px;
    border-bottom: 3px solid red;
    border-radius: 0;
    color: black !important;
    background: white;
}

.employees-profile .nav-tabs{
  border-bottom: 2px solid #ddd;
    padding-bottom: 20px;
    padding: 0;
}

.profile-container input{
  min-height: 40px;
  
}

.profile-container select{
  height:40px;
}




.modal-content {
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.95rem;
}

.modal-header,
.modal-footer {
  padding: 1rem 1.25rem;
}
.modal-body {
  padding: 1rem 1.5rem;
}



.modal-content .modal-header{
  padding-bottom: 10px!important;
  padding-top: 10px!important;
}

.modal-content .modal-header button {

    top: 21px!important;
}

.show-acc-btn{
  margin-left: 5px;;
}

.personal-info-list li {
    border-bottom: 1px solid #ddd;
    padding: 5px 0px;
}

.profile-btn{
      padding: 5px 12px;
    font-size: 13px;
    font-weight: normal;
    /* background: linear-gradient(to right, rgb(54, 209, 220), rgb(91, 134, 229)); */
    background:none;
    border-bottom: 1px solid #fff;
    color: #ffffff;
    border-radius: 0;
    margin-top: 15px;
}

.check-in-btn{
  font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    padding: 10px 20px;
    width:100%;
        /* background: linear-gradient(to right, rgb(54, 209, 220), rgb(91, 134, 229)); */
        background-color: #fff;
            /* box-shadow: -1px 1px 8px 0px #ff6f61 !important; */
            border-radius: 50px;
            border:none;
                color: #5a57fb;

}


/* Override default calendar colors */
.custom-calendar {
  border: none;
  width: 100%;
  background-color: transparent;
  font-family: "Segoe UI", sans-serif;
}

.custom-calendar abbr {
  color: #212529 !important; /* Dark text */
  font-weight: 500;
}

.custom-calendar .react-calendar__tile {
  padding: 0.4rem 0;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.custom-calendar .react-calendar__tile--now {
  background-color: #dbeafe !important; /* Light blue */
  color: #1e3a8a !important;
}

.custom-calendar .react-calendar__tile--active {
  background-color: #0d6efd !important;
  color: white !important;
}

.custom-calendar .react-calendar__tile:hover {
  background-color: #e2e6ea;
}

/* Optional: highlight today's date */
.current-day {
  border: 2px solid #0d6efd;
  border-radius: 6px;
}


.calendar-dropdown{
      right: 0!important;
    top: 35px;
}
.react-calendar__navigation{
      background: #adadadb5;
}

.react-calendar__navigation button {
    min-width: 0px;
    background: none;
    padding: 10px 24px;
}

.react-calendar__navigation button:disabled {
    background-color: #ec6408!important;
}

.add-employee button.btn {
    padding: 6px 12px !important;
    font-size: 12px!important;
    font-weight: normal!important;
}

.filters-name input::placeholder{
  color: black;
}


.filters-name input{
  border-radius: 0;
}

.filters-bx{
      background: white;
    padding: 15px 0px;
    border: 1px solid #E3E3E3;
    margin-left: 0;
    margin-right: 0;
}

.filters-bx .circle-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    padding: 0;
    /* background: linear-gradient(90deg, #FF6F61 29%, #FBA065 95%); */
        background: linear-gradient(60deg, #5A57FB 29%, #02EBAD 95%);
    color: white;
    display: flex
;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.3s ease;
}
.filters-bx .circle-btn i{
  margin-right: 0!important;
}
.emp-dashboard
.nav>li>a:hover, .nav>li>a:focus {
    text-decoration: none;
       background-color: #1cbec461;
}

.emp-dashboard
.nav>li>a:hover, .nav>li>a:hover {
    text-decoration: none;
       background-color: #1cbec461!important;
       color:white!important;
}
.emp-dashboard .nav>li>a{
    padding: 6px 10px;
  width:100%

}

.emp-dashboard .nav>li {
    position: relative;
    display: inline-block;
    width: 100%;
    margin:5px 0px;
}

.emp-dashboard button{
  font-size: 14px;
    font-weight: normal;
    padding: 10px 15px;

}

.balance-section > div{
       box-shadow: -1px 1px 8px 0px #ff6f61 !important;

}

.emp-dashboard .modal-content{
  color:black;
}

section.content {
 
    background: #fff!important;
}

.items-home .card-body{
  color:black;
}

.emp-dashboard .offcanvas{
  color:black; 
}






.check-out-button {
    position: relative;
    display: inline-block;
    /* background-color: #007bff; */
    /* color: #fff; */
    /* padding: 8px 12px; */
    /* border-radius: 6px; */
    cursor: pointer;
    border-radius: 50px;
    overflow: hidden;
    transition: background-color 0.2s ease-in-out;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    padding: 10px 20px;
    width: 100%;
    /* background: linear-gradient(to right, rgb(54, 209, 220), rgb(91, 134, 229)); */
    background-color: white;
    /* box-shadow: -1px 1px 8px 0px #ff6f61 !important; */
}

.elapsed-time {
    z-index: 1;
    position: relative;
    color: #5a57fb;
    font-weight: bold;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    color: #5a57fb;
    display: flex
;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: 2;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
}

.check-out-button:hover .hover-overlay {
  opacity: 1;
}


.download-btn{
      background: linear-gradient(60deg, #5A57FB 29%, #02EBAD 95%);
}

.emp-dashboard .nav>li>a i {
    margin-right: 8px;
}


.desktop-none{
  display: none;
}



.complete-profile-area .invite-btn{
  background: #7152F3;
}


/* ==============================
   Modal Backdrop Blur (Premium)
============================== */

/* Dark + blur overlay */
.edit-employee-modal::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55); /* dark overlay */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
  animation: modalBackdropFade 0.25s ease;
}

/* Keep modal above overlay */
.edit-employee-modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
}

/* Smooth fade */
@keyframes modalBackdropFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



.edit-employee-modal .modal-dialog {
  animation: modalPop 0.3s ease;
}

@keyframes modalPop {
  from {
    transform: translateY(12px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}


.show-delete-modal .edit-employee-modal .modal-dialog {
    max-width: fit-content!important;
}



/* ===============================
   Pagination UI (Admin Panel)
================================ */

.pagination-area .pagination {
  gap: 6px;
}

.pagination-area .page-link {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 6px 12px;
  font-size: 14px;
  color: #374151;
  background: #fff;
}

.pagination-area .page-item.active .page-link {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}

.pagination-area .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-area .page-link:hover {
  background: #eef2ff;
}

.time-tracker .btn-primary {
    background: #00A63E;
    margin: 0;
    border-radius: 8px;
    padding: 8px 20px;
}




/* ================= PAGE BASE ================= */
.attendance-summary-page .card {
    border-radius: 14px !important;
    background: #ffffff;
    border: 1px solid #E8E8E8;
    padding: 15px;
}


.today-summary-card h6{
  color: #0A0A0A;
  margin-bottom: 15px !important;
  border: none !important;
  font-size: 16px;
  text-transform: capitalize;
  font-weight: 500;
}
/* ================= TODAY SUMMARY ================= */
.today-summary-card {
  background: #0b0b0b;
  color: #ffffff;
}


.attendance-chart-card h6{
      font-size: 14px;
      color: #0A0A0A;
      font-weight: 500;
      text-transform: capitalize;
}
.today-summary-card th,
.today-summary-card td {
  color: #222222;
  border-color: rgba(255,255,255,0.08);
}
.today-summary-card th {
    border-top: none !important;
}
/* ================= STATUS BADGES ================= */
.status-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
}

.status-badge.on-time {
  background: #e8f8f0;
  color: #1f9254;
}

.status-badge.late {
  background: #fff3e0;
  color: #ff9800;
}

.status-badge.absent {
  background: #ffeaea;
  color: #ff4d4f;
}

/* ================= TABLE & SCROLL ================= */
.attendance-table-card {
  max-height: 520px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #6f5cff #f2f2f2;
}

.attendance-table-card::-webkit-scrollbar {
  width: 6px;
}

.attendance-table-card::-webkit-scrollbar-track {
  background: #f2f2f2;
  border-radius: 10px;
}

.attendance-table-card::-webkit-scrollbar-thumb {
  background: #6f5cff;
  border-radius: 10px;
}

/* ================= CHART ================= */
.attendance-chart-card {
  text-align: center;
}

/* ================= LEGEND ================= */
.attendance-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  font-size: 13px;
}

.attendance-legend .dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.dot.present { background: #55c79a; }
.dot.late { background: #ffb020; }
.dot.absent { background: #ff6b6b; }
.dot.halfday { background: #ffd666; }
.dot.leave { background: #7da0fa; }




.employee-attendance-summary th {
    padding-left: 0 !important;
}
.employee-attendance-summary td {
    padding-left: 0 !important;
}
.employee-attendance-summary .table td, .table th {
    border-top: none!important;
}





/* ===== ATTENDANCE LEGEND (BUBBLE STYLE) ===== */
.legend-bubbles {
  display: grid;
  grid-template-columns: repeat(3, auto);
    gap: 10px 5px;
  justify-content: center;
  font-size: 11px;
}

.legend-bubbles > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Circle bubble */
.legend-bubbles .dot {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

/* Text */
.legend-bubbles .label {
  color: #6b7280;
  white-space: nowrap;
}

/* COLORS — match screenshot */
.legend-bubbles .present {
  background: #e9fbf3;
  color: #1f9254;
}

.legend-bubbles .absent {
  background: #ffeaea;
  color: #ff4d4f;
}

.legend-bubbles .late {
  background: #fff3e0;
  color: #ff9800;
}

.legend-bubbles .leave {
  background: #eaf1ff;
  color: #3b82f6;
}

.legend-bubbles .halfday {
  background: #fff7db;
  color: #f4b400;
}

.legend-bubbles .weekoff {
  background: #f3edff;
  color: #7c4dff;
}

.legend-bubbles .holiday {
  background: #ffe9f4;
  color: #e91e63;
}





/* ============================================= Admin Attendace Summary ===================== */

/* =========================================================
   ADMIN ATTENDANCE SUMMARY – HEADER SECTION
========================================================= */

.admin-attendance-summary {
  margin-bottom: 24px;
}

/* TOP BAR */
.admin-attendance-summary .attendance-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0px;
  padding-bottom: 40px;
}

/* TOGGLE */
.admin-attendance-summary .attendance-toggle {
  background: #f3f4f6;
  padding: 7px;
  border-radius: 10px;
  display: inline-flex;
  gap: 4px;
}

.admin-attendance-summary .attendance-toggle button {
  border: none;
  background: transparent;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
}

.admin-attendance-summary .attendance-toggle button.active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 0 0 1px #e5e7eb;
}

/* ACTIONS */
.admin-attendance-summary .attendance-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* DATE PICKER */
.admin-attendance-summary .date-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid #DFBCFF; /* purple border */
  border-radius: 10px;
  color: #8200DB;
  font-size: 14px;
  background: #fff;
  font-weight: 500;
}

/* FILTER BUTTON */
.admin-attendance-summary .filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #9CF5BE;
  background: #ecfdf5;
  color: #008236;
  font-size: 14px;
  font-weight: 500;
}

/* EXPORT BUTTON */
.admin-attendance-summary .export-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1.5px solid #8EC5FF;
  background: #eff6ff;
  color: #1447E6;
  font-size: 14px;
  font-weight: 500;
}





/* =========================================================
   ADMIN ATTENDANCE SUMMARY – TODAY HIGHLIGHT CARDS
========================================================= */

.admin-attendance-summary .today-attendance-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

/* CARD BASE */
.admin-attendance-summary .attendance-card {
  padding: 7px 13px;
  border-radius: 14px;
  border: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
  animation: pulseFade 0.6s ease;
}

/* LEFT SIDE */
.admin-attendance-summary .attendance-card .card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-attendance-summary .attendance-card h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #6A7282;
  text-transform: capitalize;
}

.admin-attendance-summary .attendance-card p {
  margin: 6px 0 0;
  font-size: 12px;
  color: #99A1AF;
}

/* ICON CIRCLE */
.admin-attendance-summary .icon-circle {
  height: 48px;
  width: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* COUNT */
.admin-attendance-summary .card-count {
  font-size: 40px;
  font-weight: 400;
  color: #101828;
}

/* COLOR THEMES */
.admin-attendance-summary .green .icon-circle {
  background: #DCFCE7;
  color: #00A63E;
}

.admin-attendance-summary .red .icon-circle {
  background: #FFEEEE;
  color: #C00F0C;
}

.admin-attendance-summary .orange .icon-circle {
  background: #FFF6E0;
  color: #CA3500;
}

.admin-attendance-summary .blue .icon-circle {
  background: #DBEAFE;
  color: #155DFC;
}


/* =========================================================
   ADMIN ATTENDANCE SUMMARY – TODAY TABLE
========================================================= */

.admin-attendance-summary .today-attendance-table {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  padding-left: 0;
  padding-right: 0;
}

/* TITLE */
.admin-attendance-summary .today-attendance-table .table-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #111827;
}

/* TABLE */
.admin-attendance-summary .table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

.admin-attendance-summary .table-wrapper thead th {
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  padding-bottom: 10px;
}

.admin-attendance-summary .table-wrapper tbody td {
  padding: 10px 0;
  font-size: 13px;
  color: #16151C;
  border-top: 1px solid #f1f1f1;
}

/* EMPLOYEE CELL */
.admin-attendance-summary .emp-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* AVATAR */
.admin-attendance-summary .avatar {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-attendance-summary .avatar.purple {
  background: #ede9fe;
  color: #7c3aed;
}

/* STATUS PILL */
.admin-attendance-summary .status-pill {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
}

.admin-attendance-summary .status-pill.ontime {
  background: #e9fbf3;
  color: #16a34a;
}

/* .admin-attendance-summary .status-pill.late {
  background: #ffeaea;
  color: #dc2626;
} */


/* =========================================================
   ADMIN ATTENDANCE SUMMARY – MONTH CALENDAR TABLE
========================================================= */

.admin-attendance-summary .month-attendance-table {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  /* padding-left: 0; */
  /* padding-right: 0; */
  border: 1px solid #E5E7EB;
}

/* TITLE */
.admin-attendance-summary .month-attendance-table .table-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* SCROLL WRAPPER */
.admin-attendance-summary .calendar-wrapper {
  overflow-x: auto;
  border-radius: 12px;
}

/* TABLE */
.admin-attendance-summary .calendar-table {
  border-collapse: collapse;
  min-width: 1400px;
}

.admin-attendance-summary .calendar-table th,
.admin-attendance-summary .calendar-table td {
  border-bottom: 1px solid #f1f1f1;
  padding: 10px;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

/* STICKY COLUMNS */
.admin-attendance-summary .sticky-col {
  position: sticky;
  left: 0;
  background: #ffffff;
  z-index: 2;
}

.admin-attendance-summary .name-col {
  left: 0;
  min-width: 200px;
}

.admin-attendance-summary .sticky-col:nth-child(2) {
  left: 200px;
  min-width: 160px;
}

.admin-attendance-summary .sticky-col:nth-child(3) {
  left: 360px;
  min-width: 100px;
}

/* DAY HEADER */
.admin-attendance-summary .day-head {
  min-width: 50px;
}

.admin-attendance-summary .day-number {
  font-weight: 600;
  color: #374151;
  font-size: 11px;
}

.admin-attendance-summary .day-name {
  font-size: 10px;
  color: #6B7280;
}

/* DAY BADGES */
.admin-attendance-summary .day-badge {
  display: inline-block;
  min-width: 28px;
  min-height: 28px;
  padding: 4px 0;
  justify-content: center;
  display: flex;
  align-items: center;
  line-height: 14px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
}

/* COLORS */
.admin-attendance-summary .present {
  background: #D0FAE5;
  color: #006045;
}

.admin-attendance-summary .absent {
  background: #FFDADC;
  color: #FB2C36;
}

.admin-attendance-summary .late {
  background: #FFEEE3;
  color: #FF6900;
}

.admin-attendance-summary .weekoff {
  background: #F3E8FF;
  color: #6E11B0;
}

.admin-attendance-summary .holiday {
  background: #eff6ff;
  color: #2563eb;
}

.admin-attendance-summary .halfday {
  background: #FFFAE3;
  color: #FDBB06;
}

.admin-attendance-summary .leave {
  background: #ffe9f4;
  color: #db2777;
}

/* FOOTER */
.admin-attendance-summary .calendar-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

/* PAGINATION */
.admin-attendance-summary .pagination {
  display: flex;
  gap: 6px;
}

.admin-attendance-summary .pagination button {
  border: none;
  background: #f3f4f6;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.admin-attendance-summary .pagination .active {
  background: #6d5dfc;
  color: #ffffff;
}


/* =========================================================
   ADMIN ATTENDANCE SUMMARY – MONTH LEGEND
========================================================= */

.admin-attendance-summary .month-attendance-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #f1f1f1;
}

.admin-attendance-summary .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
}

/* BADGE BASE */
.admin-attendance-summary .legend-badge {
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

/* COLORS */
.admin-attendance-summary .legend-badge.present {
  background: #e9fbf3;
  color: #16a34a;
}

.admin-attendance-summary .legend-badge.absent {
  background: #ffeaea;
  color: #dc2626;
}

.admin-attendance-summary .legend-badge.late {
  background: #fff4e5;
  color: #ea580c;
}

.admin-attendance-summary .legend-badge.holiday {
  background: #eff6ff;
  color: #2563eb;
}

.admin-attendance-summary .legend-badge.weekoff {
  background: #f3edff;
  color: #7c3aed;
}

.admin-attendance-summary .legend-badge.halfday {
  background: #fff7db;
  color: #ca8a04;
}

.admin-attendance-summary .legend-badge.leave {
  background: #ffe9f4;
  color: #db2777;
}

.admin-attendance-summary .legend-badge.na {
  background: #f3f4f6;
  color: #6b7280;
}


.admin-attendance-summary .table-wrapper{
  border: 1px solid #E5E7EB;
    padding: 20px;
    border-radius: 10px;
}


.highlight-percentages{
  color:#00A63E;
}

.approval-pending{
  color:#C10007!important;
}

.late-arrivals{
  color:#CA3500;
}

.admin-attendance-summary .sticky-col{
  text-align: left!important;
}






/* ===== OVERLAY ===== */
.admin-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.admin-filter-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ===== PANEL ===== */
.admin-filter-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 80vh;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.admin-filter-panel.open {
  transform: translateY(0);
}

/* ===== HEADER ===== */
.admin-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.admin-filter-header h6 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.admin-filter-header .close-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* ===== BODY ===== */
.admin-filter-body {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

.filter-group select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
}

.filter-group select:focus {
  border-color: #4f46e5;
}

/* ===== FOOTER ===== */
.admin-filter-footer {
  padding: 16px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #eee;
}

.apply-btn {
  background: #4f46e5;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
}

.reset-btn {
  background: #f3f4f6;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .admin-filter-body {
    grid-template-columns: 1fr;
  }
}



.status-pill {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
}

/* STATUS COLORS */
.status-pill.ontime {
  background: #e6f7ee;
  color: #1a7f37;
}

.status-pill.late {
  background: #fff4e5;
  color: #b45309;
}

.status-pill.absent {
  background: #fdecea;
  color: #b91c1c;
}

.status-pill.leave {
  background: #f3e8ff;
  color: #6b21a8;
}

.status-pill.halfday {
  background: #fef9c3;
  color: #92400e;
}

.status-pill.weekoff {
  background: #e0f2fe;
  color: #0369a1;
}

.status-pill.holiday {
  background: #ccfbf1;
  color: #0f766e;
}

.status-pill.na {
  background: #f3f4f6;
  color: #6b7280;
}


.admin-attendance-summary .calendar-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 12px;

  /* Smooth scrolling */
  scroll-behavior: smooth;

  /* Hide scrollbar (Firefox) */
  scrollbar-width: none;

  /* Touch devices */
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar (Chrome, Edge, Safari) */
.admin-attendance-summary .calendar-wrapper::-webkit-scrollbar {
  height: 0;
}




/* ===================================================                      ==========================================
=================================================== Leave Management Css ========================================== */

.viral-leaves-page {
  /* background: #f8fafc; */
  /* padding: 24px; */
  /* font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; */
}

.viral-leaves-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

/* ===== CARD ===== */
.vl-card {
  margin-bottom: 20px;
  border-radius: 14px !important;
  background: #ffffff;
  border: 1px solid #E8E8E8;
  padding: 15px;
}

.vl-card-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #0A0A0A;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== BUTTON ===== */
.vl-primary-btn {
  width: 100%;
  height: 42px;
  border-radius: 7px;
  border: none;
  background: #155DFC;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold!important;
  font-weight: 500;
  cursor: pointer;
}

/* ===== LEAVE LIST ===== */
.vl-leave-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border: 1px solid #E6E6E6;
  border-radius: 8px;
  margin-bottom: 10px;
}

.vl-leave-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #0A0A0A;
}

.vl-leave-date {
  font-size: 12px;
  color: #4A5565;
}

/* ===== BADGES ===== */
.vl-badge {
  padding: 4px 12px;
  font-size: 11px;
  border-radius: 7px;
  font-weight: 500;
}

.vl-badge.pending {
  background: #D8E7FF;
  color: #2B7FFF;
}

.vl-badge.approved {
  background: #DCFCE7;
  color: #016630;
}

.vl-badge.declined {
  background: #FFE2E2;
  color: #9F0712;
}

/* ===== BALANCE CARDS ===== */
.vl-balance-card {
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.vl-balance-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.vl-progress {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.vl-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.vl-balance-meta {
  margin-top: 5px;
  font-size: 11px;
  color: #4A5565;
}

/* COLORS */
.vl-balance-card.blue {background: #F4F8FF;border: 1px solid #9AC2FF;}
.vl-balance-card.blue .vl-progress span {background: #2B7FFF;}

.vl-balance-card.green {background: #F0FDF4;border: 1px solid #B9F8CF;}
.vl-balance-card.green .vl-progress span {background: #00C950;}

.vl-balance-card.purple {background: #FAF5FF;border: 1px solid #E9D4FF;}
.vl-balance-card.purple .vl-progress span {background: #AD46FF;}

/* ===== YTD ===== */
.vl-ytd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.vl-ytd-box {
  padding: 18px;
  border-radius: 12px;
  text-align: center;
}

.vl-ytd-box.used {
  background: #EFF6FF;
  color: #155DFC!important;
}

.vl-ytd-box.available {
  background: #ecfdf5;
  color: #00A63E;
}

.vl-ytd-number {
  font-size: 22px;
  font-weight: 700;
  /* color: #00A63E; */
}

.vl-ytd-label {
  font-size: 12px;
  margin-top: 0px;
  color: #4A5565;
}



/* ===== ACTIONS ===== */
.vl-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vl-retract-btn {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 7px;
  border: none;
  background: #EAD5FF;
  color: #AD46FF;
  cursor: pointer;
}

/* ===== BALANCE CARD EXTENDED ===== */
.vl-balance-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vl-balance-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vl-balance-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vl-icon {
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  border-radius: 10px;
  align-items: center;
}

.vl-icon.blue { background: #2563eb; }
.vl-icon.green {background: #00C950;}
.vl-icon.purple {background: #AD46FF;}

.vl-title {
  font-size: 14px;
  font-weight: 500;
  color: #101828;
}

.vl-sub {
  font-size: 12px;
  color: #4A5565;
  font-weight: 300;
  font-family: 'Inter';
}

.vl-right {
  text-align: right;
}

.vl-available {
  display: block;
  font-size: 12px;
  color: #4A5565;
  font-weight: 400;
}

.vl-progress {
  height: 8px;
}

.vl-balance-meta {
  display: flex;
  justify-content: space-between;
}

.vl-balance-meta::after {
  content: attr(data-percent);
  font-weight: 500;
}



/* ===== MODAL ROOT ===== */
.leave-modal-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

/* ===== BACKDROP (GLASS EFFECT) ===== */
.leave-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

/* ===== MODAL CARD ===== */
.leave-modal-card {
  position: relative;
  width: 800px;
  /* max-height: 100vh; */
  /* overflow-y: auto; */
  background: #fff;
  border-radius: 14px;
  margin: 30px auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
.leave-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.leave-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.leave-modal-title .leave-icon {
  color: #155DFC;
}

.leave-modal-close {
  background: #99A1AF;
  border: none;
  border-radius: 50%;
  width: 25px;
  color: white;
  font-weight: bold;
  height: 25px;
  cursor: pointer;
}

/* ===== BODY ===== */
.leave-modal-body {
  padding: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #0A0A0A;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 12px;
  background-color: #F9FAFB;
}

.form-group textarea {
  min-height: 50px;
  resize: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ===== FILE UPLOAD ===== */
.file-upload-box {
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.file-upload-box .upload-icon {
  font-size: 24px;
  color: #9ca3af;
}

.file-upload-box p {
  font-size: 13px;
  margin: 6px 0;
}

.file-upload-box small {
  font-size: 11px;
  color: #6b7280;
}

.file-upload-box button {
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
}

/* ===== FOOTER ===== */
.leave-modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
}

.submit-btn {
  flex: 1;
  background: #155DFC;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 500;
  gap: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.draft-btn {
  flex: 1;
  background: #fff;
  border: 1px solid #d1d5db;
  padding: 12px;
  font-size: 14px;
  border-radius: 10px;
}

.selected-leaves input{
  font-size: 16px;
  font-weight: bold;
  color:#155DFC!important;
}

/* ===== ROOT ===== */
.retract-modal-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

/* ===== BLUR BACKDROP ===== */
.retract-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

/* ===== MODAL CARD ===== */
.retract-modal-card {
  position: relative;
  width: 450px;
  background: #ffffff;
  border-radius: 18px;
  margin: 80px auto;
  padding: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== HEADER ===== */
.retract-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.retract-modal-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.retract-close-btn {
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-weight: bold;
  cursor: pointer;
  font-size: 13px;
}

/* ===== ILLUSTRATION ===== */
.retract-illustration {
  /* background: #eef4ff; */
  border-radius: 14px;
  padding: 0;
  display: flex;
  justify-content: center;
}

.retract-illustration img {
  max-width: 100%;
  height: auto;
}

/* ===== BODY ===== */
.retract-body label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.retract-body textarea {
  width: 100%;
  min-height: 90px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 10px 12px;
  font-size: 13px;
  resize: none;
}

/* ===== FOOTER ===== */
.retract-footer {
  margin-top: 6px;
}

.retract-submit-btn {
  width: 100%;
  background: #155DFC;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.uploaded-file-list {
  margin-top: 8px;
  font-size: 12px;
  color: #374151;
}
.uploaded-file-list li {
  margin-bottom: 4px;
}


/* ================================ Admin Leave attendance ========================= */


.admin-leave-page .admin-leave-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.admin-leave-page .admin-title {
  font-size: 22px;
  font-weight: 600;
}

.admin-leave-page .admin-header-actions {
  display: flex;
  gap: 10px;
}

.admin-leave-page button {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

.admin-export-btn {
  border-color: #2563eb;
  color: #2563eb;
}




/* ======================================== admin Summary section ================= */

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.summary-box {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.summary-box strong {
  font-size: 28px;
  display: block;
}

.summary-box small {
  font-size: 12px;
  color: #6b7280;
}

.summary-box.green { border-left: 4px solid #22c55e; }
.summary-box.red { border-left: 4px solid #ef4444; }
.summary-box.orange { border-left: 4px solid #f97316; }
.summary-box.blue { border-left: 4px solid #3b82f6; }



/* ========================================= Leave Table css=================== */

.admin-leave-table-wrap {
  background: #fff;
  border-radius: 16px;
  padding-top: 20px;
}

.admin-leave-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-leave-table th {
  font-size: 12px;
  color: #6b7280;
  text-align: left;
  padding-bottom: 10px;
}

.admin-leave-table td {
  padding: 14px 0;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
}

.emp-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.status-pill {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
}

.status-pill.pending {
  background: #fef3c7;
  color: #92400e;
}

.view-btn {
  background: #eef2ff;
  color: #4338ca;
}

.approve-btn {
  background: #dcfce7;
  color: #166534;
}

.reject-btn {
  background: #fee2e2;
  color: #991b1b;
}

.view-btn,
.approve-btn,
.reject-btn {
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  margin-right: 6px;
  cursor: pointer;
}


.leave-management-topbar .admin-main-heading{
  margin-bottom: 0!important;
}


.admin-main-heading {
    font-size: 20px;
    color: #1F2937;
    margin-bottom: 25px !important;
    font-weight: 600;
    display: flex;
    gap: 10px;
}



.leaves-management-admin .admin-attendance-summary .attendance-card h6 {
    font-size: 14px;
}

.leaves-management-admin .admin-attendance-summary .attendance-card p {
    font-size: 11px;
}

.leaves-management-admin .admin-attendance-summary .attendance-card {

    gap: 10px;

}

.leaves-management-admin .admin-attendance-summary .attendance-card .card-left {
    gap: 10px;
}

.leave-status-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.sandwich-badge {
  background: #fff7ed;
  color: #c2410c;
  font-size: 11px;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
  width: fit-content;
}


.days-cell {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.extra-days {
  color: #dc2626;
  font-size: 11px;
  font-weight: 500;
}


.leave-warning-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.leave-warning-card {
  background: #ffffff;
  padding: 22px;
  border-radius: 14px;
  width: 380px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.leave-warning-card h4 {
  margin-bottom: 10px;
  color: #b45309;
}

.warning-highlight {
  color: #dc2626;
  font-weight: 600;
}

.warning-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.confirm-btn {
  background: #dc2626;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
}

.cancel-btn {
  background: #e5e7eb;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
}

.vl-status-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vl-sandwich-badge {
  background: #fff7ed;
  color: #c2410c;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
  width: fit-content;
}


/* ===== Reason column ===== */
.admin-leave-table .reason {
  max-width: 260px;
}

.reason-text {
  font-size: 13px;
  color: #374151;
  line-height: 1.4;
  max-height: 38px; /* ~2 lines */
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.reason-text.expanded {
  max-height: 500px;
}

.reason-toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: 4px;
  font-size: 12px;
  color: #2563eb;
  cursor: pointer;
}

.employee-remark {
  margin-top: 6px;
  font-size: 12px;
  color: #7c2d12;
  background: #fff7ed;
  padding: 6px 8px;
  border-radius: 6px;
}


.vl-badge.retracted {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 7px;
    border: none;
    background: #EAD5FF;
    color: #AD46FF;
}

.vl-badge.rejected {
    background: #fee2e2;
    color: #991b1b;
}

span.status-pill.rejected {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 7px;
    text-align: center;
    border: none;
    background: #EAD5FF;
    color: #AD46FF;
    display: flex;
}

span.status-pill.approved {
    background: #dcfce7;
    color: #166534;
    text-align: center;
}

.filter-group input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
}


.reason {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reason-preview {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  color: #555;
}

.reason-icon-btn {
  background: #f1f3f5;
  border: none;
  border-radius: 4px;
  padding: 4px 6px;
  cursor: pointer;
}

.reason-icon-btn i {
  font-size: 14px;
  color: #333;
}




.view-reason-btn {
    background: transparent;
    border: 1px solid #d0d7de;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    color: #0d6efd;
    transition: all 0.2s ease;
}

.view-reason-btn:hover {
  background: #f5f8ff;
  border-color: #0d6efd;
}




.admin-leave-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


.admin-leave-table {
  width: 100%;
  min-width: 1100px; /* allows scroll instead of squish */
  border-collapse: collapse;
}

.admin-leave-table th,
.admin-leave-table td {
  white-space: nowrap;     /* ❗ NO text breaking */
  vertical-align: middle;
  /* padding: 14px 16px; */
}


.admin-leave-table td {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}


.view-reason-btn {
  white-space: nowrap;
}

/* Reduce left padding of Action column */
.admin-leave-table th:last-child,
.admin-leave-table td:last-child {
  /* padding-left: 20px!important; */
}


.admin-attendance-summary .admin-leave-table .status-pill {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    width: fit-content;
    display: inline-block;
}




/* ============================= Reimburesement ========================= */

/* ===============================
   REIMBURSEMENT PAGE
================================ */

/* Page head */
.reim-page-head {
  margin-bottom: 24px;
}

.reim-page-head h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111827;
}

.reim-page-head p {
  font-size: 14px;
  color: #717182;
  margin-top: 6px;
}

/* ===============================
   SUMMARY CARDS
================================ */

.reim-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.reim-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  /* border: 1px solid #E8E8E8; */
}

.reim-card-title {
  font-size: 14px;
  color: #0A0A0A;
  margin-bottom: 0;
}

.reim-card h3 {
  font-size: 36px;
  font-weight: bold;
  margin: 4px 0;
  color: #1F2937;
}

.reim-card span {
  font-size: 12px;
  color: #717182;
}

.reim-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.reim-icon.green {
  background: #3AC875;
}

.reim-icon.red {
  background: #FF2D55;
}

.reim-icon.blue {
  background: #4A7FF1;
}

.green-text {
  color: #34A853!important;
}

/* ===============================
   SECTION WRAPPER
================================ */

.reim-section {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); */
  border: 1px solid #E8E8E8;
}

.reim-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.reim-section-head h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  margin-top: 0;
  color: #0A0A0A;
}

.reim-section-head p {
  font-size: 13px;
  color: #717182;
}

/* Submit button */
.reim-submit-btn {
  background: #155DFC;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* ===============================
   TABLE (EXACT LIKE SCREENSHOT)
================================ */

.reim-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px; /* space between rows */
  border-radius: 14px;
  border: 1px solid #E8E8E8;
}

/* Table header */
.reim-table thead th {
  font-size: 15px;
  font-weight: 500;
  color: #0A0A0A;
  padding-top: 0!important;
  text-align: left;
  padding: 12px 16px;
  /* border-bottom: 1px solid #e5e7eb; */
  border-bottom: 1px solid #e5e7eb;
}

/* Table row (card style) */
.reim-table tbody tr {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Table cell */
.reim-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: #111827;
  vertical-align: middle;
}

/* Rounded row corners */
.reim-table tbody tr td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.reim-table tbody tr td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* Remove default borders */
.reim-table th,
.reim-table td {
  border: none;
}

/* Description column wider */
.reim-table th:nth-child(2),
.reim-table td:nth-child(2) {
  width: 45%;
}

/* Actions column */
.reim-table td:last-child {
  text-align: center;
  cursor: pointer;
  font-size: 16px;
}

/* ===============================
   TAGS (Category & Status)
================================ */

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.tag.blue {
  background: #DBEAFE;
  color: #193CB8;
}

.tag.green {
  background: #DCFCE7;
  color: #016630;
}




/* ===============================
   REIMBURSEMENT MODAL
================================ */

.reim-modal-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 16px;
  overflow-y: auto;
}

.reim-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  z-index: -1;
}

.reim-modal-card {
  position: relative;
  width: 680px;
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  border: 1px solid #E8E8E8;
  flex-shrink: 0;
}

/* Header */
.reim-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.reim-modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: bold;
  color: #0A0A0A;
}

.reim-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #F3F4F6;
  font-size: 16px;
  color: #6B7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reim-modal-close:hover { background: #E5E7EB; }

/* Body */
.reim-modal-body {
  padding: 22px 24px;
  overflow-y: auto;
}

.reim-form-group {
  margin-bottom: 16px;
}

.reim-form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  display: block;
}

.reim-input {
  width: 100%;
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 13px;
  color: #374151;
  transition: border-color .15s;
}
.reim-input:focus {
  outline: none;
  border-color: #6366F1;
  background: #fff;
}

.reim-form-row {
  display: flex;
  gap: 16px;
}
.reim-form-row > * { flex: 1; min-width: 0; }

/* Upload */
.reim-upload-box {
  display: flex;
  gap: 10px;
  align-items: center;
}

.reim-upload-preview {
  width: 42px;
  height: 42px;
  border: 1px dashed #c7c7c7;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reim-upload-btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px dashed #c7c7c7;
  background: #F3F3F5;
  font-size: 18px;
  color: #717182;
  cursor: pointer;
}

/* Footer */
.reim-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.reim-cancel-btn {
  background: #fff;
  border: 1.5px solid #D1D5DB;
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
}
.reim-cancel-btn:hover { background: #F9FAFB; }

.reim-create-btn {
  background: #4F46E5;
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.reim-create-btn:hover:not(:disabled) { background: #4338CA; }
.reim-create-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Mobile responsive ── */
@media (max-width: 600px) {
  .reim-modal-root {
    padding: 0;
    align-items: flex-end;
  }
  .reim-modal-card {
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 94vh;
  }
  .reim-modal-body {
    max-height: calc(94vh - 130px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 16px;
  }
  .reim-modal-header { padding: 16px; }
  .reim-modal-footer { padding: 12px 16px; }
  .reim-form-row { flex-direction: column; gap: 0; }
  .reim-form-row.date-amount-row { flex-direction: column; }
}

.date-amount-row > div{
  width: 50%;
}

.others-fields-r{
  padding:15px;
      border: 1px solid #e5e7eb;
      border-radius: 14px;;
}



/* ======================================= Admin view reimburesement css================================ */

/* ===============================
   ADMIN REIMBURSEMENT
================================ */

.admin-reim-table {
    background: #fff;
    border-radius: 14px;
    /* padding: 20px 22px; */
    /* margin-bottom: 24px; */
    border: 1px solid #E8E8E8;
}

.admin-reim-table thead th{
  border-bottom: 1px solid #e5e7eb;
}

.admin-reim-root {
  margin-top: 20px;
}

/* TABLE */
.admin-reim-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
}

.admin-reim-table th {
    text-align: left;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: #0A0A0A;
    padding-top: 0;
}

.admin-reim-table td {
    background: #fff;
    padding: 14px 16px;
    font-size: 14px;
    color: #111827;
    vertical-align: middle;
}

.admin-reim-table tbody tr td:first-child {
  border-radius: 10px 0 0 10px;
}

.admin-reim-table tbody tr td:last-child {
  border-radius: 0 10px 10px 0;
}

/* Description */
.desc-cell {
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Actions */
.admin-reim-actions {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: nowrap;
}

/* Buttons */
.btn-doc {
    background: #f3e8ff;
    color: #7c3aed;
    border: none;
    display: flex;
    padding: 8px 10px;
    gap: 5px;
    border-radius: 8px;
    font-size: 12px;
}
.btn-approve {
    background: #ecfdf5;
    color: #16a34a;
    border: none;
    gap: 5px;
    padding: 8px 14px;
    display: flex;
    border-radius: 8px;
    font-size: 12px;
}

.btn-reject {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    gap: 5px;
    display: flex;
}


.admin-reim-table span.status-pill.approved {
    background: #dcfce7;
    color: #166534;
    text-align: center;
    display: flex;
    padding: 8px 10px;
    border-radius: 8px;
}

/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.status-pill.approved {
  background: #ecfdf5;
  color: #16a34a;
}

.status-pill.rejected {
  background: #fee2e2!important;
  color: #dc2626!important;
}

/* Instructions */
.admin-reim-instructions {
  margin-top: 20px;
  font-size: 13px;
  color: #374151;
}

.admin-reim-instructions h6 {
  font-weight: 600;
  margin-bottom: 8px;
}


span.tag.red {
    background: #fee2e2;
    color: #991b1b;
}


/* ===============================
   ADMIN TABLE – NO TEXT BREAK
================================ */

/* Keep table content on one line */
.admin-reim-table th,
.admin-reim-table td {
  white-space: nowrap;
}

/* Smooth ellipsis for long text */
.admin-reim-table .desc-cell {
  max-width: 280px;          /* adjust if needed */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Employee name safety */
.admin-reim-table .emp-name {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Actions column stays neat */
.admin-reim-actions {
  white-space: nowrap;
}

/* Enable horizontal scroll instead of wrapping */
.admin-reim-root {
  overflow-x: auto;
  padding-bottom: 6px;
}

/* Smooth scrollbar (optional, safe) */
.admin-reim-root::-webkit-scrollbar {
  height: 6px;
}
.admin-reim-root::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}



span.re-alert {
    height: 20px;
    width: 20px;
    background: #C00F0C;
    border-radius: 50px;
    display: flex;
    color: white;
    font-size: 12px;
    font-weight: bold;
    justify-content: center;
    align-items: center;
}



.reim-view-remark-btn {
  background: #fff1f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}

.reim-view-remark-btn:hover {
  background: #fee2e2;
}



/* ==================  this is for sallary button csss= ==================== */

/* ================= SALARY FILTER BAR ================= */
.salary-filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid #e6e8ec;
  flex-wrap: wrap;
}

/* ================= SELECT DROPDOWNS ================= */
.salary-filter-bar select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding: 10px 36px 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;

  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;

  cursor: pointer;
  transition: all 0.2s ease;
}

.salary-filter-bar select:hover {
  border-color: #2563eb;
  background-color: #ffffff;
}

.salary-filter-bar select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ================= BUTTON BASE ================= */
.salary-filter-bar .btn {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* ================= PRIMARY BUTTON ================= */
.salary-filter-bar .btn-primary {
     background: #367FFF;
  color: #ffffff;
  /* box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3); */
}

.salary-filter-bar .btn-primary:hover {
    background: #367FFF;
  transform: translateY(-1px);
}

/* ================= SECONDARY BUTTON ================= */
.salary-filter-bar .btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.salary-filter-bar .btn-secondary:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
  color:#000;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
  .salary-filter-bar {
    gap: 10px;
    padding: 12px;
  }

  .salary-filter-bar select,
  .salary-filter-bar .btn {
    width: 100%;
  }
}



.employee-announcements {
  background: #ffffff;
  border-radius: 10px;
}

.announcement-item {
  padding: 10px 0;
}

.announcement-item.high-priority {
  background: #fff5f5;
  border-left: 4px solid #dc3545;
  padding-left: 12px;
}



.over-time-area .reim-table th:nth-child(2), .reim-table td:nth-child(2) {
    width: auto!important;
}