@font-face {
  font-family: "ANL Text Bold";
  src: url("static/fonts/Text_Bold.59c598711501.woff2") format("woff2");
}

@font-face {
  font-family: "ANL Text Medium";
  src: url("static/fonts/Text_Medium.2f47c5fa23aa.woff2") format("woff2");
}

@font-face {
  font-family: "ANL Text Regular";
  src: url("static/fonts/Text_Regular.ead45a9fba90.woff2") format("woff2");
}

@font-face {
  font-family: "ANL Title Bold";
  src: url("static/fonts/Title_Bold.9a108ebece4e.woff2") format("woff2");
}

@font-face {
  font-family: "ANL Title Light";
  src: url("static/fonts/Title_Light.30580f54d162.woff2") format("woff2");
}

@font-face {
  font-family: "ANL Title Medium";
  src: url("static/fonts/Title_Medium.5da625ddc3b9.woff2") format("woff2");
}

@font-face {
  font-family: "ANL Title Regular";
  src: url("static/fonts/Title_Regular.0d65468d95f9.woff2") format("woff2");
}

textarea[type="text"] {
  border: none; /* Removes the border */
  outline: none; /* Removes the outline */
  background-color: #e7e8e9;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* Adds a shadow effect */
  border-color: #edf2f7; /* Sets the border color to gray-200 */
  border-radius: 0.375rem; /* Sets the border radius to rounded-md */
  /* Add any other styles you want here */
}

/* Add this to your custom CSS file */
.ring-transparent {
  --tw-ring-opacity: 1;
  --tw-ring-color: transparent;
}

#stickyNavbar {
  transition: transform 0.3s ease-out; /* Smooth transition for transform property */
}

#progressBar {
  transition: width 300ms ease-in-out;
}

/* Scrollbar Settings */
/* Width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #acacac;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #7e7d7d;
}

#page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1 0 auto; /* This will push the footer down */
}

.caption-text {
  font-size: 0.75rem; /* This is roughly equivalent to Tailwind's text-xs */
  color: #333; /* Default text color, change as needed */
  padding: 8px; /* Add some padding around the text */
  margin-top: 12px; /* Space above the caption */
  font-family: Arial, sans-serif; /* Default font, change as needed */
}

#login-bg-image {
  color: #777;
  background: transparent;
  border: 0;
  filter: blur(4px);
  font: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -5;
  background-color: #ebebed !important;
  background-image: url("/static/images/american-national-always-there-hero-e1586269138168.833244feb980.jpg");
}

.signin_container {
  color: #777;
  background: transparent;
  border: 0;
  font: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

.auth_container {
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  position: relative;
  overflow: auto;
  border-radius: 3px;
  border-style: solid;
  border-width: 1px;
  height: auto;
  margin: 100px auto 8px;
  width: 350px;
  min-width: 300px;
  font-family:
    proxima nova,
    montserrat,
    Arial,
    Helvetica,
    sans-serif;
  color: #777;
  background-color: #ffffff;
  border-color: #ddd #ddd #d8d8d8;
  box-shadow: 0 8px 8px hsla(0, 0%, 68.6%, 0.12);
  display: block;
}

.auth_header {
  margin-left: auto;
  margin-right: auto;
  border: 0;
  outline: 0;
  font: inherit;
  padding: 30px 90px 0px;
  vertical-align: baseline;
  background: transparent;
  position: relative;
  border-bottom: 1px solid #ddd;
  z-index: 10;
  color: #5e5e5e;
  border-bottom-color: #ddd;
}

.auth_content {
  color: #777;
  margin: 0;
  border: 0;
  outline: 0;
  font: inherit;
  vertical-align: baseline;
  background: transparent;
  padding: 30px 60px 50px;
}

.login-img {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.login-form-button {
  padding: 0.45rem 0.65rem;
  width: 100%;
  background-color: #000000;
  border-radius: 0.5rem;
  color: #ffffff;
}

.login-form-button:hover {
  background-color: #343434;
  transition: background-color 0.2s ease;
}

.scac-dropdown {
  padding: 2px 14px; /* Adjust as needed */
}

.scac-dropdown option {
  font-size: 12px !important; /* Adjust as needed */
}

#temp-messages {
  position: fixed;
  top: 0;
  z-index: 9999; /* Make sure the messages are displayed on top of other elements */
  animation:
    slideDown 0.5s ease forwards,
    fadeOut 5s 3.5s ease forwards; /* fades out after 2.5s */
}

#important-messages {
  position: fixed;
  top: 0;
  z-index: 9999; /* Make sure the messages are displayed on top of other elements */
  animation: slideDown 0.5s ease forwards;
}

[id^="cardDateInput-"] {
  opacity: 0;
  position: absolute;
  background-color: transparent !important; /* Remove background color */
}

[id^="cardDateInput-"]::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 0%; /* Adjust this value to move the calendar icon */
  opacity: 0;
  cursor: pointer;
}

[id^="cardDateInput-"]:focus {
  --tw-ring-color: transparent;
}

[id^="cardDateInput-"]::-webkit-datetime-edit-fields-wrapper {
  position: relative;
  left: 12%; /* Adjust this value to move the input field */
  font-size: 0.9rem;
}

/* Sticky Navbar */
.active_url {
  background-color: #353535;
  color: white;
  border-radius: 0.5rem;
}

/* Dropdown */
.menu-item {
  display: block;
  padding: 0.5rem 1rem; /* py-2 and px-4 in Tailwind */
  font-size: 0.875rem; /* text-sm in Tailwind */
  font-weight: 500; /* font-medium in Tailwind */
  color: #4a5568; /* text-gray-700 in Tailwind */
  white-space: nowrap; /* whitespace-no-wrap in Tailwind */
}

.menu-item:hover {
  color: #3b82f6;
  font-weight: 900;
  font-size: 0.9rem;
  transition:
    color 0.3s ease,
    font-weight 0.3s ease,
    font-size 0.3s ease;
}

/* Buttons */
.gray-button {
  padding: 0.35rem 0.75rem;
  background-color: #f5f5f5;
  color: #4a5568;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.gray-button:hover {
  background-color: #e2e8f0;
  color: #2d3748;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gray-button:hover {
  background-color: #ced2d6; /* equivalent to hover:bg-gray-300 in Tailwind */
  transition: background-color 0.3s ease;
}

.gray-button-selected {
  padding: 0.35rem 0.75rem;
  background-color: #ced2d6;
  color: #2d3748;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.red-button {
  padding: 0.35rem 0.75rem;
  background-color: #ef4444;
  color: #ffffff;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #dc2626;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.red-button:hover {
  background-color: #dc2626;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.red-button:hover {
  background-color: #b91c1c;
  transition: background-color 0.3s ease;
}

.clickable-header {
  text-align: center;
}

.clickable-header button {
  cursor: pointer;
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0.15rem 0.5rem; /* equivalent to py-1 px-2 in Tailwind */
  border-radius: 0.375rem; /* equivalent to rounded-md in Tailwind */
  font-size: 0.75rem; /* equivalent to text-xs in Tailwind */
  font-weight: 300;
}

.clickable-header button:hover {
  background-color: #29569f;
  transition: background-color 0.3s ease;
}
.create-button {
  background-color: #3b82f6;
  color: white;
  padding: 5px 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 0.75rem;
  height: 38px;
  font-weight: 400;
  text-transform: uppercase;
  align-items: center;
}

.create-button:hover {
  background-color: #1569ef;
}

.sm-gray-button {
  padding: 0rem 0.5rem;
  background-color: #f5f5f5;
  color: #4a5568;
  border-radius: 0.375rem;
  font-size: 0.5rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.sm-gray-button:hover {
  background-color: #dce1e5; /* equivalent to hover:bg-gray-300 in Tailwind */
  transition: background-color 0.3s ease;
}

.blue-button {
  padding: 0.35rem 0.75rem;
  background-color: #3b82f6;
  color: #ffffff;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #2563eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.blue-button:hover {
  background-color: #2563eb;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blue-button:hover {
  background-color: #29569f;
  transition: background-color 0.1s ease;
}

.blue-button:active {
  background-color: rgb(
    59 130 246 / var(--tw-bg-opacity)
  ); /* equivalent to bg-blue-300 in Tailwind */
  transition: background-color 0.1s ease;
}

.blue-button-selected {
  padding: 0.35rem 0.75rem;
  background-color: #2563eb;
  color: #ffffff;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #2563eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.form-button {
  padding: 0.35rem 1rem; /* equivalent to py-1 px-2 in Tailwind */
  background-color: #3b82f6; /* equivalent to bg-blue-300 in Tailwind */
  color: #ffffff;
  border-radius: 1rem; /* equivalent to rounded-md in Tailwind */
  border: 1px solid #d2d6dc; /* equivalent to border in Tailwind */
  font-size: 12px; /* equivalent to text-xs in Tailwind */
  text-transform: uppercase;
}

.form-button:hover {
  background-color: #29569f;
  transition: background-color 0.1s ease;
}

.form-button:active {
  background-color: rgb(
    59 130 246 / var(--tw-bg-opacity)
  ); /* equivalent to bg-blue-300 in Tailwind */
  transition: background-color 0.1s ease;
}

.gray-form-button {
  padding: 0.35rem 1rem;
  background-color: #f4f7f9; /* equivalent to bg-gray-200 in Tailwind */
  color: #000000; /* equivalent to text-black in Tailwind */
  border-radius: 1rem; /* equivalent to rounded-md in Tailwind */
  border: 1px solid #e4e6e9; /* equivalent to border in Tailwind */
  font-size: 12px; /* equivalent to text-xs in Tailwind */
}

.gray-form-button:hover {
  background-color: #dce1e5; /* equivalent to hover:bg-gray-300 in Tailwind */
  transition: background-color 0.3s ease;
}

.gray-form-button:active {
  background-color: #c6c8ca;
  transition: background-color 0.1s ease;
}

.md-blue-button {
  padding: 0.15rem 0.5rem; /* equivalent to py-1 px-2 in Tailwind */
  background-color: #3b82f6; /* equivalent to bg-blue-300 in Tailwind */
  color: #ffffff;
  border-radius: 0.375rem; /* equivalent to rounded-md in Tailwind */
  border: 1px solid #d2d6dc; /* equivalent to border in Tailwind */
  font-size: 0.75rem; /* equivalent to text-xs in Tailwind */
}

.md-blue-button:hover {
  background-color: #29569f;
  transition: background-color 0.1s ease;
}

.md-blue-button:active {
  background-color: rgb(
    59 130 246 / var(--tw-bg-opacity)
  ); /* equivalent to bg-blue-300 in Tailwind */
  transition: background-color 0.1s ease;
}

.sm-blue-button {
  padding: 0rem 0.5rem;
  background-color: #3b82f6; /* equivalent to bg-blue-300 in Tailwind */
  color: #ffffff;
  border-radius: 0.375rem; /* equivalent to rounded-md in Tailwind */
  border: 1px solid #d2d6dc; /* equivalent to border in Tailwind */
  font-size: 0.5rem;
}

.sm-blue-button:hover {
  background-color: #29569f;
  transition: background-color 0.1s ease;
}

.sm-blue-button:active {
  background-color: rgb(
    59 130 246 / var(--tw-bg-opacity)
  ); /* equivalent to active:bg-blue-600 in Tailwind */
  transition: background-color 0.1s ease;
}

.rate-input {
  height: 20px !important;
  width: 80px !important;
  font-size: 12px !important;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.quote-input {
  height: 20px !important;
  width: 80px !important;
  font-size: 12px !important;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.quote-rate-cell {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.edit-quote-btn {
  flex-shrink: 0;
}

.login-button {
  padding: 0.25rem 0.65rem; /* equivalent to py-1 px-2 in Tailwind */
  color: #000000;
}

.login-button:hover {
  color: #a1191d;
  transition: color 0.2s ease;
}

.register-button {
  padding: 0.25rem 0.65rem; /* equivalent to py-1 px-2 in Tailwind */
  color: #000000;
}

.register-button:hover {
  color: #a1191d;
  transition: color 0.2s ease;
}

#past {
  background-color: #e8e9a6;
}

#active {
  background-color: #bdd7e9;
}

#upcoming {
  background-color: #b7e9b6;
}

#balloon-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  padding: 1em;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  transition: opacity 500ms;
}

.balloon {
  height: 125px;
  width: 105px;
  border-radius: 75% 75% 70% 70%;
  position: relative;
}

.balloon:before {
  content: "";
  height: 75px;
  width: 1px;
  padding: 1px;
  background-color: #fdfd96;
  display: block;
  position: absolute;
  top: 125px;
  left: 0;
  right: 0;
  margin: auto;
}

.balloon:after {
  content: "▲";
  text-align: center;
  display: block;
  position: absolute;
  color: inherit;
  top: 120px;
  left: 0;
  right: 0;
  margin: auto;
}

@keyframes float {
  from {
    transform: translateY(100vh);
    opacity: 1;
  }
  to {
    transform: translateY(-300vh);
    opacity: 0;
  }
}

/* Animated Checkmark */
.animated-checkmark {
  color: #10b981;
  font-size: 1.2em;
  margin-left: 8px;
  opacity: 0;
  display: inline-block;
  transform: scale(0);
  transition: all 0.2s ease-in-out;
}

.animated-checkmark.show {
  opacity: 1;
  transform: scale(1);
}

.animated-checkmark.hide {
  opacity: 0;
  transform: scale(0);
}

#table-message {
  position: fixed;
  top: 10px; /* Initial position */
  left: 50%;
  z-index: 1050;
  opacity: 1;
  transition:
    top 0.5s ease,
    opacity 0.5s ease; /* Transition for top and opacity */
}

/* Required to fix DataTable Scroller bug that displays 0 */
.dts_label {
  display: none !important;
}

.dataTables_scrollBody {
  border-bottom: none !important;
}
.dataTables_scrollBody table {
  border-bottom: none !important;
}

/* Modern DataTable Header Styling */
.modern-datatable thead th.modern-header {
  background-color: #ffffff !important; /* White background */
  color: #1e293b !important; /* Dark slate text */
  font-weight: 500 !important;
  padding: 12px 16px !important;
  font-size: 0.625rem !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  text-align: left !important;
  vertical-align: middle !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

/* Hover effect for headers */
.modern-datatable thead th.modern-header:hover {
  background-color: #f1f5f9 !important;
}

/* Table container styling */
.modern-datatable {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  background-color: white !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid #ddd !important; /* Subtle border */
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1) !important; /* Light shadow for depth */
}


/* Adjust the body rows to match the modern style */
.modern-datatable tbody td {
  padding: 12px 16px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  font-size: 0.875rem !important;
}

/* Row hover effect */
.modern-datatable tbody tr:hover {
  background-color: #f8fafc !important;
}

/* Narrow Modern DataTable Header Styling */
.narrow-modern-datatable thead th.narrow-modern-header {
  background-color: #ffffff !important; /* White background */
  color: #1e293b !important; /* Dark slate text */
  font-weight: 600 !important;
  padding: 12px 16px !important;
  font-size: 0.625rem;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  text-align: left !important;
  vertical-align: middle !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

/* Hover effect for headers */
.narrow-modern-datatable thead th.narrow-modern-header:hover {
  background-color: #f1f5f9 !important;
}

.narrow-modern-datatable tbody tr:nth-child(odd) {
  background-color: #f9fafb !important; /* Light grayish blue */
}

/* Table container styling */
.narrow-modern-datatable {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  width: 100% !important;
  background-color: white !important;
  overflow: hidden !important;
  border: 1px solid #ddd !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Adjust the body rows to match the modern style */
.narrow-modern-datatable tbody td {
  padding: 0px 12px !important; /* Row padding*/
  border-bottom: 1px solid #e2e8f0 !important;
  font-size: 0.75rem !important;
  text-shadow: 0 0 0.3px rgba(0, 0, 0, 0.5);
}

/* Row hover effect */
.narrow-modern-datatable tbody tr:hover {
  background-color: #f8fafc !important;
}

/* Remove default DataTables header borders */
.dataTables_scrollHead {
  border-bottom: none !important;
}

/* Styling for expandable rows */
.expandable-row-content {
  background-color: #f9fafb;
  transition: all 0.3s ease;
}

tr.shown {
  background-color: #f3f4f6;
}

#datLoadboard tbody tr:hover {
  background-color: #f3f4f6;
}

/* Datatable CSS */
table.dataTable tbody select {
  background-color: #f0f0f0;
  border-radius: 0.375rem;
  border: 1px solid #d2d6dc;
  font-size: 0.875rem;
  padding: 0.15rem 2rem;
  /* hides arrow */
  background-position: left 2rem center;
  box-sizing: border-box; /* Make sure padding and border are included in the total width and height */
  width: auto; /* Adjust the width as needed */
  height: auto; /* Adjust the height as needed */
}

table.dataTable tbody tr.selected select {
  color: #333;
  background-color: #fff;
}

table.dataTable tbody input[type="text"] {
  background-color: #f0f0f0;
  border-radius: 0.375rem;
  border: 1px solid #d2d6dc;
  font-size: 0.875rem;
  padding: 0.15rem 0.25rem;
  box-sizing: border-box;
  width: auto; /* Adjust the width as needed */
  height: auto; /* Adjust the height as needed */
}

table.dataTable tbody tr.selected input[type="text"] {
  color: #333;
}

/* Add !important if needed, but try to avoid if possible */
table.dataTable tbody input[type="text"],
table.dataTable tbody select {
  padding: 0.15rem 0.25rem !important;
}

.dataTables_filter {
  text-align: right;
}

.dataTables_wrapper .relative #dropdown-menu {
  position: absolute !important;
  right: 0;
  top: -100%;
  z-index: 9999 !important;
}

.dropdown-menu {
  position: absolute !important; /* Necessary to apply z-index */
  z-index: 9999 !important; /* High z-index to ensure it appears above other elements */
}

thead {
  position: relative !important; /* Ensure it participates in the stacking context */
  z-index: 1 !important; /* Lower z-index */
}

.dataTables_filter label input {
  padding: 0.25rem 0.5rem;
  height: 30px;
  margin-left: 0.5em;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  font-size: 14px;
  margin-top: 0.5em;
}

.copy-email {
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}

.copy-email:hover {
  color: #0e008d;
  text-decoration: underline;
}

.copy-email-2 {
  cursor: pointer;
  text-decoration: none;
}

.copy-email-2:hover {
  text-decoration: underline;
  transition: text-decoration 0.2s ease;
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutToRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Rate Lookup */
#origin-select {
  position: absolute;
  margin-left: 0.5rem;
  z-index: 10;
  max-height: 200px;
  max-width: 200px;
  overflow-y: auto;
  border: 1px solid #d2d6dc;
  outline: none;
  box-shadow: none;
  padding: 0.5rem;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

#destination-select {
  position: absolute;
  margin-left: 0.5rem;
  z-index: 10;
  max-height: 200px;
  max-width: 200px;
  overflow-y: auto;
  border: 1px solid #d2d6dc;
  outline: none;
  box-shadow: none;
  padding: 0.5rem;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

/* Carrier Lookup */
#city-select {
  position: absolute;
  margin-left: 0.5rem;
  z-index: 10;
  max-height: 200px;
  max-width: 200px;
  overflow-y: auto;
  border: 1px solid #d2d6dc;
  outline: none;
  box-shadow: none;
  padding: 0.5rem;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.sidebar-open {
  width: 450px;
}

.order-history {
  height: 250px;
  overflow-y: auto;
  background-color: #fff;
  border-collapse: collapse;
  width: 100%;
}

.order-history table {
  width: 100%;
  border-collapse: collapse; /* Collapses the border to single line */
}

.order-history thead {
  background-color: rgb(255, 255, 255);
}

.order-history thead th {
  text-align: left;
  padding: 4px;
  font-size: 0.65rem;
}

.order-history tbody td {
  padding: 4px;
  border-bottom: 1px solid #ddd;
  font-size: 0.75rem;
}

.order-history tbody tr:nth-child(odd) {
  background-color: #f4f7f9;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}



/* Modal/Form Styles */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgb(107, 114, 128, 0.75);
  transition: opacity 0.3s;
}

.modal-container {
  display: flex;
  padding: 1rem;
  text-align: center;
}

.modal-content {
  display: inline-block;
  position: relative;
  background-color: white;
  text-align: left;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(0);
  transition: all 0.3s;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
}

.modal-body {
  padding: 1.25rem;
}

.modal-header {
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
}

.form-input:focus {
  outline: none;
  ring: 2px;
  ring-color: #3B82F6;
  border-color: #3B82F6;
}

.modal-footer {
  background-color: #F9FAFB;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: row-reverse;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
}

.btn-primary {
  background-color: #3B82F6;
  color: white;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: #2563EB;
}

.btn-secondary {
  background-color: white;
  color: #374151;
  border: 1px solid #D1D5DB;
}

.btn-secondary:hover {
  background-color: #F3F4F6;
}

.error-message {
  color: #DC2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .modal-content {
    margin: 2rem auto;
  }
}
