
/* ————————————————————————————
   Style the unlock bar to match your card/form
   ———————————————————————————— */
#unlockSection {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
#unlockSection input[type="password"] {
  width: 250px;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-size: 1rem;
}
#unlockSection button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #3866e0;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: pointer;
}
#unlockSection button:hover {
  background-color: #2e54b2;
}

/* Restore the card container around the form */
#odForm {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin: 0 auto 2rem;
  max-width: 90%;
}

/* Inputs & selects inside the form (if they lost their styling) */
#odForm select,
#odForm input[type="date"] {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #f9fafb;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

/* The submit button */
#odForm button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #44b787;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
#odForm button:hover {
  background-color: #3aa973;
}

/* --- Modern Bold UI for Staff OD Tracker --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --color-primary: #2F80ED;
  --color-success: #27AE60;
  --color-warning: #F2C94C;
  --color-danger: #EB5757;
  --color-bg: #F2F6FF;
  --color-card: #FFFFFF;
  --color-text: #333333;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: 0;
}

.modern-container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.modern-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.unlock-section {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.auth-input {
  max-width: 300px;
  flex: 1;
}

.modern-input,
.modern-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #CBD2E1;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.modern-input::-webkit-calendar-picker-indicator {
  padding: 0 0.5rem;
}

.modern-card {
  background: var(--color-card);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  align-items: end;
}

.submit-wrapper {
  grid-column: 1 / -1;
}

.modern-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  color: #FFFFFF;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 8px;
}

.btn-unlock {
  background-color: var(--color-primary);
}

.btn-unlock:hover {
  background-color: #1366D6;
}

.btn-submit {
  background-color: var(--color-success);
  width: 100%;
}

.btn-submit:hover {
  background-color: #219150;
}

.filter-section {
  text-align: center;
  margin-bottom: 2rem;
}

.filter-section select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  width: 250px;
  max-width: 100%;
  border: 1px solid #CBD2E1;
}

.records-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* --- Table and Scroll Section --- */
.table-wrapper {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
}

.modern-table {
  width: 100%;
  min-width: 950px; /* Wide enough for mobile scroll */
  background: white;
  border-collapse: collapse;
  table-layout: fixed;
}

.modern-table thead {
  background-color: var(--color-primary);
  color: white;
}

.modern-table th,
.modern-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #E0E7FF;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
  white-space: normal;
  font-weight: 400;
}

/* Column Widths */
.modern-table th:nth-child(1),
.modern-table td:nth-child(1) { width: 100px; } /* Staff */
.modern-table th:nth-child(2),
.modern-table td:nth-child(2) { width: 110px; } /* Given Date */
.modern-table th:nth-child(3),
.modern-table td:nth-child(3) { width: 180px; } /* Reason */
.modern-table th:nth-child(4),
.modern-table td:nth-child(4) { width: 110px; } /* Taken Date */
.modern-table th:nth-child(5),
.modern-table td:nth-child(5),
.modern-table th:nth-child(6),
.modern-table td:nth-child(6) { width: 120px; } /* OD Enjoyed */
.modern-table th:nth-child(7),
.modern-table td:nth-child(7),
.modern-table th:nth-child(8),
.modern-table td:nth-child(8) { width: 140px; } /* Remaining OD */
.modern-table th:nth-child(9),
.modern-table td:nth-child(9) { width: 130px; } /* Action */

/* Row striping */
.modern-table tbody tr:nth-child(odd) {
  background-color: #F9FAFB;
}
.modern-table tbody tr:nth-child(even) {
  background-color: #FFFFFF;
}

/* Edit Mode Inputs */
.modern-table td input,
.modern-table td select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  border: 1px solid #CBD2E1;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Action Buttons */
.actionColumn button {
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  margin: 4px 6px;
  cursor: pointer;
}

.actionColumn .btn-warning {
  background-color: var(--color-warning);
  color: #333;
}
.actionColumn .btn-warning:hover {
  background-color: #E6B83A;
}

.actionColumn .btn-danger {
  background-color: var(--color-danger);
  color: white;
}
.actionColumn .btn-danger:hover {
  background-color: #E05252;
}

/* Hide for Public */
.remainingDaysColumn,
.actionColumn {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .modern-title {
    font-size: 1.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .modern-table th,
  .modern-table td {
    font-size: 14px;
    padding: 0.6rem;
  }
  .modern-btn {
    width: 100%;
    padding: 0.6rem;
  }
  .filter-section select {
    width: 100%;
  }

  /* ðŸ›  Stack password input and button vertically */
  .unlock-section {
    flex-direction: column;
    align-items: center; /* âœ… Center-align children */
  }

  /* ðŸ›  Center and control password input size */
  .auth-input {
    width: 80%;   /* âœ… Make password field smaller and centered */
    max-width: 300px;
    margin-bottom: 10px; /* Some gap before button */
  }

  /* ðŸ›  Center the Unlock button */
  .btn-unlock {
    width: 80%;
    max-width: 250px;
  }
}

/* Stretch OD Records table to full width on desktop */
@media (min-width: 1024px) {
  /* 1) Make the table’s wrapper full-width and remove its horizontal scroll */
  /* Replace “.table-responsive” below with the actual class or ID of your table’s container if different */
  .table-responsive {
    overflow-x: visible !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
  }

  /* 2) Stretch the table itself to fill its container */
  #odTable {
    width: 100% !important;
    max-width: none;
    table-layout: auto;
  }
}

/* Reset the “full-viewport” override on desktop */
@media (min-width: 1024px) {
  .table-responsive {
    overflow-x: auto !important;
    width: 100% !important;
    margin-left: 0 !important;
  }
}

/* Constrain everything to the same card/container width */
#staff-od-tracker-wrapper {
  max-width: 1200px;          /* match your form’s card width */
  margin: 2rem auto;         /* center on the page */
  padding: 0 1rem;
}

/* Center the page title (if it’s an H2 inside this wrapper) */
#staff-od-tracker-wrapper h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Table sits at 100% of that container, with horizontal scroll only when needed */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* Make table fill its wrapper, but no more */
#odTable {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
}

/* Center all headers and cells */
#odTable thead th,
#odTable tbody td {
  text-align: center;
  padding: 0.75rem;
}

/* (Optional) If you want the header row to stick at top when scrolling */
#odTable thead th {
  position: sticky;
  top: 0;
  background: #3866e0;   /* or your theme’s blue */
  color: #fff;
  z-index: 2;
}

/* 2×2 equal-width grid, stacking to 1×4 on narrow screens */
#odForm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  #odForm {
    grid-template-columns: 1fr;
  }
}

/* Make each select & date fill its grid cell */
#odForm select,
#odForm input[type="date"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background: #fff;
}

/* Submit button spans both columns */
#odForm button {
  grid-column: 1 / -1;
  justify-self: start;
}

/* constrain the entry form to a comfortable width */
#odForm {
  max-width: 800px;      /* or whatever feels right */
  margin: 0 auto 2rem;   /* center it, with 2rem bottom gap */
}
/* Constrain the OD form grid to a comfortable width and center it */
#odForm {
  width: 100%;               /* allow it to shrink on small screens */
  max-width: 800px;          /* never get wider than 800px */
  margin: 0 auto 2rem;       /* center horizontally and add bottom spacing */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

/* On very small screens, fall back to one‐column */
@media (max-width: 600px) {
  #odForm {
    grid-template-columns: 1fr;
  }
}
#odForm select,
#odForm input[type="date"] {
  width: 150px;
  box-sizing: border-box;
}


/* —— Form container as a 4-column grid —— */
#odForm {
  max-width: 1000px;          /* or whatever matches your theme card width */
  margin: 0 auto 2rem;        /* center under the unlock bar */
  padding: 1.5rem;            /* match your card padding */
  background: #fff;           /* white card background */
  border-radius: 1rem;        /* smooth corners */
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

/* Make selects & date-pickers span their grid cell fully */
#odForm select,
#odForm input[type="date"] {
  width: 100%;
  box-sizing: border-box;
}

/* Submit button spans all 4 columns and sits at the bottom */
#odForm button {
  grid-column: 1 / -1;
  justify-self: stretch;
  padding: 0.75rem;
}

/* Responsive: collapse to 2 columns on tablets, 1 on phones */
@media (max-width: 800px) {
  #odForm {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  #odForm {
    grid-template-columns: 1fr;
  }
}

/* make inline editing selects & dates match the form fields */
#odTable select.modern-select,
#odTable input.modern-input {
  width: 100%;
  max-width: 200px; /* or whatever matches your form */
  box-sizing: border-box;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
}
#odTable .actionColumn button.modern-button {
  margin-right: 0.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}
#staff-od-title {
  font-family: 'Poppins', sans-serif;  /* or replace with your theme’s heading font */
  font-size: 2.5rem;                   /* adjust to taste */
  font-weight: 700;                     /* bold weight */
  color: #3866e0;                       /* bright blue matching your theme */
  margin-top: 2rem;                     /* if you need extra breathing room above */
}

/* Make inline edit Save/Cancel buttons larger and more legible */
#odTable .actionColumn button {
  padding: 0.75rem 1.25rem;    /* bigger click area */
  font-size: 1rem;            /* larger, easier to read text */
  border-radius: 0.5rem;      /* match your form’s rounded corners */
  min-width: 70px;            /* ensure buttons aren’t too narrow */
  margin-right: 0.5rem;       /* space between Save and Cancel */
}

/* Optional: give them distinct colors if you like */
#odTable .actionColumn button:first-child {
  background-color: #28a745;  /* Save = green */
  color: #fff;
}
#odTable .actionColumn button:last-child {
  background-color: #dc3545;  /* Cancel = red */
  color: #fff;
}

/* Hover states */
#odTable .actionColumn button:hover {
  opacity: 0.9;
}

/* Inline action buttons (Save/Cancel) */
#odTable .actionColumn button {
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Save = green, Cancel = red */
#odTable .actionColumn button:first-child {
  background-color: #28a745;
  color: #fff;
}
#odTable .actionColumn button:last-child {
  background-color: #dc3545;
  color: #fff;
}
#odTable .actionColumn button:hover {
  opacity: 0.85;
}
/* Clear any unwanted backgrounds on the action cell itself */
#odTable td.actionColumn {
  background: transparent !important;
  padding: 0.5rem !important;
}

/* Style just the buttons inside that cell */
#odTable td.actionColumn button {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Green Save button */
#odTable td.actionColumn .save-btn {
  background-color: #28a745;
  color: #fff;
}

/* Red Cancel button */
#odTable td.actionColumn .cancel-btn {
  background-color: #dc3545;
  color: #fff;
}

#odTable td.actionColumn button:hover {
  opacity: 0.85;
}

/* —————————————————————————————
   Mobile: stack unlock and form fields
   ————————————————————————————— */
@media (max-width: 640px) {
  /* 1) Unlock section: stack input + button */
  #unlockSection {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  #unlockSection input,
  #unlockSection button {
    width: 100%;
    max-width: 300px; /* or remove if you want full-width */
    box-sizing: border-box;
  }

  /* 2) OD form: switch to single column */
  #odForm {
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 1rem;
    max-width: 100% !important;
    padding: 1rem !important;
  }

  /* Make each control fill the width */
  #odForm .form-group,
  #odForm button {
    width: 100% !important;
    max-width: none !important;
  }
  #odForm .form-group select,
  #odForm .form-group input[type="date"] {
    width: 100% !important;
  }
}
/* 1) Constrain & center the header bar */
.table-responsive {
  max-width: 900px;       /* adjust to match your form width */
  margin: 0 auto;         /* center it */
  overflow-x: auto;
}

/* 2) Style the <th> cells */
#odTable thead th {
  font-size: 1rem;        /* a bit smaller than the default */
  white-space: nowrap;    /* prevent wrapping */
  padding: 0.75rem 1rem;
}

/* 3) Zebra-stripe the rows */
#odTable tbody tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}
#odTable tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.00);
}
/* Center the “OD Records” heading */
.od-records-title {
  text-align: center;
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  font-weight: 600;
  color: #333;
}

/* 1) Center the table wrapper */
.table-responsive {
  max-width: 900px;     /* matches your form card width */
  margin: 0 auto 2rem;  /* center and add bottom spacing */
  overflow-x: auto;
}

/* 2) Don’t force the table to 100%—it will size to its content */
#odTable {
  width: auto;          /* let the table pick its own width */
  margin: 0 auto;       /* center within the wrapper */
  border-collapse: collapse;
}

/* Optional: ensure header cells still fill evenly */
#odTable thead th {
  min-width: 120px;     /* tweak as needed for readability */
}
/* Center the table by making it inline and its container center text */
.table-responsive {
  max-width: 900px;       /* or whatever matches your form width */
  margin: 0 auto 2rem;    /* center the wrapper itself */
  overflow-x: auto;
  text-align: center;     /* center its inline content */
}

/* Make the table shrink-to-fit and be inline so text-align can center it */
.table-responsive #odTable {
  display: inline-table;
  width: auto !important;       /* ignore any 100% rules */
  margin: 0 !important;         /* reset any auto margins */
  text-align: left;             /* keep cell text left-aligned */
}
/* Make the .table-responsive container a flex parent and center its child */
.table-responsive {
  display: flex !important;
  justify-content: center;
  /* keep your max-width and margin from before */
  max-width: 900px;
  margin: 0 auto 2rem;
  overflow-x: auto;
}

/* Ensure the table itself only takes the width it needs */
.table-responsive #odTable {
  width: auto !important;
  margin: 0;
  display: table; /* reset inline-table if you tried that earlier */
}

/* --- Table and Scroll Section --- */
.table-wrapper {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
}

.modern-table {
  width: 100%;
  min-width: 950px;  /* Wide enough so mobile can scroll */
  background: white;
  border-collapse: collapse;
  table-layout: fixed;
}

.modern-table thead {
  background-color: var(--color-primary);
  color: white;
}

.modern-table th,
.modern-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #E0E7FF;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
  white-space: normal;
  font-weight: 400;
  font-size: 1rem;
}

/* Column Widths (tweak as needed) */
.modern-table th:nth-child(1),
.modern-table td:nth-child(1) { width: 100px; }  /* Staff */
.modern-table th:nth-child(2),
.modern-table td:nth-child(2) { width: 110px; }  /* OD Given */
.modern-table th:nth-child(3),
.modern-table td:nth-child(3) { width: 180px; }  /* Reason */
.modern-table th:nth-child(4),
.modern-table td:nth-child(4) { width: 110px; }  /* EOD Given */
.modern-table th:nth-child(5),
.modern-table td:nth-child(5) { width: 110px; }  /* NEOD Given */
.modern-table th:nth-child(6),
.modern-table td:nth-child(6) { width: 110px; }  /* OD Taken On */
.modern-table th:nth-child(7),
.modern-table td:nth-child(7),
.modern-table th:nth-child(8),
.modern-table td:nth-child(8) { width: 140px; }  /* Remaining EOD/NEOD */
.modern-table th:nth-child(9),
.modern-table td:nth-child(9) { width: 130px; }  /* Actions */

/* Row striping */
.modern-table tbody tr:nth-child(odd) {
  background-color: #F9FAFB;
}
.modern-table tbody tr:nth-child(even) {
  background-color: #FFFFFF;
}

/* Make header sticky when scrolling */
.modern-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}
/* ———————————————————————————————
   Mobile: perfect center on the form card
   ——————————————————————————————— */
@media (max-width: 640px) {
  /* Ensure the overall wrapper pads in from the edges */
  #staff-od-tracker-wrapper {
    padding: 0 1rem;
  }

  /* Force the OD form to fill that padding and center itself */
  #odForm {
    max-width: 100%;
    margin: 0 auto 2rem;
    padding: 1.5rem;   /* keep your card’s padding */
    box-sizing: border-box;
  }

  /* And make sure the header “OD Records” hugs the table */
  .od-records-title {
    margin-top: 1rem;   /* pull it closer to the table */
    margin-bottom: 0.5rem;
  }
  
  /* Finally, center the table wrapper too */
  .table-wrapper {
    max-width: 100%;
    margin: 0 auto 2rem;
  }
}

/* ———————————————————————————————
   Table instruction text
   ——————————————————————————————— */
.table-instructions {
  text-align: center;
  color: #6b7280;        /* soft gray */
  font-size: 0.85rem;    /* smaller than body text */
  line-height: 1.4;
  margin: 0.5rem 0 1rem;
}
.table-instructions p {
  margin: 0.25rem 0;
}
.table-instructions strong {
  font-weight: 600;
}

.table-responsive {
  border-radius: 0.75rem;
  overflow: hidden;
}
.modern-table {
  border-radius: 0.75rem;
  overflow: hidden;
}

#pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

#pagination-controls button {
  background-color: #2c61d6;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

#pagination-controls button:disabled {
  background-color: #b8c5e0;
  cursor: not-allowed;
}

#pagination-controls button:hover:not(:disabled) {
  background-color: #1e45a8;
}

#pagination-controls select {
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-weight: bold;
}

/* Final Fixes for OD Tracker DataTable Controls */

/* Prevent flash of unstyled elements */
.dataTables_wrapper {
  visibility: hidden;
}
.dataTables_wrapper.loaded {
  visibility: visible;
}

/* Hide search box completely */
div.dataTables_filter {
  display: none !important;
}

/* Align and style 'Show entries' like other inputs */
.dataTables_length {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 1rem;
}
.dataTables_length select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  background: #fff;
  font-weight: 600;
  width: 200px;
}

/* Align pagination at bottom, same font */
.dataTables_paginate {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  font-size: 14px;
  font-family: inherit;
}
.dataTables_paginate span,
.dataTables_paginate .paginate_button {
  padding: 6px 14px;
  border-radius: 6px;
  background-color: #2c61d6;
  color: white;
  font-weight: bold;
  margin: 0 5px;
  border: none;
  cursor: pointer;
}
.dataTables_paginate .paginate_button.disabled {
  background-color: #b8c5e0;
  cursor: not-allowed;
}
.dataTables_paginate .paginate_button:hover:not(.disabled) {
  background-color: #1e45a8;
}

/* Info text style */
.dataTables_info,
.custom-info {
  font-size: 14px;
  margin-top: 0.5rem;
  font-weight: 500;
  color: #333;
}
#odTable {
  display: table;
  width: 100%;
  visibility: visible !important;
  opacity: 1 !important;
}
.modern-button {
  background-color: #0069d9;
  color: white;
  padding: 6px 14px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.modern-button:hover {
  background-color: #0056b3;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
