ul {
  padding: 0px;
  margin: 0px;
  display: flex;
}

* {
  box-sizing: border-box;
}

#page-topbar .topbar-logo {
  display: none;
}

.checkbox-group-blocks {
  ul {
    list-style: none; 
    justify-content: center !important;

    
    li {
      display: inline-block;
      height: 3em;
      width: 100%;
      max-width: 3em;
      line-height: 2em;      
      color: black;
      text-align: center;
      position: relative;
      float: left;      
      
      label {
        background-color: whitesmoke;
        border: 1px solid black;
        border-right: none;        
        transition: all 0.1s ease-in-out;
      }
      
      &:first-child {
        label {
          border-radius: 5px 0px 0px 5px;
        }
      }
      
      &:last-child {
        label {
          border-right: 1px solid black;
          border-radius: 0px 5px 5px 0px;
        }
      }
      
      input[type="checkbox"] {
        display: none;    
        & + label {
          cursor: pointer;
          position: absolute;
          line-height: inherit;
          top: 0;
          right: 0;
          bottom: 0;
          left: 0;          
        }
        
        &:checked {
          & + label {
            background-color: #fabc37;
            color: white;
            animation: push 0.2s 1 ease-out;  
          }
        }
        
          
      }
    }
  }
}
.weekDays-selector input {
  display: none!important;
}

.weekDays-selector input[type=checkbox] + label {
  display: inline-block;
  border-radius: 20px;
  background: #dddddd;
  height: 30px;
  width: 30px;
  margin-right: 3px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
}

.weekDays-selector input[type=checkbox]:checked + label {
  background: #fabc37;
  color: #000000;
}
.sent{
  color: gray;
  text-align: end;
}

.received{
  color: black;
}

.form-control input[type=textarea]{
  max-width: 50%;
}
.chat-box {
  background-color: #f9f9f9;
  padding: 10px;
  overflow-y: auto;
  height: calc(100vh - 200px); /* Ajustar la altura según el espacio disponible en la pantalla */
  max-height: 500px; /* Altura máxima en dispositivos de escritorio */
  display: flex;
  flex-direction: column; /* Mantener el orden natural de los mensajes */
}

.chat-message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    max-width: 60%; /* Ajustar el ancho máximo de los mensajes */
    
}

.chat-message.sent {
    background-color: #d1e7dd;
    align-self: flex-end; /* Alinear los mensajes enviados a la derecha */
}

.chat-message.received {
    background-color: #fff;
    align-self: flex-start; /* Alinear los mensajes recibidos a la izquierda */
}

.chat-message > p {
    margin: 0 !important;
    word-break: break-word;
}

.chat-timestamp {
    display: block;
    font-size: 0.8em;
    color: #999;
    margin-top: 5px;
}

.chat-form {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre el textarea y el botón */
}

.chat-form textarea {
    flex-grow: 1; /* Hacer que el textarea ocupe el espacio disponible */
    margin: 0;
}

.chat-form button {
    flex-shrink: 0; /* Evitar que el botón se reduzca */
    margin: 0;
}
.chat-container {
  padding: 10px;
  background-color: #f9f9f9;
}
.form-div-custom {
  flex-grow: 1; 
  margin: 0;
}

.mrk-trip-details {
  margin: 2px;
  margin-bottom: 10px;
}

.trip-markers{
  display: flex;
}

.not-clickable > label{
  cursor: default !important;
}

.containerHoras {
  display: flex;
}

.containerHoras > .ida,
.containerHoras > .vuelta {
  width: 50%;
}

.additional-info > .row:first-child {
  display: grid;
  grid-template-columns: repeat(4, 25%);
}

.additional-info > .row:first-child  > .form-switch {
  padding-left: 3.3em;
}

@media screen and (max-width: 767px) {

  #page-topbar .topbar-logo  {
    display: block;
  }

  .img-trip-details {
    width: 80vw; 
    margin: 2px;
  }
  
  .trip-markers{
    flex-direction: column;
  }

  .containerHoras {
    flex-direction: column;
  }

  .containerHoras > .ida,
  .containerHoras > .vuelta {
    width: 100%;
  }

  .additional-info > .row:first-child   {
    grid-template-columns: repeat(2, 50%);
  }

}

.btn-primary {
  background-color: #fabc37 !important;
  border-color: #fabc37 !important;
}

.btn-secondary {
  background-color: #ededed !important;
  border-color: #000000 !important;
  color: #000000 !important;
}

.btn-tertiary {
  background-color: #384042 !important;
  border-color: #384042 !important;
  color: #fff !important;
}

.trip-info-btn {
  text-decoration: underline;
  color: #000000;
}

.table-responsive-dfd {
  overflow-x: auto;
}

/**/

.datosViajeCont {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.tipoViaje {
  gap: 10px;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.datosViajeCont > div span {
  font-weight: bold;
}

.datosViajeCont >div:nth-child(3) #departurePunctualDate,
.datosViajeCont >div:last-child #returnPunctualDate {
  justify-content: center;
  gap: 10px;
}

.datosViajeCont >div:nth-child(3) #departurePunctualDate > div,
.datosViajeCont >div:last-child #returnPunctualDate > div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(50% - 5px);
  gap: 10px;
}

.datosViajeCont >div:nth-child(3) #departurePunctualDate > div input,
.datosViajeCont >div:last-child #returnPunctualDate > div input {
  width: 100%;
}

.tipoViaje > div {
  gap: 20px;
}

/* TODO: cambiar nombre */
.datosViaje2Cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.datosViaje2Cont > div{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.datosViaje2Cont > div > div{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.datosViaje2Cont > div > div > div:first-child{
  max-width: fit-content;
}

.datosViaje2Cont > div > div > div:last-child{
  max-width: fit-content;
}


.datosViaje2Cont > div > div span,
.datosViaje2Cont > div > div label{
  font-weight: bold;
}

.datosViaje2Cont > div > div .quantity{
  display: flex;
  border: solid 1px var(--vz-input-border-custom);
  border-radius: var(--vz-border-radius);
}

.datosViaje2Cont > div > div .quantity input{
  width: 50px;
  padding-left: 20px;
  border: none;
  border-right: solid 1px var(--vz-input-border-custom);
  outline: none;
  border-radius: var(--vz-border-radius);
}

.datosViaje2Cont > div > div .quantity > .quantity-nav > .quantity-button{
  padding: 0px 5px;
}

.datosViaje2Cont > div > div .quantity > .quantity-nav > .quantity-up{
  border-bottom: solid 1px var(--vz-input-border-custom);
}

.datosViajeEditCont {
  display: flex;
  flex-direction: column;
}

.datosViajeEditCont > .punctualTripCont{
  display: flex;
  gap: 24px;
}

#editTrip span{
  font-weight: bold;
}

.btnTripsCont > a{
  width: 205px;
}

.arrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow > span{
  font-size: 22px;
  color: var(--vz-heading-color);
}

.separator-dfd {
  display: flex;
  align-items: center;
  text-align: center;
}

.separator-dfd::before,
.separator-dfd::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #000;
}

.separator-dfd:not(:empty)::before {
  margin-right: .25em;
}

.separator-dfd:not(:empty)::after {
  margin-left: .25em;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 991px) {
  .txtTrips {
    margin-bottom: 10px !important;
  }
}

@media (max-width: 768px) {
  .table-mobile-dfd td, .table-mobile-dfd th {
      white-space: nowrap;
      font-size: 12px; /* Ajustar el tamaño de la fuente si es necesario */
  }

  .datosViajeCont >div:nth-child(3) #departurePunctualDate,
  .datosViajeCont >div:last-child #returnPunctualDate {
    flex-direction: column;
    gap: 15px;
  }

  .datosViajeCont >div:nth-child(3) #departurePunctualDate > div,
  .datosViajeCont >div:last-child #returnPunctualDate > div {
    flex-direction: column;
    width: 100%;
  }

  .datosViajeCont >div:nth-child(3) #departurePunctualDate > div input,
  .datosViajeCont >div:last-child #returnPunctualDate > div input {
   width: 30vh;
  }

  .datosViaje2Cont > div {
    flex-direction: column;
    gap: 15px;
  }

  .datosViaje2Cont > div > div > div:first-child {
    max-width: 50%;
  }

  .tblTripsCont > div > .row:last-child{
    gap: 5px;
  }

}

.taxistas > span{
  min-width: 150px;
  font-size: 14px;
}

@media (max-width: 576px) {
  .table-mobile-dfd {
    display: block;
    overflow-x: auto;
  }
  .table-mobile-dfd tbody {
    display: flex;
  }

  .table-mobile-dfd thead {
    display: none;
  }

  .table-mobile-dfd tr {
    display: block;
    margin-bottom: 10px;
  }

  .table-mobile-dfd td {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-top: none;
    border-bottom: 1px solid #dee2e6;
  }

  .table-mobile-dfd td:before {
    content: attr(data-label);
    font-weight: bold;
    width: 50%;
  }

  .btnTripsCont{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .btnTripsCont > a {
    width: 100%;
  }
  
  .conversationCont {
    flex-direction: column;
    gap: 10px;
  }
  
  .conversationCont > div:first-child {
    text-align: center;
  }
  
  .taxistas > span{
    min-width: 150px;
    font-size: 18px;
  }
}

.auth-one-bg .bg-overlay{
  background: linear-gradient(to right, #fabc37, #384042);
}
