.leaflet-div-icon {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.truck-icon.highlight {
  animation: pulse-highlight 1s infinite;
}

@keyframes pulse-highlight {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 0, 0);
  }
}

/*a {
  text-decoration: none !important;
  color: #000 !important;
}
*/

a {
  text-decoration: none !important;
}


.container-signin {
  display: flex;
}

.half-signup,
.half-signin {
  flex: 1;
  height: 100vh;
}

.signin-img {
  background-image: url("/assets/background-login-6487a53e.webp");
  background-repeat: no-repeat;
  background-position: top-left;
  background-size: cover;
}

.password-container {
  position: relative;
}

#togglePassword {
  position: absolute;
  top: 5px; /* Ajuste a distância do ícone do campo de senha */
  right: 10px; /* Alinha o ícone à direita, dentro do container */
  font-size: 18px;
  color: #0F3544; /* Ajuste conforme sua cor preferida */
}

.form-control.input-signin {
  padding-right: 30px; /* Espaço à direita do campo para não sobrepor o ícone */
}

.authentication-wrapper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    min-height: 100vh;
    width: 100%
}

.authentication-wrapper .authentication-inner {
    width: 100%
}

.authentication-wrapper.authentication-1,
.authentication-wrapper.authentication-2,
.authentication-wrapper.authentication-4 {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center
}

.authentication-wrapper.authentication-1 .authentication-inner {
    max-width: 400px
}

.authentication-wrapper.authentication-2 .authentication-inner {
    max-width: 380px
}

.authentication-wrapper.authentication-3 {
    -ms-flex-align: stretch;
    align-items: stretch;
    -ms-flex-pack: stretch;
    justify-content: stretch
}

.authentication-wrapper.authentication-3 .authentication-inner {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: stretch;
    align-items: stretch;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-pack: stretch;
    justify-content: stretch
}

.authentication-wrapper.authentication-4 .authentication-inner {
    max-width: 800px
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .authentication-wrapper:after {
        content: '';
        display: block;
        -ms-flex: 0 0 0%;
        flex: 0 0 0%;
        min-height: inherit;
        width: 0;
        font-size: 0
    }
}


@media (max-width: 767.98px) {
  .container-signin {
    flex-direction: column;
  }

  .signin-img {
    display: none;
  }

  .half-signin {
    width: 100%;
    height: auto;
  }

  .authentication-wrapper {
    min-height: auto;
    padding: 40px 20px;
  }

  .authentication-inner {
    max-width: 100%;
  }

  .form-signin {
    width: 100%;
  }
}



.dropzone {
  border: 2px dashed #c9c9c9;
  border-radius: .5rem;
  padding: 1.5rem;
  text-align: center;
  transition: .15s ease-in-out;
}
.dropzone.dragover { border-color: #0d6efd; background: #f4f8ff; }
.link-like { color: #0d6efd; cursor: pointer; text-decoration: underline; }


.kanban-scroll{
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.kanban-col{
  flex: 0 0 340px;
  max-width: 340px;
  scroll-snap-align: start;
}

.kanban-status-card{
  border: 1px solid #e6e9ef;
  background: #f7f8fb;
}

.kanban-status-card .card-header{
  padding: 12px 14px 8px;
  background: transparent !important;
  border-bottom: 0;
}

.kanban-status-metrics{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #6b7280;
}

.kanban-status-metrics__item{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.kanban-status-metrics__item.is-red{ color: #dc3545; }
.kanban-status-metrics__item.is-orange{ color: #fd7e14; }
.kanban-status-metrics__item.is-yellow{ color: #d39e00; }
.kanban-status-metrics__item.is-green{ color: #198754; }

.kanban-column{
  min-height: 240px;
  max-height: calc(100vh - 285px);
  overflow-y: auto;
  padding: 2px;
}

.kanban-card{
  cursor: grab;
  border-radius: 10px;
  border-color: #d7dde7 !important;
  background: #ffffff;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.kanban-card:active{
  cursor: grabbing;
}

.kanban-card:hover{
  box-shadow: 0 4px 12px rgba(15, 53, 68, 0.08);
}

.kanban-card--is-red{
  background: #fff5f5;
  border-color: #f2b3b9 !important;
}

.kanban-card--is-orange{
  background: #fff8f1;
  border-color: #ffd7af !important;
}

.kanban-card--is-yellow{
  background: #fffdf0;
  border-color: #f3df9a !important;
}

.kanban-card--is-green{
  background: #f2fbf3;
  border-color: #b8e3c1 !important;
}

.kanban-card__order a{
  font-size: 1.03rem;
  letter-spacing: 0.2px;
}

.kanban-chip{
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
}

.kanban-chip--is-red{
  color: #c62828;
  background: #ffe4e6;
  border-color: #f5b3ba;
}

.kanban-chip--is-orange{
  color: #e46b00;
  background: #fff0df;
  border-color: #ffc995;
}

.kanban-chip--is-yellow{
  color: #a37500;
  background: #fff7cc;
  border-color: #ecd177;
}

.kanban-chip--is-green{
  color: #1f7a3d;
  background: #e6f7ea;
  border-color: #a8ddba;
}

.kanban-card__footer{
  border-top: 1px dashed #dbe2ec;
}

.kanban-card__meta{
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}

.kanban-card__meta--is-red{ color: #dc3545; }
.kanban-card__meta--is-orange{ color: #fd7e14; }
.kanban-card__meta--is-yellow{ color: #d39e00; }
.kanban-card__meta--is-green{ color: #198754; }

@media (max-width: 768px){
  .kanban-col{
    flex: 0 0 86vw;
    max-width: 86vw;
  }
}






/* corta qualquer vazamento */
#result-skeleton,
#result-skeleton .card,
#result-skeleton .card-body{
  overflow-x: hidden;
}

/* “tabela” em grid */
.sh-grid{
  display: grid;
  grid-template-columns: 36px 1.4fr .9fr .9fr .9fr .7fr 1fr 1.5fr .9fr 44px;
  column-gap: 12px;
  align-items: center;
  width: 100%;
}

/* header um pouco menor */
.sh-grid-header .sh-cell{
  height: 16px;
  opacity: .9;
}

/* células */
.sh-cell{
  height: 18px;
  border-radius: 6px;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,.06) 25%,
    rgba(0,0,0,.14) 37%,
    rgba(0,0,0,.06) 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.1s ease-in-out infinite;

  /* evita estourar */
  min-width: 0;
}

.notification-scroll {
  max-height: 320px;
  overflow-y: auto;
}

.notification-item {
  cursor: pointer;
}

.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffc107;
  margin-top: 8px;
  flex-shrink: 0;
}

.notif-dot.is-read {
  background: #dee2e6;
}

.notification-item.is-read .notif-title {
  font-weight: 500;
  color: #6c757d;
}

.dropdown-menu {
  overflow-x: hidden;
}

.notif-text {
  white-space: normal;
  word-break: break-word;
}

/* animação */
@keyframes shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

@media (max-width: 768px){
  .sh-grid{
    grid-template-columns: 36px 1.6fr 1fr 44px; /* simplificado */
  }
  /* esconde as “células extras” (5ª em diante) */
  .sh-grid .sh-cell:nth-child(n+5){
    display:none;
  }
}

.overdue-alert-top {
  flex: 1 0 100%;
  width: 100%;
  background: #dc3545;
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.overdue-alert-top__link {
  display: block;
  color: #fff;
  text-decoration: none;
}

.overdue-alert-top__link:hover,
.overdue-alert-top__link:visited {
  color: #fff;
}

body.has-overdue-alert {
  --overdue-alert-h: 44px;
}

.orders-schedule-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-inline: 1rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.orders-schedule-legend__title {
  font-weight: 600;
  color: #495057;
}

.orders-schedule-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.order-schedule-marker {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.order-schedule-marker.is-yellow {
  background-color: #ffc107;
}

.order-schedule-marker.is-orange {
  background-color: #fd7e14;
}

.order-schedule-marker.is-red {
  background-color: #dc3545;
}

.order-schedule-marker.is-green {
  background-color: #198754;
}

.order-list-priority-link {
  border-bottom: 2px solid #dc3545;
  padding-bottom: 2px;
}

.order-list-marker-gradient {
  width: 72px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--order-list-marker-color) 0 4px, var(--order-list-marker-soft-color) 4px 36px, rgba(255, 255, 255, 0) 100%);
}

.order-list-marker-gradient--is-yellow {
  --order-list-marker-color: #ffc107;
  --order-list-marker-soft-color: rgba(255, 193, 7, 0.08);
}

.order-list-marker-gradient--is-orange {
  --order-list-marker-color: #fd7e14;
  --order-list-marker-soft-color: rgba(253, 126, 20, 0.08);
}

.order-list-marker-gradient--is-red {
  --order-list-marker-color: #dc3545;
  --order-list-marker-soft-color: rgba(220, 53, 69, 0.08);
}

.order-list-marker-gradient--is-green {
  --order-list-marker-color: #198754;
  --order-list-marker-soft-color: rgba(25, 135, 84, 0.07);
}

.bg-is-yellow {
  background-color: #ffc107 !important;
}

.bg-is-orange {
  background-color: #fd7e14 !important;
}

.bg-is-red {
  background-color: #dc3545 !important;
}

.bg-is-green {
  background-color: #198754 !important;
}

.order-nps-card {
  background: #fcfdff;
  border: 1px solid #e3e9f2 !important;
  color: #41556f;
}

.order-nps-card__label {
  color: #7d8ea3;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.order-nps-card__feedback {
  color: #5c6f86;
}

.order-nps-card__score {
  color: #4c6685;
  line-height: 1;
}

.manual-delivered-modal__dialog {
  max-width: 560px;
}

.manual-delivered-modal {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
}

.manual-delivered-modal__header {
  padding: 1rem 1rem 0.5rem 1rem;
}

.manual-delivered-modal__header-icon {
  color: #0f172a;
  margin-top: 4px;
}

.manual-delivered-modal__header .modal-title {
  font-weight: 700;
  color: #0f172a;
}

.manual-delivered-modal__warning {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid #f6c8cc;
  background: #fff1f2;
  border-radius: 10px;
  color: #c1121f;
  padding: 0.85rem 0.95rem;
}

.manual-delivered-modal__warning i {
  font-size: 1.55rem;
  line-height: 1;
  margin-top: 2px;
}

.manual-delivered-modal__warning strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.manual-delivered-modal__warning p {
  font-size: 0.98rem;
}

.manual-delivered-modal__card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 0.95rem;
}

.manual-delivered-upload {
  width: 100%;
  border: 1px dashed #cfd6df;
  border-radius: 10px;
  background: #fbfcfe;
  padding: 1rem 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  color: #0f172a;
  cursor: pointer;
}

.manual-delivered-upload:hover {
  border-color: #91a5ba;
}

.manual-delivered-upload.has-file {
  border-color: #3b82f6;
  background: #eff6ff;
}

.manual-delivered-upload__icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
  font-size: 1.45rem;
  color: #1f2937;
}

.manual-delivered-upload__title {
  font-weight: 700;
}

.manual-delivered-upload__hint {
  color: #64748b;
  font-size: 0.85rem;
}

.manual-delivered-upload__filename {
  color: #2563eb;
  font-size: 0.87rem;
  font-weight: 600;
}

.manual-delivered-upload__preview-wrap {
  width: 100%;
  margin-top: 0.45rem;
}

.manual-delivered-upload__preview {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  background: #ffffff;
}

.manual-delivered-modal__date-input {
  max-width: 240px;
}

.manual-delivered-modal__confirm-btn {
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 0.8rem 1rem;
}

.manual-delivered-modal__confirm-btn:hover {
  color: #ffffff;
  filter: brightness(0.97);
}

.manual-delivered-modal__footer-note {
  font-size: 0.9rem;
  color: #64748b;
}

.profile-settings-modal .modal-content,
.profile-settings-page-panel {
  border: 1px solid #d9dee5;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.14);
}

.profile-settings-modal .modal-dialog {
  max-width: min(980px, calc(100vw - 2rem));
}

.profile-settings-modal-header,
.profile-settings-modal-footer,
.profile-settings-page-header,
.profile-settings-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.profile-settings-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #edf0f3;
}

.profile-settings-modal-header .modal-title,
.profile-settings-page-header h1,
.profile-settings-section h2 {
  margin: 0;
  color: #111827;
  font-weight: 650;
  letter-spacing: 0;
}

.profile-settings-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #edf0f3;
  background: #ffffff;
  justify-content: flex-end;
}

.profile-settings-page {
  max-width: 1040px;
}

.profile-settings-page-header {
  margin-bottom: 1rem;
}

.profile-settings-page-header h1 {
  font-size: 1.45rem;
}

.profile-settings-page-header p {
  margin: 0.25rem 0 0;
  color: #6b7280;
}

.profile-settings-page-footer {
  margin-top: 1rem;
  justify-content: flex-end;
}

.profile-settings-form {
  margin: 0;
}

.profile-settings-alert {
  margin: 1.25rem 1.5rem 0;
}

.profile-settings-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 560px;
}

.profile-settings-sidebar {
  border-right: 1px solid #edf0f3;
  background: #fbfbfc;
  padding: 1.25rem 0.75rem;
}

.profile-settings-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.55rem 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #edf0f3;
}

.profile-settings-avatar,
.profile-settings-preview {
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
}

.profile-settings-preview {
  width: 64px;
  height: 64px;
  border: 1px solid #e5e7eb;
}

.profile-settings-preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-settings-avatar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.profile-settings-avatar-actions .form-control {
  flex: 1 1 220px;
  min-width: 0;
}

.profile-settings-avatar-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.profile-settings-avatar-error:empty {
  display: none !important;
}

.profile-settings-user-name {
  color: #111827;
  font-weight: 650;
  line-height: 1.2;
}

.profile-settings-user-text {
  min-width: 0;
}

.profile-settings-user-email {
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.25;
}

.profile-settings-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.profile-settings-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #2f3744;
  padding: 0.62rem 0.75rem;
  text-align: left;
  text-decoration: none;
  font-weight: 500;
}

.profile-settings-nav-link i {
  width: 1.15rem;
  text-align: center;
  font-size: 1rem;
}

.profile-settings-nav-link:hover,
.profile-settings-nav-link:focus {
  background: #f0f2f4;
  color: #111827;
}

.profile-settings-nav-link.active {
  background: #eceff2;
  color: #111827;
}

.profile-settings-content {
  min-width: 0;
  padding: 1.35rem 1.55rem 1.5rem;
}

.profile-settings-section h2 {
  font-size: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #edf0f3;
}

.profile-settings-field,
.profile-settings-row,
.profile-settings-callout {
  padding: 1.05rem 0;
  border-bottom: 1px solid #edf0f3;
}

.profile-settings-field .form-label,
.profile-settings-row-title {
  display: block;
  margin: 0 0 0.35rem;
  color: #111827;
  font-weight: 650;
}

.profile-settings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  align-items: center;
  gap: 1.25rem;
}

.profile-settings-row p,
.profile-settings-callout p {
  margin: 0;
  color: #6b7280;
  font-size: 0.92rem;
}

.profile-settings-select {
  justify-self: end;
  max-width: 240px;
}

.profile-settings-avatar-row,
.profile-settings-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-settings-callout {
  align-items: flex-start;
  border: 1px solid #edf0f3;
  border-radius: 12px;
  background: #f7f8fa;
  padding: 1.2rem;
  margin-top: 1rem;
}

.profile-settings-callout-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #111827;
  font-size: 1.25rem;
  border: 1px solid #e5e7eb;
}

@media (max-width: 767.98px) {
  .profile-settings-modal .modal-dialog {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }

  .profile-settings-shell {
    display: block;
    min-height: 0;
  }

  .profile-settings-sidebar {
    border-right: 0;
    border-bottom: 1px solid #edf0f3;
  }

  .profile-settings-user {
    padding-inline: 0.25rem;
  }

  .profile-settings-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .profile-settings-nav-link {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .profile-settings-content {
    padding: 1.1rem;
  }

  .profile-settings-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .profile-settings-select {
    justify-self: stretch;
    max-width: none;
  }

  .profile-settings-modal-header,
  .profile-settings-modal-footer,
  .profile-settings-page-header,
  .profile-settings-page-footer {
    padding-inline: 1rem;
  }
}
