@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

* {
  scroll-behavior: smooth;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

*:focus {
  outline: none;
}

h1,
h2,
h3,
h4,
label {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 1000;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  background-color: whitesmoke;
}

.page {
  display: grid;
  grid-template-columns: 70px 1fr;
}

.header {
  background-color: #006db7;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  place-content: center;
  position: relative;
  z-index: 100;
}

.header-text {
  text-align: center;
  color: #00b0f0;
  font-size: 1.7rem;
}

.header-logo {
  background-color: #006db7;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.header-logo img {
  height: 3rem;
}

.body {
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 5rem);
  gap: 0;
}

.collapse-container {
  position: relative;
  background-color: whitesmoke;
  padding-top: 2rem;
  overflow: visible;
  transition: max-height 0.3s ease-in-out, padding-top 0.3s ease-in-out;
  flex: none;
  z-index: 10;
}

.collapse-container.collapsed {
  max-height: 33rem;
  padding-top: 0;
  overflow: hidden;
}

/* Ocultar tablas en tarjetas grises cuando colapsado - respeta la lógica de .show */
.collapse-container.collapsed .gray-bkg table {
  display: none;
}

/* Centrar h3 verticalmente cuando colapsado - solo los visibles*/
.collapse-container.collapsed .gray-bkg:not(.show) {
  display: flex;
  align-items: center;
  /* justify-content: center; */
}

/* Ocultar contenido de filtros cuando colapsado */
.collapse-container.collapsed #filtersDiv {
  display: none;
}

/* Ocultar filtros en drayage y otr cuando colapsado - ocultar todo excepto el botón */
.drayage-list-filters.collapsed .white-card-collapse > :not(button),
.otr-list-filters.collapsed .white-card-collapse > :not(button) {
  display: none;
}

/* Ocultar statsDiv cuando colapsado y Approved OTR está visible */
.collapse-container.collapsed #dispatcherUnitsDiv:not(.show) ~ #statsDiv {
  display: none;
}

/* White card se expande cuando colapsado - específico por pantalla y vista */
.quotes-list-filters.quotes-view.collapsed .white-card-collapse {
  grid-column: span 3 !important;
}

.quotes-list-filters.approved-otr-view.collapsed .white-card-collapse {
  grid-column: span 8 !important;
}

.drayage-list-filters.collapsed .white-card-collapse {
  grid-column: span 2 !important;
}

.otr-list-filters.collapsed .white-card-collapse {
  grid-column: span 2 !important;
}

.collapse-toggle-btn {
  background-color: #006db7;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.3s ease;
  margin-left: auto;
  width: 3rem;
  height: 3rem;
}

.collapse-toggle-btn:hover {
  background-color: #004a7a;
}

.collapse-container.collapsed .collapse-toggle-btn {
  transform: rotate(180deg);
}

.actions-right {
  justify-content: right;
  display: flex;
  flex-direction: row-reverse;
  gap: 1rem;
  max-height: 3rem;
}

.martop-2 {
  margin-top: 2rem;
}

.grid-cont-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0 2rem;
}

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

.grid-cont-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 2rem;
}

.grid-cont-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.colspan-2 {
  grid-column: span 2;
}

.colspan-3 {
  grid-column: span 3;
}

.colspan-4 {
  grid-column: span 4;
}

.colspan-7 {
  grid-column: span 7;
}

.rowspan-2 {
  grid-row: span 2;
}

.gray-bkg {
  background-color: #002060;
  color: white;
}

.blue-bkg {
  background-color: #006db7;
}

.white-bkg {
  background-color: white;
}

.ltblue-bkg {
  background-color: #00b0f0;
}

.ltblue-text {
  color: #00b0f0;
}

.yellow-bkg {
  background-color: rgb(247, 200, 37);
}

.purple-bkg {
  background-color: rgb(184, 30, 184);
}

.dark-text {
  color: #002060;
}

.blue-text {
  color: #006db7;
}

.white-text {
  color: white !important;
}

.blue-border {
  border: 2px solid #006db7;
}

.ltblue-border {
  border: 2px solid #00b0f0 !important;
}

.dark-border {
  border: 2px solid #002060;
}

.yellow-border {
  border-color: rgb(247, 200, 37);
}

.purple-border {
  border-color: rgb(184, 30, 184);
}

.text-padding {
  padding: 0.5rem 1rem;
}

.smaller-text-padding {
  padding: 0.2rem 0.5rem;
}

.no-margin {
  margin: 0 !important;
}

.card-title {
  margin: 0.5rem;
  margin-left: 1rem;
  font-size: 1.7rem;
  align-items: center;
}

.white-table {
  border: #00206033 2px solid;
  background-color: white;
  border-collapse: collapse;
}

.white-table thead th:not(:last-child) {
  border-right: 2px solid transparent;
}

.white-table.row-lines tr:not(:last-child) {
  border-bottom: 1px solid #dadada;
}

table {
  width: 100%;
}

th {
  text-align: start;
  color: #006db7;
  font-size: 1.2rem;
}

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

.white-card {
  border: #00206033 2px solid;
  padding: 2rem;
  background-color: white;
}

.white-card-collapse {
  padding: 1rem;
  justify-content: right;
}


.height-limit-scroll {
  height: 4vh;
  overflow-y: auto;
}

.input-cont {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.input-cont label {
  margin-left: 1rem;
}

.input-cont select,
.input-cont input,
.input-cont textarea {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: #006db7 2px solid;
  color: #006db7;
  transition: 0.3s ease-in-out all;
}

.input-cont select:focus,
.input-cont input:focus,
.input-cont textarea {
  border-color: #00b0f0;
}

.input-cont.with-icon {
  position: relative;
}

.input-cont.with-icon img.calendar-icon {
  height: 22px;
  position: absolute;
  top: 36px;
  right: 10px;
}

.display-flex {
  display: flex;
  gap: 0 1rem;
}

.gap-05 {
  gap: 0.5rem;
}

.gap-1 {
  gap: 1rem;
}

.flex-column {
  flex-direction: column;
}

.flex-end {
  justify-content: flex-end;
}

.flex-start {
  justify-content: flex-start;
}

.flex-center {
  justify-content: center;
}

.flex-between {
  justify-content: space-between;
}

.flex-around {
  justify-content: space-around;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-center {
  align-items: center;
}

.marleft {
  margin-left: 1rem;
}

.marright {
  margin-right: 1rem;
}

.marbo {
  margin-bottom: 1rem;
}

.marbo-2px {
  margin-bottom: 2px;
}

.marto {
  margin-top: 1rem;
}

.marto-15 {
  margin-top: 1.5rem;
}

.img-button {
  border-radius: 100%;
  padding: 0.5rem;
  height: 1.5rem;
  width: 1.5rem;
  transition: 0.25s ease-in-out all;
  cursor: pointer;
}

.img-button:hover {
  transform: scale(1.2);
}

.img-button img {
  height: 1.5rem;
  transition: 0.4s ease-in-out all;
}

.smaller-button {
  height: 1rem;
  width: 1rem;
  display: grid;
  grid-template-columns: 1rem 1fr;
}

.smaller-button:hover {
  transform: scale(1.05) translateX(-10px);
}

.smaller-button p {
  transform: translate(-20px, -20px);
  opacity: 0;
  width: 0;
  transition: 0.5s ease-in-out all;
}

.smaller-button:hover p {
  transform: translate(15px, -20px);
  width: auto;
  opacity: 1;
}

.smaller-button:hover img {
  transform: scale(1);
}

.smaller-button img {
  height: 1rem;
}

.smaller-button p {
  font-size: 0.7rem;
}

.img-button:hover img {
  transform: scale(1.5);
}

/* BIGGER BUTTON*/

.bigger-button {
  height: 2rem;
  width: 2rem;
  display: grid;
  grid-template-columns: 1rem 1fr;
}

.bigger-button:hover {
  transform: scale(1.05) translateX(-15px);
}

.bigger-button p {
  transform: translate(-20px, -20px);
  opacity: 0;
  width: 0;
  transition: 0.5s ease-in-out all;
}

.bigger-button:hover p {
  transform: translate(30px, -20px);
  width: auto;
  opacity: 1;
}

.bigger-button:hover img {
  transform: scale(1.4);
}

.bigger-button img {
  height: 2rem;
}

.bigger-button p {
  font-size: 1.1rem;
}

.boton-checkbox {
  display: flex;
  align-self: end;
  padding: 5px 10px;
  background-color: #f0f0f0;
  color: #006db7;
  border-radius: 15px;
  font-weight: 800;
  cursor: pointer;
}

.boton-checkbox-checked {
  display: flex;
  align-self: end;
  padding: 5px 10px;
  background-color: #006db7;
  color: #fafafa;
  border-radius: 15px;
  font-weight: 800;
  cursor: pointer;
}

.boton-checkbox input[type="checkbox"],
.boton-checkbox-checked input[type="checkbox"] {
  display: none;
}

.padright-3rem {
  padding-right: 3rem;
}

.content-totheleft {
  justify-content: flex-end;
}

.small-font {
  font-size: 1rem;
}

.status-ind {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}

table .status-ind {
  text-align: center;
  width: 70%;
}

div:has(h4.status-ind) {
  flex-direction: column;
}

.status-ind.purple {
  background-color: rgb(184, 30, 184);
  border-color: rgb(184, 30, 184);
}

.status-ind.yellow {
  background-color: rgb(247, 200, 37);
  border-color: rgb(228, 186, 0);
  color: #002060;
  font-weight: 900;
}

.loading-overlay {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 9999;
}

.invisible {
  transition: 1.5s cubic-bezier(0.97, 0.26, 0.25, 1) all;
  opacity: 0;
  transform: translateX(100vw) scaleX(0);
}

.invisible div {
  transform: translateX(20%);
  transition: 2s cubic-bezier(0, 0, 0.38, 1) all;
  overflow: hidden;
}

.visible div {
  transform: translateX(0px);
  opacity: 1;
  transition: 0.4s ease all;
}

.floating-overlay {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #00b0f03d;
  z-index: 9999;
  transition: 1s ease all;
}

.floating {
  background-color: #002060;
  max-width: 80%;
  max-height: 80%;
  border: #00206033 2px solid;
  padding: 1rem;
  margin: 1rem;
  color: white;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

.floating > img:first-child {
  transform: rotate(45deg);
  position: absolute;
  height: 25px;
  top: 10px;
  right: 10px;
  cursor: pointer;
  transition: 0.3s ease-in-out all;
}

.floating > img:first-child:hover {
  transform: rotate(225deg) scale(1.2);
}

.floating img:last-child {
  margin: auto;
  height: 5rem;
  width: 5rem;
}

.floating h2 {
  font-size: 2.5rem;
  text-align: center;
  margin: 0;
}

.comments-cont {
  position: relative;
}

.comment-input {
  position: absolute;
  bottom: 1rem;
  width: 80%;
  left: 5%;
}

.comment-input textarea {
  border-bottom-right-radius: 0;
}

textarea {
  resize: none;
}

.comment-input button {
  border-radius: 2rem;
  cursor: pointer;
}

.goback {
  background-color: #00b0f0;
  height: 4rem;
  position: fixed;
  top: 50%;
  width: 1rem;
  display: grid;
  justify-content: center;
  align-content: center;
  z-index: 1000;
  opacity: 0.5;
  transition: 0.3s ease-in-out all;
  cursor: pointer;
}

.goback img {
  height: 2rem;
  transform: scale(0) translateX(100px);
  transition: 0.3s ease-in-out all;
}

.goback:hover img {
  transform: scale(1) translateX(0px);
}

.goback:hover {
  width: 3rem;
  opacity: 1;
  border-top-right-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

.no-comments {
  overflow-y: auto;
}

.no-comments img {
  height: 12rem;
}

.rounded {
  border-radius: 2rem;
}

.separator {
  min-height: 70%;
  min-width: 3px;
}

.max-height-70 {
  max-height: 70px;
}

.fixed-height-65 {
  height: 65px;
}

.min-content {
  grid-template-rows: min-content auto;
}

.align-center-self {
  align-self: center;
}

.bold-font {
  font-weight: 900;
}

.bigger-font {
  font-size: 1.15em;
}

.section-img div {
  padding: 1rem;
  border-radius: 1rem;
  height: 50px;
  width: 50px;
}

.section-img img {
  height: 50px;
  width: 50px;
}

.fancy-selected input {
  padding: 0.5rem 1rem;
  border: none;
  color: #006db7;
  transition: 0.3s ease-in-out all;
}

.fancy-selected {
  outline: none;
  border-radius: 2rem;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 28px;
  border: #006db7 2px solid;
  align-items: center;
  position: relative;
}

.fancy-selected img {
  height: 28px;
  user-select: none;
  transition: 0.3s ease all;
  cursor: pointer;
}

.fancy-selected img.arrow-small {
  height: 3.1vh;
  user-select: none;
  transition: 0.3s ease all;
  cursor: pointer;
  pointer-events: none;
}

/* 
.arrow-small {
    height:4.4vh;
} */

.max-width-80 {
  max-width: 80px;
}

.show {
  display: none;
}

.rotate {
  transform: rotate(180deg);
}

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

.dropdown-content {
  display: none;
  max-height: 250px;
  overflow-y: auto;
  margin-top: 1rem;
  position: absolute;
  z-index: 100;
  background: white;
  width: 100%;
  padding-bottom: 1rem;
  border: #002060 2px solid;
  border-radius: 1rem;
}

.dropown-smaller {
  width: 10%;
}

.dropdown-content * {
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-content p {
  transition: 0.3s ease all;
  cursor: pointer;
  user-select: none;
  margin: 0;
  border: #006db7 2px solid;
  scroll-behavior: smooth;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 0.3rem;
  width: 100%;
  min-height: 37.33px;
  transition: 0.3s ease-in-out color;
  transition: 0.5s ease-in-out background-color;
}

.dropdown-content p:hover {
  background-color: #00b0f0;
  color: white;
}

.dropdown-content input {
  margin-bottom: 0.75rem;
  transition: 0.3s ease;
  border: #006db7 solid 2px;
  width: 100%;
}

.dropdown-content input:focus {
  border: #00b0f0 solid 2px;
}

.comment-card {
  background-color: white;
  border: #006db7 solid 2px;
  border-radius: 2rem;
  border-bottom-right-radius: 0;
}

/*
 *  Scrollbar styling
 */

*::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: transparent;
  padding: 0.5rem 0;
  margin: 0.5rem 0;
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
  background-color: transparent;
  padding: 0.5rem 0;
  margin: 0.5rem 0;
}

*::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #00b0f0;
  padding: 1rem 0;
  padding: 1rem 0;
}

.form-field-hidden {
  display: none;
}

.form-field-visible {
  opacity: 1;
  height: auto;
  margin: 0.5rem 0;
  transition: all 0.3s ease;
}

/* MENU STYLES */

.menu-icon {
  width: 70px;
  height: 80px;
  position: fixed;
  cursor: pointer;
  z-index: 205;
  display: flex;
  flex-direction: column;
  background-color: #006db7;
  transition: 0.3s ease-in-out all;
  justify-content: center;
  align-items: center;
}

.menu-icon div {
  width: 45%;
  height: 5px;
  min-height: 5px;
  background-color: white;
  margin: 2px 0;
  transition: all 0.3s ease;
}

.menu-icon.open {
  background-color: transparent;
}

.menu-icon.open div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 1px);
}

.menu-icon.open div:nth-child(2) {
  display: none;
}

.menu-icon.open div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, 1px);
}

.menu {
  width: 250px;
  height: 100%;
  background-color: #002060;
  color: white;
  position: fixed;
  top: 0;
  transform: translateX(-250px);
  transition: 0.5s ease;
  padding-left: 70px;
  padding-top: 80px;
  z-index: 200;
}

.menu.open {
  transform: translateX(0px);
  padding-left: 0;
}

.menu:hover {
  transform: translateX(0px);
  padding-left: 0;
}

.menu:hover .menu-item {
  flex-direction: row;
}

.menu-item {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  padding: 10px;
  cursor: pointer;
  color: white;
  background-color: #002060;
  transition: 0.3s ease-in-out all;
}

.menu.open .menu-item {
  flex-direction: row;
}

.menu.open .menu-item.active {
  background-color: #006db7;
}

.menu-item:hover {
  background-color: #006db7;
}

.icon {
  margin-left: 20px;
  margin-right: 10px;
  width: 30px;
}

.arrow {
  margin-left: auto;
  transition: 0.6s ease all;
}

.arrow img {
  height: 30px;
}

.rotate {
  transform: rotate(180deg);
}

.submenu {
  transform: scaleY(0) translateY(-100px);
  height: 0;
  flex-direction: column;
  background-color: #006db7;
  display: flex;
}

.submenu a {
  padding: 10px;
  font-size: 0;
  text-decoration: none;
  color: transparent;
  padding-left: 60px;
  padding-right: 4rem;
}

.submenu a:hover {
  background-color: #00b0f0;
}

.submenu.subopen {
  transform: scaleY(1) translateY(0px);
  height: auto;
  opacity: 1;
  flex-direction: column;
  transition: 0.5s ease-out height;
}

.header-user {
  background-color: #002060;
  border-radius: 2rem;
  min-width: 12rem;
}

.submenu.subopen a {
  color: white;
  font-size: 1rem;
  transition: 0.2s ease-out all;
}

.header-user img {
  height: 2rem;
  transition: 0.3s ease-in-out all;
}

.header-user img:nth-child(3) {
  cursor: pointer;
  transition: 0.3s ease-out background-color transform;
}

.header-user img:nth-child(3):hover {
  transform: scale(1.3) translateX(6px);
  /* background-color: #006db7; */
  border-top-right-radius: 100%;
  border-bottom-right-radius: 100%;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.pagination-indicator {
  margin: 0 auto 1rem;
  width: auto;
  max-width: 25ch;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: 0.5rem;
  align-items: center;
}

.pagination-indicator p {
  text-align: center;
  color: white;
}

.pagination-indicator img {
  cursor: pointer;
  height: 2rem;
  transition: 0.3s ease all;
}

.pagination-indicator img:first-child {
  transform: rotate(90deg);
}

.pagination-indicator img:first-child:hover {
  transform: rotate(90deg) scale(1.2);
}

.pagination-indicator img:last-child {
  transform: rotate(270deg);
  justify-self: end;
}

.pagination-indicator img:last-child:hover {
  transform: rotate(270deg) scale(1.2);
}

.multi-bkg {
  background: linear-gradient(90deg, #0198cf, #0077c6, #0138a5, #00143b);
  background-size: 500% 200%;

  -webkit-animation: bkg-move 5s ease infinite;
  -moz-animation: bkg-move 5s ease infinite;
  animation: bkg-move 5s ease infinite;
}

@-webkit-keyframes bkg-move {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@-moz-keyframes bkg-move {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes bkg-move {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.multi-check-cont {
  display: flex;
  height: fit-content;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fancy-check {
  background-color: gainsboro;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  transition: 0.4s ease all;
  cursor: pointer;
}

.fancy-check:hover {
  background-color: #00b0f03d;
}

.fancy-check:has(input:checked) {
  background-color: #00b0f0;
  color: white;
}

.fancy-check input[type="checkbox"],
.fancy-check input[type="radio"] {
  opacity: 0;
  position: absolute;
}

/* custom select styles */

.select-wrapper {
  display: none;
}

.open {
  display: block;
}

.relative {
  position: relative;
}

.fancy-select {
  position: relative;
}

.sticky {
  position: sticky;
}

.select-wrapper {
  position: absolute;
  top: calc(100% + 0.35em);
  left: 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0px 20px 30px 3px rgba(0, 0, 0, 0.2);
  background-color: white;
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
  width: 100%;
}

.select-wrapper .options-cont p {
  padding: 0.6em 1.5em;
  background-color: rgb(255, 255, 255);
  color: #006db7;
  min-height: 1em;
  font-size: smaller;
  margin: 0;
}

.select-wrapper .options-cont p:hover {
  background-color: rgb(116, 116, 116);
  color: white;
}

.search-input {
  max-width: 12em;
}

.search-input:focus {
  outline-color: #00b0f0;
  outline: 0em;
}

.input-field-cont {
  position: relative;
}

.input-field-cont img {
  position: absolute;
  height: 1.35vw;
  user-select: none;
  transition: 0.3s ease all;
  top: 74%;
  right: 0.1em;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.width-auto {
  width: auto;
}

.width-6 {
  width: 6em;
}

.width-7 {
  width: 7em;
}

.width-8 {
  width: 8em;
}

.width-10 {
  width: 10em;
}

.width-12 {
  width: 12em;
}

.width-13 {
  width: 13em;
}

.width-15 {
  width: 15em;
}

.width-5rem {
  width: 5rem;
}

.width-6rem {
  width: 6rem;
}

.max-width-7vw {
  max-width: 7vw;
}

.filter-column {
  display: flex;
  gap: 0.2em;
  align-items: center;
  transition: 0.6s ease all;
}

.filter-column:hover {
  transition: 0.6s ease all;
  background-color: #002c857c;
}

.filter-column.switch img {
  transform: rotate(180deg);
}

.status-label {
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: small;
}

.search-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.search-container img {
  height: 2.5em;
  padding-left: 0.5em;
  cursor: text;
}

.search-container input {
  height: 100%;
  flex-grow: 1;
  border: none;
  padding: 0;
  font-size: 16px;
}

.width200 {
  width: 200px;
}

.scale1p5 {
  transform: scale(1.5);
}

#statsContainer {
  position: sticky;
  top: 7rem;
}

.truncate-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.total-row-separator {
  box-shadow: 0 -1px 0 0px white;
  color: white !important;
  font-weight: bold;
}

#qtiesTable tr:nth-last-child(2) td {
  padding-bottom: 10px !important;
}

#qtiesTable tr:nth-last-child(1) td {
  padding-top: 5px !important;
}

.favorite-icon {
  height: 2rem;
  fill: rgb(190, 190, 190);
}

.favorite-icon:hover {
  cursor: pointer;
}

.favorite-icon.active {
  fill: #ffc23e;
}

.favorite-icon.review {
  fill: #F52727
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  padding: 1rem;
}

.new-btn {
  display: flex;
  align-items: center;
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  text-decoration: none;
  gap: 0.2rem;
  flex-grow: 0;
}

.close-x-button {
  position: absolute;
  right: -1.3rem;
  top: -1.3rem;
  transition: 0.25s ease-in-out all;
}

.close-x-button img {
  background-color: #f0f0f0;
  border-radius: 50%;
  height: 2.6rem;
  cursor: pointer;
}

.close-x-button:hover {
  transform: scale(1.1);
  transition: 0.25s ease-in-out all;
}

.tables-pagination-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  height: 100%;
  min-height: 0;
}

.table-wrapper {
  flex: 1;
  overflow-y: auto;
  position: relative;
  min-height: 0;
  z-index: 5;
}

.table-wrapper table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Select option color styling using data-color attribute */
option[data-color] {
  background-color: var(--color, #FFFFFF) !important;
  color: var(--text-color, #006db7) !important;
  font-weight: var(--font-weight, 400) !important;
  cursor: pointer;
}

/* Hover styles for native select options - override inline styles */
option[data-color]:hover {
  background-color: rgb(0, 109, 183) !important;
  color: white !important;
}

/* Hover styles for fancy-select options */
.select-wrapper .options-cont p {
  cursor: pointer;
}

/* Hover styles specifically for colored options (data-color) - applies globally to all colored options */
p[data-color]:hover {
  background-color: rgb(0, 109, 183) !important;
  color: white !important;
}

/* Styled select elements for colored pricing reps and dispatchers */
select[data-color] {
  background-color: var(--select-bg-color, #FFFFFF) !important;
  color: var(--select-text-color, #006db7) !important;
  font-weight: var(--select-font-weight, 400) !important;
}

select.colored-select {
  background-color: var(--select-bg-color, #FFFFFF) !important;
  color: var(--select-text-color, #000000) !important;
  font-weight: 500 !important;
}

/* Styled input elements for colored pricing reps (in FB-Drayage) */
input[type="text"][data-color] {
  background-color: var(--select-bg-color, #FFFFFF) !important;
  color: var(--select-text-color, #006db7) !important;
  font-weight: var(--select-font-weight, 400) !important;
}

input[type="text"].colored-select {
  background-color: var(--select-bg-color, #FFFFFF) !important;
  color: var(--select-text-color, #000000) !important;
  font-weight: 500 !important;
}

/* Truncate email subject to one line with ellipsis */
.email-subject-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* Email subject header - limit width without table-layout fixed to avoid affecting other columns */
.email-subject-header {
  max-width: 200px !important;
}

/* Email subject cell data - limit width with truncate */
#quotesOTRTable tbody td:nth-child(4) {
  max-width: 200px;
  overflow: hidden;
}

/* Pill style for dispatcher and other tags */
.pill-badge {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: none;
  text-align: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.pill-badge p {
  margin: 0px;
  color: white
}

.pu-date-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.2;
  background-color: #eef3f8;
  color: #006db7;
}

.go-to-quote-btn {
  border-collapse: collapse;
  scroll-behavior: smooth;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #00b0f0;
  color: white !important;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  border-radius: 2rem;
  cursor: pointer;
  text-decoration: none;
  gap: 0.2rem;
  flex-grow: 0;
}


.go-to-quote-btn p {
  border-collapse: collapse;
  color: white !important;
  cursor: pointer;
  scroll-behavior: smooth;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0 !important;
  flex-grow: 4;
}

.go-to-quote-btn img {
  border-collapse: collapse;
  color: white !important;
  cursor: pointer;
  display: block;
  font-family: "Work Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  height: 16px;
  overflow-clip-margin: content-box;
  scroll-behavior: smooth;  
}