:root {
  /* ===== Colors ===== */
--color-primary: #4C28FF;           /* Main Accent (Vibrant Violet Blue) */
--color-primary-hover: #3B20CC;     /* Slightly darker violet for hover */

/* Updated Secondary Colors */
--color-secondary: #4B5563;         /* Gray-600 (better than pure black) */
--color-secondary-hover: #374151;   /* Gray-700 */

--color-danger: #E53935;            /* Red */
--color-danger-hover: #C62828;

--color-success: #43A047;           /* Green */
--color-success-hover: #2E7D32;
--color-info:#3B82F6;
--btn-logout-bg: var(--color-danger);


  /* ===== Light Theme ===== */
  --light-bg: #FFFFFF;              /* Background White */
  --light-card: #ffffff; 
  --light-card-2: #f8f8f8;           /* Soft Blue-Gray Card */
  --light-input: #F1F3F5;           /* Subtle Input Field */
  --light-text: #000000; 
  --white-text:#ffffff;           /* Main Text (Black) */
  --light-text-secondary: #9D9D9D;  /* Muted Gray Text */
  --light-border: #D9D9D9; 
  --light-table-header:#d6e0ff;         /* Neutral Border */

  /* ===== Dark Theme (keep same or customize later) ===== */
  --dark-bg: #0D1117;
  --dark-card: #161B22;
  --dark-input: #1E2530;
  --dark-text: #FFFFFF;
  --dark-text-secondary: #8B949E;
  --dark-border: #2D333B;

  /* ===== Typography ===== */
  --font-primary:'Outfit', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-secondary: 'Inter','Nunito Sans', 'Open Sans', Arial, sans-serif;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;

  /* ===== Spacing ===== */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* ===== Radius & Shadows ===== */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
}



/* ===========================
   Light Theme (Default)
=========================== */
body {
  background-color: var(--light-bg);
  color: var(--light-text);
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: 1.6;
}
/* Prevent horizontal scrolling globally */
html, body {
    overflow-x: hidden;
}

/* ===========================
   Dark Theme
=========================== */
body.dark {
  background-color: var(--dark-bg);
  color: var(--dark-text);
}


/* Dark theme */
body.dark {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

/* ===========================
   Typography
=========================== */
h1, h2, h3, h4, h5, h6, button {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: -0.5px;
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p, input, textarea, select {
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.6;
  color: inherit;
}
.font-primary{
  font-family: var(--font-primary);
}
.font-secondary{
  font-family: var(--font-secondary);
}
/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: x-small;
   font-family: var(--font-primary);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  box-shadow: var(--shadow-sm);
  min-width: 100px; /* keeps uniform size */
}
/* Primary button - solid main theme color */
.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 0 5px var(--color-primary);
  transform: translateY(-2px);
}


.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-secondary-hover);
  box-shadow: var(--shadow-md);
}

/* Search button - solid primary */
.btn-search {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-search:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 0 5px var(--color-primary);
  transform: translateY(-2px);
}
/* Success button - solid green */
.btn-success {
  background-color: #22C55E;
  color: #fff;
}

.btn-success:hover {
  background-color: #16A34A;
  box-shadow: 0 0 5px #22C55E80;
  transform: translateY(-2px);
}

/* Danger button - solid red */
.btn-danger {
  background-color: #EF4444;
  color: #fff;
}

.btn-danger:hover {
  background-color: #B91C1C;
  box-shadow: 0 0 5px #EF444480;
  transform: translateY(-2px);
}

/* Info button - solid blue */
.btn-info {
  background-color: #3B82F6;
  color: #fff;
}

.btn-info:hover {
  background-color: #2563EB;
  box-shadow: 0 0 5px #60A5FA80;
  transform: translateY(-2px);
}

/* Warning / Pending / Caution */
.btn-warning {
  background-color: #b48e29; /* amber-500 */
  color: #fff;
}

.btn-warning:hover {
  background-color: #7e5e26; /* amber-600 */
  box-shadow: 0 0 5px #FBBF2480; /* subtle glow */
  transform: translateY(-2px);
}

/* Purple / Verify */
.btn-purple {
  background: #8B5CF6; /* violet-500 */
  color: #fff;
}
.btn-purple:hover {
  background: #7C3AED; /* violet-600 */
  box-shadow: var(--shadow-md);
}




/* Inline buttons container */
.btn-inline {
  display: flex;
  gap: 10px;
 
  flex-wrap: nowrap; 
}
/* Edit button using theme colors */
.icon-btn {
   
    background: transparent;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.icon-btn-primary{
    
     color: var(--color-primary)
}
.icon-btn-danger{
    color: var(--color-danger);
}
.icon-btn-danger:hover{
   stroke: var(--color-danger);
}
.icon-btn-danger-1{
     background-color: #EF4444;
  color: #fff;
}
.icon-btn-danger-1:hover{
    background-color: #B91C1C;
  box-shadow: 0 0 5px #EF444480;
  transform: translateY(-2px);
}
/* Success button - solid green */
.icon-btn-success {
  background-color: #22C55E;
  color: #fff;
}

.icon-btn-success:hover {
  background-color: #16A34A;
  box-shadow: 0 0 5px #22C55E80;
  transform: translateY(-2px);
}
/* Info button - solid blue */
.icon-btn-info {
  background-color: #3B82F6;
  color: #fff;
}

.icon-btn-info:hover {
  background-color: #2563EB;
  box-shadow: 0 0 5px #60A5FA80;
  transform: translateY(-2px);
}
/* Warning / Pending / Caution */
.icon-btn-warning {
  background-color: #b48e29; /* amber-500 */
  color: #fff;
}

.icon-btn-warning:hover {
  background-color: #7e5e26; /* amber-600 */
  box-shadow: 0 0 5px #FBBF2480; /* subtle glow */
  transform: translateY(-2px);
}

/*=========================
   sidebar start 
=========================== */

/* ===========================
   Sidebar Base
=========================== */
#sidebar {
    height: 100vh;
    flex: 0 0 14rem; 
    display: flex;
    flex-direction: column;
    
    background-color: #1F2937;
    color: var(--light-input);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
     font-family: var(--font-primary); /* Apply secondary font to sidebar */
    font-size: var(--font-size-sm); 
}

/* Sidebar nav scrolls if long */
#sidebar nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
     -webkit-overflow-scrolling: touch; 
     -ms-overflow-style: none; 
    scrollbar-width: none;
}
#sidebar nav::-webkit-scrollbar{
  display:none;
}

/* Sidebar Icons */
.menu-icons,
.sidebar-link i {
    width: 18px;
    font-size: var(--font-size-base); /* Icon size consistent */
    color: #9d9d9d; /* default gray */
}

/* ===========================
   Sidebar Link Styles
=========================== */

/* Default state */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.8rem; /* reduced padding for compact look */
    color: #9d9d9d;
    text-decoration: none;
    border-right: 3px solid transparent;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
    /* smaller text */
}


/* Default icon color */
.sidebar-link i,
.sidebar-link .menu-icons {
    width: 18px;
    color: #9d9d9d;
}

/* Default text */
.sidebar-link-text {
   font-weight: 600;
    margin-left: 0.5rem;
    white-space: nowrap;
}

/* Hover */
.sidebar-link:hover {
   color: var(--color-primary);
}
.sidebar-link-text:hover {
    color: var(--color-primary); 
}
.logout-text:hover{
    color: var(--dark-text);
}
.sidebar-link:hover i,
.sidebar-link:hover .menu-icons  {
    color: var(--color-primary) ;
}

/* Add rounded active border using pseudo-element */
.sidebar-link-active {
    position: relative;
    color: var(--white-text);

    background-color: transparent !important;
}

.sidebar-link-active::before {
    content: "";
    position: absolute;
    left: 0;          /* change from right to left */
    top: 8px;
    bottom: 8px;
    width: 4px;
    background-color: var(--color-primary);
    border-radius: 10px; /* rounded edges */
}

.sidebar-link-active i,
.sidebar-link-active .menu-icons {
    color: var(--color-primary) !important; /* icon violet-blue */
}


/* Remove background from hover & active */
.sidebar-link:hover,
.sidebar-link-active {
    background-color: transparent !important;
}

/* Mobile Sidebar Overlay */
#sidebar-overlay {
    display: none; /* hidden by default */
}

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

body.sidebar-open #sidebar-overlay {
    display: block;
}


/* ===========================
   Mobile Sidebar
=========================== */
@media (max-width: 1024px) {
    #sidebar {
        position: fixed;
        left: -16rem;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    body.sidebar-open #sidebar {
        left: 0;
    }
    #sidebar .mobile-close-btn {
        display: flex;
        justify-content: flex-end;
        padding: 1rem;
    }

    /* Ensure main-content full width on mobile */
    .main-content {
        margin-left: 0;
    }
}

/* Default hidden close button on desktop */
#sidebar .mobile-close-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
}

/* ===========================
   Dark Theme Sidebar
=========================== */
body.dark #sidebar {
    background-color: var(--dark-card); /* dark sidebar bg */
    color: var(--dark-text-secondary);
}

body.dark .sidebar-link {
    color: var(--dark-text-secondary);
}

body.dark .sidebar-link:hover {
    background-color: #2D333B; /* dark hover bg */
    color: var(--color-primary);
}

body.dark .sidebar-link-active {
    background-color: #2D333B; /* dark active bg */
    color: var(--color-primary); /* primary color in dark mode */
}


body.dark .sidebar-link {
    color: var(--dark-text-secondary);
}

body.dark .sidebar-link.active,
body.dark .sidebar-link:hover {
    background-color: #2D333B;
    color: var(--dark-text);
}

/* Sidebar collapsed */
#sidebar.collapsed {
    width: 80px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transition: width 0.3s ease;
}
#sidebar.collapsed .sidebar-link span {
    display: none;
}

#sidebar.collapsed .sidebar-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

#sidebar.collapsed .sidebar-link i {
    margin-right: 0;
}

#sidebar.collapsed .sidebar-link span {
    display: none;
}

#sidebar.collapsed .sidebar-logo img {
    width: 32px;
}

/* ===========================
   Scrollbar
=========================== */
#sidebar::-webkit-scrollbar {
    width: 1px;
}

#sidebar::-webkit-scrollbar-track {
    background: transparent;
}

#sidebar::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 10px;
    border: 1px solid transparent;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary-hover);
}


/*=========================
   sidebar end  
=========================== */
/* ===========================
   Main Content Layout
=========================== */
.main-content {
    flex: 1; 
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100vh; 
    /* reduce opacity by using rgba (alpha = 0.85) */
    background-color: #F8F9FB; /* was var(--light-card) */
}
/* ===========================
   Scrollable Area inside Main
=========================== */
.main-scroll {
    flex: 1;
    overflow-y: auto;   /* vertical scrolling */
    overflow-x: auto;   /* horizontal scrolling for tables */
    padding: 1rem;
}

/* Scrollbar styling for main content */
.main-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    display: none;
}
.main-scroll::-webkit-scrollbar-thumb {
    background-color: var(--color-primary-glow);
  border-radius: 10px;
}
.main-scroll::-webkit-scrollbar-thumb:hover {
     background-color: var(--color-primary);
}


/* ===========================
   Top Bar (Sticky)
=========================== */
.main-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
   
    /* reduce opacity for topbar */
    background-color:#f4f7ff; /* was var(--light-card) */
    border: 1px solid rgba(217, 217, 217, 0.6); /* slightly transparent border */
    margin-bottom: 1rem;
    position: sticky;
    top: 0;
    z-index: 20; /* above content */
}
body.dark .main-topbar {
    background-color: var(--dark-card);
    border-color: var(--dark-border);
}
.welcome-card{
  background-color: var(--light-card-2);
  color: var(--light-text);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

/*=========================
   Dashboard Status Cards start
=========================== */
/* Dashboard Cards Wrapper */
.dashboard-cards-wrapper {
    position: relative;
    padding-left: 50px;  /* space for left button */
    padding-right: 50px; /* space for right button */
    overflow: visible;   /* allow buttons outside */
}
/* Cards Container */
.dashboard-cards {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
}

/* Hide scrollbar */
.dashboard-cards::-webkit-scrollbar { display: none; }
.table-wrapper::-webkit-scrollbar{display: none;}
.dashboard-cards { -ms-overflow-style: none; scrollbar-width: none; }

/* Individual Cards */
.dashboard-card {
    flex: 0 0 14rem; /* fixed width */
    min-height: 100px; /* dynamic height */
    border-radius: var(--radius-md);
    
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* push h5 to bottom */
    cursor: default;
    transition: transform 0.2s ease;
}

.dashboard-card:hover { transform: translateY(-4px); }

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Dot */
.card-bar {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

/* Dot Colors */
.card-dot-primary { background-color: var(--color-primary); }
.card-dot-success { background-color: var(--color-success); }
.card-dot-warning { background-color: #F59E0B; }
.card-dot-info { background-color: #8B5CF6; }
.card-dot-gray { background-color: #4B5563; }

.upcoming-events-parent,.upcoming-events-wrapper{
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
     -ms-overflow-style: none; 
    scrollbar-width: none;
}
.upcoming-events-parent::-webkit-scrollbar,
.upcoming-events-wrapper::-webkit-scrollbar{
  display: none;
}

.dashboard-card h5 {
    font-family: var(--font-primary);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin: 0;
}

/* Count Colors */
.count-primary { color: var(--color-primary); }
.count-success { color: var(--color-success); }
.count-warning { color: #F59E0B; }
.count-info { color: #8B5CF6; }
.count-gray { color: #4B5563; }

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--color-primary);
    border: 1px solid var(--light-border);
    transition: background-color 0.2s ease;
    background-color: var(--light-input);

}

/* Left button always primary */
.scroll-left {
    left: -10px;
   
}

/* Right button transparent initially */
.scroll-right {
    right: -10px;
    
}
.scroll-btn:hover{
    background-color: var(--color-primary-hover);
    color: var(--light-input);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-cards-wrapper {
    padding-left: 0px;
    padding-right: 0px;
  }
    .card-btn { left: 0; display: none; }
    .card-btn { right: 0; display: none;}
    .scroll-left { left: 0; }
    .scroll-right { right: 0;}
}




#dashboardCalendar {
  height: 300px !important;
}

.fc .fc-daygrid-day-frame {
  min-height: 60px !important;
  padding: 2px !important;
}

.fc .fc-daygrid-day-number {
  font-size: 0.8rem !important;
  padding: 2px !important;
}

.fc .fc-event {
  font-size: 0.75rem !important;
  padding: 1px 2px !important;
}

.fc .fc-col-header-cell-cushion {
  font-size: 0.8rem !important;
  padding: 4px 0 !important;
}

@media (min-width: 768px) { /* Tablet breakpoint */
  .calendar-compact {
    width: 47.666667% !important;
  }
  .calendar-wrapper {
    flex-direction: row !important;
  }
}
@media (min-width: 768px) { /* Tablet and above */
  .calendar-compact {
    width: 47.666667% !important; /* ~48% of row */
  }
  .calendar-wrapper {
    flex-direction: row !important;
  }
}

@media (max-width: 767px) { /* Mobile */
  .calendar-compact {
    width: 100% !important;
  }
  .calendar-wrapper {
    flex-direction: column !important;
  }
}
.calendar-compact{
   background-color: var(--light-card-2);
    color: var(--light-text);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);


}
.upcoming-section{
    background-color: var(--light-card-2);
    color: var(--light-text);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: background 0.3s, border 0.3s, color 0.3s;
}
.upcoming-events-parent{
    overflow-y: auto; /* Enable vertical scrolling when content exceeds max-height */
    -webkit-overflow-scrolling: touch; 
     -ms-overflow-style: none; 
    scrollbar-width: none;
}
.upcoming-events-parent::-webkit-scrollbar{
  display: none;
}
    .upcoming-events-card {
        background-color: var(--light-input);
        border: 1px solid #e5e7eb; /* subtle gray border */
    }

    .upcoming-events-card:hover {
        background-color: #e9ebee; /* slightly darker hover */
    }

    .upcoming-events-card p {
        transition: color 0.2s ease;
    }

    .upcoming-events-card:hover p.font-semibold {
        color: var(--color-primary, #4C28FF);
    }

/* roles and departments */
/* =========================
   Department Card
=========================== */
/* ===========================
   Department Card Styles
=========================== */

.department-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .department-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .department-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .department-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.department-card {
  background-color: var(--light-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.department-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.department-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--light-text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 0.5rem;
}

.dropdown {
  position: relative;
}

.three-dots-button {
  color:  var(--dark-input);;
  padding: 0.25rem;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
}

.three-dots-button:hover {
  color: var(--light-text);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--light-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: 0.5rem 0;
  z-index: 10;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content button,
.dropdown-content form button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}

.dropdown-content button:hover,
.dropdown-content form button:hover {
  background-color: var(--light-input);
}

.divider {
  height: 1px;
  background-color: var(--light-border);
  margin: 0.25rem 0;
}

.roles-list {
  flex-grow: 1;
}

.role-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #F3F4F6; /* gray-50 */
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.role-item:last-child {
  margin-bottom: 0;
}

.role-item span {
  font-size: var(--font-size-sm);
  color: var(--light-text);
}

/* .role-item button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.125rem;
}

.role-item button:hover svg {
  stroke: var(--color-primary);
} */

.no-roles {
  font-size: var(--font-size-xs);
  color:  var(--dark-input);;
  font-style: italic;
}



/* role an departments end  */

/* model */
/* =======================
   Modal Base
======================= */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}
.modal.is-active {
        display: flex !important;
}
.modal-content {
    background-color: var(--light-card);
    /* background: #fefefe; */
    /* margin: 2rem auto; */
    margin:1rem;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 500px;
     overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    -ms-overflow-style: none; 
    scrollbar-width: none;
}
.modal-content-add {
   background-color: var(--light-card);
    margin: auto;
    padding: 20px; /* Keep this for overall padding on larger screens */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 95%; /* Responsive width */
    max-width: 600px; /* Reduced max-width for a smaller feel */
    position: relative;


    max-height: 85vh; /* Slightly reduced from 90vh to give more buffer */
    overflow-y: auto; /* Enable vertical scrolling when content exceeds max-height */
    -webkit-overflow-scrolling: touch; 
     -ms-overflow-style: none; 
    scrollbar-width: none;
}
.modal-content::-webkit-scrollbar ,.modal-content-add::-webkit-scrollbar{
  display: none;
}

.modal-content-sm {
    max-width: 400px;
}

/* Modal Close Button */
.close-button {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--dark-text-secondary);
}

/* Modal Title */
.modal-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: var(--space-lg);
    text-align: center;
}
  
/* Alerts */
.alert {
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-sm);
}

.alert-danger {
    background-color: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: var(--color-danger);
}

/* Form Grid */
.form-grid {
    display: grid;
    gap: var(--space-md);
}

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

.form-label {
    font-weight: 600;
    color:  var(--dark-input);;
    margin-bottom: var(--space-xs);
}

/* Form Error */
.form-error {
    color: var(--color-danger);
    font-size: var(--font-size-xs);
    margin-top: var(--space-xs);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
}



/* filter section */
.user-filter-card {
    background-color: var(--light-card-2);
    color: var(--light-text);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: background 0.3s, border 0.3s, color 0.3s;
}

/* Dark mode */
body.dark .user-filter-card {
    background-color: var(--dark-card);
    color: var(--dark-text);
}
/* user details cards style*/

.user-card {
    background-color: var(--light-card-2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-border);
    transition: box-shadow 0.3s ease;
}

.user-card:hover {
    box-shadow: var(--shadow-md);
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    object-fit: cover;
}

.name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--light-text);
}

.role {
    font-size: 0.875rem;
    color: var(--light-text-secondary);
}

.status.working { color: var(--color-success); font-weight: 600; }
.status.relieved { color: var(--color-danger); font-weight: 600; }
.status.notice_period { color: #FBC02D; font-weight: 600; }

.details li {
    font-size: 0.875rem;
    color: var(--light-text);
    margin-top: 0.25rem;
}

.user-card .edit-overlay {
    display: flex;
    position: absolute;
    bottom: 0.5rem;
    right: -6px;
    background-color: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 50%;
    padding: 0.25rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.user-card .edit-overlay:hover {
    background-color: #f0f0f0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}



/* Form inputs & select styling */

/* Inputs & Selects */
.form-input, .form-select ,.form-group textarea  {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    background-color: var(--light-input);
     font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    color: var(--light-text);
    transition: all 0.2s ease;
}
.form-input:hover, .form-select:hover {
   outline: none;
    border-color: var(--color-primary);
   box-shadow: 0 0 0 3px rgba(69, 126, 246, 0.2);
}
.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
   box-shadow: 0 0 0 3px rgba(69, 126, 246, 0.2);
}
.scroll-table-btn:disabled {
    cursor: default;
    opacity: 0.5;
    pointer-events: none; /* prevents hover effects */
}
 

/* Dark mode inputs */
body.dark .form-input,
body.dark .form-select {
    background-color: var(--dark-input);
    color: var(--dark-text);
    border-color: var(--dark-border);
}
/* =========================
   Employee Details View Cards
   ========================= */

.view-card {
    background-color: var(--light-input);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--light-text);
    font-family: var(--font-primary);
    margin-bottom:1rem;
}

.view-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Card Title */
.view-card-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--light-border);
    padding-bottom: var(--space-xs);
}

/* Card Body Content */
.view-card-body div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color:  var(--dark-input);;
    margin: 3px 0;
}

/* For Address rows (multi-line) */
.view-card-body .multiline {
    align-items: flex-start;
}



/* Filter header */
.user-filter-card .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

/* Filter buttons */
.user-filter-card .btn {
    min-width: 120px;
}
.employee-initial {
    transition: background-color 0.2s ease-in-out;
}
.employee-initial:hover {
    background-color: var(--color-primary-hover);
}
  .theme-border {
    border-color: var(--color-primary);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .user-filter-card form {
        flex-direction: column;
        gap: var(--space-sm);
    }
    .user-filter-card .flex-1 { min-width: 100%; }
    .user-filter-card .flex.items-end { flex-direction: row; gap: var(--space-sm); }
}

/*=========================
  table section
=========================== */

.table-wrapper-header {
    background-color: var(--light-card-2);
    border: 1px solid var(--light-border);
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}
body.dark .table-wrapper-header{
    background-color: var(--dark-card);
    
    color: var(--dark-text);
}
.table-wrapper {
    overflow-x: auto; /* horizontal scroll for tables */
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid #b1b6c2;
    -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
  font-family: var(--font-primary);
  white-space: nowrap; /* Prevent line breaks inside table cells */
}


.table th,
.table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--light-border);
}
.table th {
  background-color: var(--light-table-header);
  font-weight: 600;
  color:  var(--dark-input);;
}
/* Dark Mode */
body.dark .table-wrapper {
  border: 1px solid var(--dark-border);
}

body.dark .table th {
  background-color: var(--dark-card);
  color: var(--dark-text-secondary);
}




/* Highlight pending rows */
.table-row-pending {
    background-color: var(--color-primary-glow) !important; /* light primary color */
    transition: background 0.3s;
}

/* ===========================
   Employee Status Labels
=========================== */
.status-label {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-align: center;
    min-width: 80px;
    text-transform: capitalize;
     transform: translateY(-2px);
}

/* Status colors using theme */
.status-working {
    background-color: var(--color-success);
    color: #fff;
}

.status-relieved {
    background-color: var(--color-danger);
    color: #fff;
}
.status-approved{
      background-color: #22C55E;
        color: #fff;
}
.status-approved:hover{
    background-color: #16A34A;
    box-shadow: 0 0 5px #22C55E80;
    transform: translateY(-2px);
}
.status-rejected{
      background-color: #EF4444;
        color: #fff;
}
.status-rejected:hover{
     background-color: #B91C1C;
  box-shadow: 0 0 5px #EF444480;
    transform: translateY(-2px);
}
.status-notice {
    background-color: var(--color-primary);
    color: #fff;
}
.status-pending {
    background-color: #F59E0B; /* Tailwind yellow-500 fallback */
    color: #fff;
}

.status-other {
    background-color: #F59E0B; /* Tailwind yellow-500 fallback */
    color: #fff;
}


/* ===========================
   leave request type css start
=========================== */

.leave-type {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Text color per type */
.leave-type.leave {
    color: #457EF6; /* Bright Blue */
}

.leave-type.half-day {
    color: #43A047; /* Green */
}

.leave-type.wfh {
    color: #F59E0B; /* Orange / Yellow */
}

.leave-type.hourly {
    color: #E53935; /* Red */
}

/* ===========================
   leave request type css end
=========================== */

/* ===========================
   Responsive Adjustments
=========================== */
@media (max-width: 768px) {
  
    .status-label {
        font-size: var(--font-size-xs);
        padding: 2px 6px;
    }
}


/* letter */
/* Letter Card */
.letter-card {
    background-color: var(--light-card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Header */
.letter-header h2 {
    font-family: var(--font-primary);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--light-text);
}

/* Form spacing */
.form-space-y > * + * {
    margin-top: var(--space-md);
}

/* Form Group */
.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color:  var(--dark-input);;
    font-family: var(--font-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    background-color: var(--light-input);
     font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    color: var(--light-text);
    transition: all 0.2s ease;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
       outline: none;
    border-color: var(--color-primary);
   box-shadow: 0 0 0 3px rgba(69, 126, 246, 0.2);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(69, 126, 246, 0.2);
    outline: none;
}

/* Form Actions */
.form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-sm);
}
.text-danger {
    color: var(--color-danger);
    font-size: 0.75rem; /* matches previous text-xs */
    margin-top: var(--space-xs);
}

.alert-info {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: #FFFFFF; /* text color contrast */
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 500;
}








/* ===========================
   Input Styling
=========================== */
 textarea {
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-sm);
    background-color: var(--light-input);
    color: var(--light-text);
    font-family: var(--font-secondary);
    font-size: var(--font-size-base);
    transition: all 0.2s ease;
}

textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(26, 188, 156, 0.2);
}

/* Dark Theme Inputs */

body.dark textarea
 {
    background-color: var(--dark-input);
    border: 1px solid var(--dark-border);
    color: var(--dark-text);
}

.offer-letter-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none;

  /* Center children using flex */
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 1rem;
 
}

/* --- Modal Box --- */
.offer-letter-box {
  position: relative;
  margin: 0;
  background-color: var(--light-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh; /* Limit total modal height */
  display: flex;
  flex-direction: column; /* Header, content, footer stacked */
  padding: 1.5rem;
  font-family: var(--font-primary);
}



/* Dark Mode Support */
body.dark .offer-letter-box {
  background-color: var(--dark-card);
  color: var(--dark-text);
}

/* --- Header --- */
.offer-letter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--light-border);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}

body.dark .offer-letter-header {
  border-color: var(--dark-border);
}

.offer-letter-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--color-secondary);
}

body.dark .offer-letter-title {
  color: var(--dark-text);
}

.offer-letter-close-btn {
  background: none;
  border: none;
  color: var(--light-text-secondary);
  cursor: pointer;
  transition: color 0.2s;
}

.offer-letter-close-btn:hover {
  color: var(--color-danger);
}
.offer-letter-content {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1; /* Takes remaining space between header and footer */
  color: var(--light-text);
  font-size: var(--font-size-base);
  line-height: 1.6;
}

body.dark .offer-letter-content {
  color: var(--dark-text-secondary);
}
.offer-letter-header,
.offer-letter-footer {
  flex-shrink: 0; /* Prevent shrinking */
}
/* --- Footer Buttons --- */
.offer-letter-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

@media (min-width: 640px) { .offer-letter-modal { padding: 2rem; } }
@media (min-width: 768px) { .offer-letter-modal { padding: 3rem; } }
@media (max-width: 480px) {
  .offer-letter-box {
    max-height: 85vh; /* Reduce modal height on small screens */
    padding: 1rem;
  }

  .offer-letter-content {
    max-height: calc(85vh - 120px); /* Header + footer space */
  }

  .letter-body p {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .offer-header .company-name {
    font-size: 1.2rem;
  }

  .offer-header .job-offer-title {
    font-size: 1rem;
  }
}








/* ===========================
  cards style
=========================== */
/* Card Base */
.employee-card {
    background-color: var(--light-card);
    color: var(--light-text);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
/* Employee Info Card Section */
.employee-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem; /* same as mb-2 */
    padding: 0.5rem; /* optional padding */
    background-color: var(--card-bg); /* card background */
    border-radius: var(--border-radius); /* rounded corners */
}

.employee-name {
    font-size: 1.125rem; /* ~text-lg */
    font-weight: 600; /* font-semibold */
    color: var(--text-primary);
}

.employee-role,
.employee-designation {
    font-size: 0.875rem; /* ~text-sm */
    color: var(--text-secondary);
    margin: 0;
}


.employee-details {
    text-align: right;
    /* optional: spacing between role and designation */
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
/* Card-level Month & Year Filter */
.card-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space between selects and icons */
    margin-bottom: 0.5rem;
}

/* Month & Year select styling */
.card-filters select {
    padding: 0.25rem 0.5rem; /* px-2 py-1 equivalent */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--input-bg);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    transition: all 0.2s ease;
}

.card-filters select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(26, 188, 156, 0.2); /* optional focus shadow */
    outline: none;
}

/* Export links */
.card-filters .export-pdf i {
    color: var(--color-danger); /* define --color-danger in root */
    cursor: pointer;
    transition: color 0.2s;
}

.card-filters .export-pdf:hover i {
    color: var(--color-danger-hover); /* define hover color */
}

.card-filters .export-excel i {
    color: var(--color-success); /* define --color-success in root */
    cursor: pointer;
    transition: color 0.2s;
}

.card-filters .export-excel:hover i {
    color: var(--color-success-hover); /* define hover color */
}

body.dark .employee-card {
    background-color: var(--dark-card);
    color: var(--dark-text);
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Leave summary buttons */
.leave-type-btn {
    font-size: var(--font-size-sm);
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

/* Colors based on leave type */
.leave-type-btn.leave { background-color: var(--red-100); color: var(--red-700); }
.leave-type-btn.half_day { background-color: var(--yellow-100); color: var(--yellow-700); }
.leave-type-btn.wfh { background-color: var(--green-100); color: var(--green-700); }
.leave-type-btn.hourly_permission { background-color: var(--blue-100); color: var(--blue-700); }

/* Dark mode for summary buttons */
body.dark .leave-type-btn.leave { background-color: #5a1a1a; color: #f87171; }
body.dark .leave-type-btn.half_day { background-color: #7a5a1a; color: #fbbf24; }
body.dark .leave-type-btn.wfh { background-color: #1a5a1a; color: #34d399; }
body.dark .leave-type-btn.hourly_permission { background-color: #1a1a5a; color: #3b82f6; }

/* Leave details rows */
.leave-details div {
    border-radius: var(--radius-sm);
    padding: var(--space-xs);
    margin-bottom: var(--space-xs);
}
body.dark .leave-details  {
    background-color: var(--dark-input);
}

body.dark .leave-details div {
    background-color: var(--dark-input);
     color: var(--dark-text); 
}







/* main content style  */
/* Main container */
.custom-main {
    display: flex;
    flex-direction: column;
    padding: 16px;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: auto;
}

/* Top Header inside main */
.custom-main > .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;      /* header bg */
    border-bottom: 2px solid #e2e8f0; /* header border */
    padding: 12px 24px;
    border-radius: 8px;
    margin-bottom: 16px;            /* space below header */
}

/* Left and Right sections */
.custom-main > .main-header > .main-header-left,
.custom-main > .main-header > .main-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn-toggle,
.btn-theme,
.btn-profile {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.btn-toggle:hover,
.btn-theme:hover,
.btn-profile:hover {
    background-color: #f1f5f9;
}

/* Profile Icon */
.btn-profile > i {
    font-size: 32px;
    color: #4b5563;
}

/* Main Content */
.custom-main > .main-content {
    flex: 1;
    overflow-y: auto;
}



        /* Styles for the Toast/Popup Messages */
        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1050; /* Above modals */
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .toast {
            background-color: #333;
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            opacity: 0;
            transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
            transform: translateY(-20px);
            min-width: 250px;
            max-width: 350px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .toast.show {
            opacity: 1;
            transform: translateY(0);
        }

        .toast.success {
            background-color: #4CAF50; /* Green for success */
        }

        .toast.error {
            background-color: #f44336; /* Red for error */
        }

        .toast .toast-icon {
            font-size: 1.2em;
        }

        .toast .toast-message {
            flex-grow: 1;
        }


        
  /* compensate */
  .tab-btn-table {
      display: inline-block;
      padding: var(--space-sm) var(--space-md);
      border-radius: var(--radius-md);
      font-weight: 600;
      font-size: x-small;
      font-family: var(--font-primary);
      text-align: center;
      cursor: pointer;
      transition: all 0.2s ease;
      border: none;
      box-shadow: var(--shadow-sm);
      box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.15);
      min-width: 100px;
        
    }
  /* compensate leave request  */
    .tab-btn-table-active {
        background-color: var(--color-primary);
        color: var(--white-text);
    }
    .tab-btn-table:hover{
        background-color: var(--color-primary-hover);
        box-shadow: 0 0 5px var(--color-primary);
        transform: translateY(-2px);
    }
    .tab-btn-table-inactive {
        background-color: var(--light-input);
        box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.15);
        color: var(--color-secondary);
    }
    .tab-btn-table-inactive:hover{
        color: var(--white-text);
    }



    

    /* ===============================
   PAGINATION (THEME STYLED)
================================ */

.pagination-wrapper {
    display: flex;
    justify-content: flex-end;
}

.pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Page item */
.pagination .page-item {
    display: inline-flex;
}

/* Default link */
.pagination .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--light-bg);
    color: var(--color-secondary);
    border: 1px solid var(--light-border);

    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

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

/* Hover */
.pagination .page-link:hover {
    background: var(--light-card-2);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Active page */
.pagination .page-item.active .page-link {
    background: var(--color-primary);
    color: var(--white-text);
    border-color: var(--color-primary);
    font-weight: 600;
    pointer-events: none;
    min-width: 38px;
    text-align: center;
}

/* Disabled (‹ › when not clickable) */
.pagination .page-item.disabled .page-link {
    background: var(--light-input);
    color: var(--light-text-secondary);
    border-color: var(--light-border);
    cursor: not-allowed;
}


/* Prev / Next arrows */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    font-size: 16px;
    font-weight: 600;
}

/* Mobile friendly */
@media (max-width: 640px) {
    .pagination {
        gap: 4px;
    }

    .pagination .page-link {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 8px;
    }
}
