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

* {
  font-family: "Inria Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style-type: none;
}

body {
  margin-top: 60px;
  overflow-y: auto;
}

.text-primary {
  color: #52d58e !important;
}

.select2-selection__placeholder {
  color: #404040 !important;
  font-size: 1rem !important;
  font-family: "Inria Sans", sans-serif !important;
}

.select2-search__field::-webkit-input-placeholder,
.select2-search__field::placeholder {
  color: #404040 !important;
  font-size: 1rem !important;
  font-family: "Inria Sans", sans-serif !important;
}

/* Custom styles for Select2 */
.select2-container .select2-search--inline .select2-search__field {
  background-color: #f3f3f3 !important; /* Background color */
  outline: none !important; /* Remove outline */
  height: 23px !important;
}

.select2-container--bootstrap4 .select2-selection--multiple {
  height: 40px !important; /* Match the height of your .custom-input */
  line-height: 1.5 !important; /* Match the line-height of your .custom-input */
  border: 1px solid #e3e3e3 !important; /* Border color */
  border-radius: 8px !important; /* Border radius */
  padding: 4px 14px !important;
  background-color: #f3f3f3 !important; /* Background color */
  box-shadow: 0px 7px 24px rgba(0, 0, 0, 0.03) !important; /* Box shadow */
}

.select2-container--bootstrap4 .select2-selection--single {
  height: 40px !important; /* Match the height of your .custom-input */
  line-height: 1.5 !important; /* Match the line-height of your .custom-input */
  border: 1px solid #e3e3e3 !important; /* Border color */
  border-radius: 8px !important; /* Border radius */
  padding: 5px 5px !important; /* Padding */
  background-color: #f3f3f3 !important; /* Background color */
  box-shadow: 0px 7px 24px rgba(0, 0, 0, 0.03) !important; /* Box shadow */
  background-image: url(../icons/arrow-down-green.svg);
  background-repeat: no-repeat, repeat;
  background-position: right 1.2em top 50%, 0 0;
  background-size: 1rem auto, 100%;
}

/* Custom styles for Select2 arrow */
.select2-container--bootstrap4 .select2-selection__arrow {
  display: none !important;
}

/* Custom styles for Select2 dropdown */
.select2-container--bootstrap4 .select2-dropdown {
  border: 1px solid #e3e3e3 !important; /* Border color */
  border-radius: 8px !important; /* Border radius */
  box-shadow: 0px 7px 24px rgba(0, 0, 0, 0.03) !important; /* Box shadow */
}

/* Custom styles for Select2 options */
.select2-container--bootstrap4 .select2-results__option {
  padding: 10px 14px !important; /* Padding */
}

.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #37d283 !important;
  color: white;
}

.select2-container--default .select2-selection--multiple {
  border-style: none !important;
  color: #464646 !important;
  background-color: #f3f3f3 !important;
  border-radius: 8px !important;
  border: 1px solid #e3e3e3 !important;
  padding-left: 7px !important;
}

/* Select2 styles for sidebar */
.select2-container--default .select2-selection--single {
  border-style: none !important;
  color: #464646 !important;
  background-color: #f3f3f3 !important;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  height: 45px !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center !important;
  background-image: url(../icons/arrow-down-green.svg);
  background-repeat: no-repeat, repeat;
  background-position: right 1.2em top 50%, 0 0;
  background-size: 1rem auto, 100%;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  display: none !important;
}
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #37d283 !important;
  color: white;
}

/* Utilities */
.line-vertical {
  border: 1px solid rgba(0, 0, 0, 0.6);
  height: 1.4rem;
}
.white-icon {
  color: #ffffff;
}
.full-page {
  height: 100vh;
  width: 100vw;
}
.loading-spinner {
  background-color: white;
  box-shadow: #404040 0px 0px 2px !important;
  border-radius: 4px;
  padding: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000; /* para garantir que apareça acima de outros elementos */
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}
.loading-message {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 5px;
}

.toasting {
  position: absolute;
  top: 95px;
  right: 8px;
}

/* radio buttons */
.btn-check:not(:checked) + .btn-outline-dark {
  color: #464646 !important;
  border: 1px solid #464646 !important;
}
.btn-check:checked + .btn-outline-dark {
  background-color: #464646;
  border: 1px solid #464646;
}

/* cards */
.dashboard-cards .card {
  height: 85px;
  min-width: 110px;
  padding: 10px 16px;
}
.card-date {
  position: absolute;
  right: 5px;
  top: 5px;
  font-size: 12px !important;
}

/* buttons */
.card-button-selected {
  box-shadow: #37d283 0px 0px 4px !important;
}
.card-button {
  cursor: pointer;
}
.card-button:hover {
  opacity: 0.8;
  transition: all 0.2s ease;
}
.pill-button {
  border: none;
  background: #37d283;
  border-radius: 40px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 20px;
}
.delete-button {
  border: none;
  background: red;
  box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.2);
  border-radius: 40px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 20px;
}
.pill-button:hover {
  opacity: 0.8;
  transition: all 0.2s ease;
}
.table-action-button {
  font-size: 0.9rem;
}
.bg-primary-custom {
  background-color: #52d58e;
}
.btn-primary-custom {
  border: none;
  padding: 0.4rem 0.6rem;
  color: white;
  background-color: #52d58e;
}
.btn-primary-custom:hover {
  background-color: #62dc99;
  transition: all 0.2s ease-in;
}
.btn-green {
  cursor: pointer;
  border: none;
  padding: 14px 10px;
  background-color: #00984b;
  color: #fff;
  font-size: 16px;
}
.bt-filtro-data {
  cursor: pointer;
  border-radius: 0.375rem;
}
.bt-filtro-data:hover {
  opacity: 0.8;
  box-shadow: #000 0px 0px 4px !important;
  transition: all 0.2s ease;
}

/* texts */

.text-primary-custom {
  color: #52d58e;
}

.text-green-dark {
  color: #004a34;
  font-size: 16px;
  font-weight: 500;
}
.text-green-dark-h2 {
  color: #004a34;
  font-size: 24px;
  font-weight: 700;
}
.date-label {
  font-size: 0.9rem;
}
.text-bold {
  font-weight: bold;
}

/* resumo mobile */
.card-resumo {
  color: #004a34;
  font-weight: 600;
}
.detalhes-carro div {
  background-color: #f4f4f4;
  padding: 14px 10px;
}
.detalhes-carro div:nth-child(1) {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.detalhes-carro div:nth-child(3) {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.card-resumo .detalhes-adicionais p {
  color: #919191;
}
.card-resumo .detalhes-adicionais span {
  color: #004a34;
}

/* inputs */
.custom-input {
  padding: 10px 14px;
  max-height: 40px;
  width: 100%;
  display: block;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  box-shadow: 0px 7px 24px rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  margin-bottom: 10px;
}
select.custom-select {
  cursor: pointer;
  border-radius: 8px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #f3f3f3;
  background-image: url("../icons/arrow-down-green.svg");
  background-repeat: no-repeat, repeat;
  background-position: right 1.2em top 50%, 0 0;
  background-size: 1rem auto, 100%;
  color: #464646;
  font-weight: 600;
}
select.custom-select-2 {
  -moz-appearance: none;
  -webkit-appearance: none;
  background-image: url("../icons/chevron-down-black.svg");
  background-repeat: no-repeat, repeat;
  background-position: right 0.6em top 52%, 0 0;
  padding: 8px 24px 8px 8px;
  background-color: #f4f4f4;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  color: #000;
}
select.select-filter {
  -moz-appearance: none;
  -webkit-appearance: none;
  background-image: url("../icons/chevron-down.svg");
  background-repeat: no-repeat, repeat;
  background-position: right 0.6em top 52%, 0 0;
  background-size: 0.8rem;
  max-width: 110px;
  padding: 8px 24px 8px 4px;
  background-color: transparent;
  border: 1px solid #9e9e9e;
  border-radius: 8px;
  color: #9e9e9e;
  font-size: 12px;
}
.date-filter {
  padding: 8px 0px 8px 4px;
  background-color: transparent;
  border: 1px solid #9e9e9e;
  border-radius: 8px;
  color: #9e9e9e;
  font-size: 12px;
  overflow: hidden;
  width: fit-content;
}

.form-check-input {
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #52d58e !important;
  border-color: #52d58e !important;
  color: #fff !important;
}

.form-check-input:focus {
  border-color: #9e9e9e !important;
  outline: 0;
  box-shadow: none !important;
}

.form-check-input:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3 6-6'/%3e%3c/svg%3e") !important;
}

/* operador */
.operador-card {
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}
.operador-link:hover {
  color: #000;
  opacity: 0.8;
}
.operador-link img {
  width: 24px;
}
.nav-operador {
  column-gap: 10px;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  margin-top: -14px;
  box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.14);
}
.nav-operador a {
  flex-basis: 20%;
  color: #52d58e;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* datatables styling */
.dt-buttons {
  display: flex;
  margin-top: 8px;
  margin-left: auto;
  width: fit-content;
}
.rounded-container {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
td.sorting {
  font-size: 14px;
}
td img {
  cursor: pointer;
}
thead tr th:first-child {
  z-index: 2;
}
tbody#data tr th {
  font-size: 12px;
  font-weight: normal;
}
tbody#data tr td {
  font-size: 13px;
  font-weight: normal;
}
tbody.data-table tr th {
  font-size: 12px;
  font-weight: normal;
}
tbody.data-table tr td {
  font-size: 13px;
  font-weight: normal;
}
i {
  cursor: pointer;
}
.ui-datepicker {
  z-index: 9999 !important;
}
.ui-datepicker-trigger {
  display: flex;
  align-items: center;
  padding: 0.3rem;
  border: none;
  border-radius: 1px;
  background-color: #ffffff;
}
.ui-datepicker-trigger:hover {
  filter: invert(1);
  transition: all 0.1s ease-in;
}
.ui-datepicker-trigger img {
  width: 14px;
}
.pagination {
  padding-top: 20px;
}
.dataTables_info {
  margin-top: 16px;
}
.pagination > li > a {
  background-color: white;
  color: #404040;
}
.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
  color: #5a5a5a;
  background-color: #eee;
  border-color: #ddd;
}
.pagination > .active > a {
  color: white;
  background-color: #404040 !important;
  border: solid 1px #404040 !important;
}
.pagination > .active > a:hover {
  background-color: #404040 !important;
  border: solid 1px #404040;
}
.badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
}
.badge-danger {
  background-color: #ff0000;
  color: #fff;
}
.badge-warning {
  background-color: #ff9f00;
  color: #fff;
}
.badge-info {
  background-color: #3fbae4;
  color: #fff;
}

/* Table */
#table-container {
  max-width: 1525px;
}

/* sidebar */
.sidebar {
  position: relative;
  width: 250px;
  box-shadow: 30px 0px 34px rgba(0, 0, 0, 0.04);
  transition: all 0.1s linear;
}
.sidebar-hidden {
  margin-left: -250px;
  transition: all 0.15s linear;
}
.link-dark {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 10px;
  padding-left: 25px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dfdfdf;
}
.link-dark:hover {
  color: #52d58e !important;
}
.link-dark:active {
  background-color: #44c780;
  color: #fff !important;
}
.arrow-up {
  transform: rotate(180deg);
  transition: all 0.2s linear;
}
.arrow-down {
  transform: rotate(0deg);
  transition: all 0.2s linear;
}
.link-dark .slide-right {
  -webkit-animation: slide-right 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-right 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.link-dark .slide-left {
  -webkit-animation: slide-left 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-left 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
#sidebar-toggler {
  z-index: 1000;
  background-color: #44c780;
  margin-right: 2rem;
}
#sidebar-toggler:hover {
  background-color: #404040;
  transition: all 0.2s ease;
}
.bg-brand-color {
  background-color: #52d58e;
}

.perfil-image {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #464646;
  font-size: 1rem;
}

/* responsive */
@media screen and (max-width: 968px) {
  #table_filter,
  #table_length {
    margin-top: 0.6rem;
  }

  th {
    font-size: 0.8rem;
    text-align: center;
  }

  .sorting {
    font-size: 1rem;
  }

  .pagination li {
    font-size: 0.76rem;
  }
}

/* animações */
@-webkit-keyframes slide-right {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(20%);
    transform: translateX(20%);
  }
}
@keyframes slide-right {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(20%);
    transform: translateX(20%);
  }
}
@-webkit-keyframes slide-left {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-4%);
    transform: translateX(-4%);
  }
}
@keyframes slide-left {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-4%);
    transform: translateX(-4%);
  }
}

.select2-container .select2-search--inline .select2-search__field {
  background-color: #fff !important;
}

.select2-container--default .select2-selection--multiple {
  height: 38px !important;
  border-radius: 3px !important;
  background-color: #fff !important;
}
