﻿/* Fix para evitar deslocamento no hover */
a:has(.order-cards) {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

a:hover .order-cards,
a:focus .order-cards {
  color: inherit;
}

.order-cards {
  background: #fff;
  height: 200px;
  border-radius: 6px;
  transition: box-shadow 0.3s ease;
  border: 1px solid #ebeef5;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.order-cards:hover {
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
}

/* Forçar consistência de cores no hover */
.order-cards .primary-label,
.order-cards .secondary-label,
.order-cards .spn-dates {
  color: inherit !important;
}

a:hover .order-cards .primary-label,
a:hover .order-cards .secondary-label,
a:hover .order-cards .spn-dates {
  color: inherit !important;
}

.order-cards .el-col {
  height: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-cards .content-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
}

.el-image-card {
  background: #f7f7f7;
  height: 200px;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  color: #808080;
  border-radius: 4px 0px 0px 4px;
}

.el-image-card i {
  margin-top: 85px;
  font-size: 27px;
}

.col-flight {
  text-align: center;
  font-size: 30px;
}

.col-flight .logo-cia img {
  max-height: 30px;
}

.col-infos {
}

.col-infos .label-destinos {
  font-size: 14px;
}

.col-infos .label-date {
  margin-top: 5px;
  text-transform: capitalize;
}

.content-flights {
  display: block;
}

.status-with-number {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.order-number-inline {
  padding-left: 8px;
  margin-left: 8px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  color: inherit;
  opacity: 0.8;
}

.status-order {
  font-size: 14px;
  display: flex;
  margin-top: auto;
}

.status-order .status {
  padding: 5px 10px;
  border-radius: 4px;
  color: #fff;
  text-align: center;
}

.status-order .date {
  margin-top: 5px;
  margin-right: 15px;
  color: #808080;
  font-size: 12px;
}

.order-open {
  background: #fff3e4;
  color: #fa6b04 !important;
}

.order-in-progress {
  background: #409eff;
}

.order-canceled {
  background: #fde2e2;
  color: #f56c6c !important;
}

.order-success {
  background: #e2ffe7;
  color: #14946d !important;
}

.spn-dates {
  font-size: 14px;
}

.spn-lb {
  font-size: 14px;
  margin-top: 13px;
  display: block;
}

.primary-label {
  font-weight: bold;
  font-size: 1.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.secondary-label {
  color: #7f7f7f;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}

.total-order {
  font-size: 20px;
  display: block;
  font-weight: bold;
  position: relative;
  color: #3e3e3e;
  margin-top: 30px;
}

.total-order b {
  margin-right: 6px;
  font-size: 14px;
  color: #525252;
}

@media only screen and (max-width: 991px) {
  .order-cards {
    height: 320px;
  }

  .status-order .status {
    position: absolute;
    top: -25px;
    right: 7px;
  }

  .status-order {
    right: 30px;
  }

  .total-order {
    position: absolute;
    bottom: 25px;
    right: 15px;
  }

  .status-order .date {
    position: absolute;
    top: -28px;
    width: 100%;
    color: #6a6a6a;
    text-align: center;
    text-transform: uppercase;
    left: 0;
  }

  .el-image-card {
    height: 150px;
    border-radius: 4px 4px 0px 0px;
  }

  .order-cards .content-details {
    margin-left: 20px;
    height: 160px;
  }
}

.el-skeleton {
  padding: 0px 10px;
}

.reserva-nao-encontrada {
  position: relative;
  left: -230px;
}

.align-right {
  justify-content: flex-end;
  /* Alinha o conteúdo à direita */
}

.sem-viagem-titulo {
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
}

.sem-viagem-titulo-2 {
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  color: var(--primary-background-color) !important;
}

.sem-viagem-image {
  height: 280px;
  width: 100%;
  display: block;
  object-fit: cover;
  /* Mantém a proporção e cobre toda a área do contêiner */
}
