body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

.dark-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1e1e1e;
}

.dark-table th,
.dark-table td {
  padding: 12px;
  border: 1px solid #333;
}

.add-button,
.view-button,
.edit-button,
.update-button,
.delete-button,
.dashboard-button,
.btn {
  padding: 8px 16px;
  margin: 4px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.add-button:hover,
.view-button:hover,
.edit-button:hover,
.update-button:hover,
.delete-button:hover,
.dashboard-button:hover,
.btn:hover{
  background-color: #555;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.col     {flex-direction: column;}
.no-pad  {padding: 0px;}
.no-marg {margin: 0px;}

/*### BOTTOM SPACE STYLES ###*/
.space-bot-xxs {margin-bottom: 5px ;}
.space-bot-xs  {margin-bottom: 10px;}
.space-bot-s   {margin-bottom: 15px;}
.space-bot-m   {margin-bottom: 20px;}
.space-bot-l   {margin-bottom: 25px;}
.space-bot-xl  {margin-bottom: 40px;}
.space-bot-xxl {margin-bottom: 80px;}

/*### TOP SPACE STYLES ###*/
.space-top-xxs {margin-top: 5px ;}
.space-top-xs  {margin-top: 10px;}
.space-top-s   {margin-top: 15px;}
.space-top-m   {margin-top: 20px;}
.space-top-l   {margin-top: 25px;}
.space-top-xl  {margin-top: 40px;}
.space-top-xxl {margin-top: 80px;}

/*### FAKE TABLE STYLES ###*/
.fake-table        { width: 100%; border-radius: 10px; overflow: hidden; color: black; font-weight: bold; font-size: 1.5rem; }
.fake-table-row    { display: flex; justify-content: space-between; padding: 12px; border-bottom: 1px solid #ddd; }
.fake-table-cell   { flex: 1; padding: 12px; }
.fake-table-header { background-color: #676767; color: #fff; }
.fake-table-body   { background-color: #f4f4f4; }
.fake-table-row:last-child { border-bottom: none; }

body {font-family: Arial, sans-serif;}
h1 { font-size: 2.5em; margin-bottom: 20px; }


/*### FORM STYLES ###*/
.form-container {background-color: #1e1e1e;padding: 20px;border-radius: 8px;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);}
.form-group     {margin-bottom: 20px;}
.form-label     {font-weight: bold;margin-bottom: 8px;display: inline-block;color: #ffffff;}
.form-input     {width: 80%;padding: 10px;border: 1px solid #333;border-radius: 4px;background-color: #333;color: #ffffff;}
.btn-primary    {background-color: #007bff;color: white;cursor: pointer;}
.btn-secondary  {background-color: #6c757d;color: white;}
.title          {font-size: 2em;margin-bottom: 20px;color: #ffffff;}
.navigation     {margin-top: 20px;}

/*### MODAL SECTION ###*/
.modal         {display: none;position: fixed;top: 0;left: 0;width: 100%;height: 100%;background-color: rgba(0,0,0,0.7);z-index: 9999;}
.modal-content {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);background: #fff;padding: 20px;width: 300px;text-align: center;}
.modal-actions {margin-top: 20px;}
.modal-close   {cursor: pointer;}
.open-modal    {cursor: pointer;}

.big {font-size: 9rem}
#loadingSpinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 21, 21, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mainContent {
    display: none;
}
/* Image Modal Styles */
#imageModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.image-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40% !important;
    border-radius: 10px
}

#modalImage {
    width: 80% !important;
    max-height: 500px !important;
    object-fit: contain;
    border-radius: 10px
}
/*### MODERN STYLES ###*/
.modern-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 5px 15px !important;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
}

.modern-form {
    background-color: #f3f3f3;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modern-select {
    padding: 3px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/*### TABLE STYLES ###*/
.dark-table th,
.dark-table td {
    padding: 16px;
    border: 1px solid #333;
    border-radius: 8px;
}

/*### PAGINATION STYLES ###*/
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.page-link {
    padding: 10px;
    margin: 5px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.page-link:hover {
    background-color: #555;
}
.letter-filter {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.letter-link {
    padding: 10px;
    margin: 5px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.letter-link:hover {
    background-color: #555;
}
.status-filter {
    margin-top: 20px;
    text-align: center;
}
.active-letter, .active-page {
    background-color: #007bff;
    color: white;
}
.pagination-button {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination-button.active-page {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination-button:hover {
    background-color: #f1f1f1;
}

.pagination-button, .prev-button, .next-button {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination-button.active-page, .prev-button.active-page, .next-button.active-page {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination-button:hover, .prev-button:hover, .next-button:hover {
    background-color: #f1f1f1;
}

.disabled {
    cursor: not-allowed;
    background-color: #eee;
    border-color: #ddd;
    color: #aaa;
}
/* Existing modern-button styles */
.modern-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 5px 15px !important;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
}

/* Updated pagination-button, prev-button, next-button styles */
.pagination-button, .prev-button, .next-button {
    background-color: #333;
    border: none;
    color: white;
    padding: 5px 15px !important;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
}

/* Disabled state */
.pagination-button.disabled, .prev-button.disabled, .next-button.disabled {
    cursor: default;
    background-color: #333;
    color: #737070;
}

.pagination-button.disabled:hover, .prev-button.disabled:hover, .next-button.disabled:hover {
    cursor: default;
    background-color: #333;
    color: #737070;
}

/* Active state */
.pagination-button.active-page, .prev-button.active-page, .next-button.active-page {
    background-color: #007bff;
    color: white;
}

/* Hover state */
.pagination-button:hover, .prev-button:hover, .next-button:hover {
    background-color: #555;
}
.toggle-switch {
  position: relative;
  width: 60px;
  height: 34px;
  text-align: center;
  z-index: 900;
}

.toggle-switch-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch-label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-switch-checkbox:checked + .toggle-switch-label {
  background-color: #2196F3;
}

.toggle-switch-label:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.toggle-switch-checkbox:checked + .toggle-switch-label:before {
  transform: translateX(26px);
}


.fa-check-circle {
  color: green;
}

.fa-exclamation-circle {
  color: red;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.table-modern {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;

  th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    background-color: rgba(128, 128, 128, 0.1); // Slight grey background
  }

  &th {
    background-color: rgba(128, 128, 128, 0.2); // Slightly darker grey for header
  }

  &tr:hover {
    background-color: rgba(128, 128, 128, 0.3); // Darker grey on hover
  }
}
