@import "css-cities.css";
@import "css-transport-type.css";
@import "css-loads.css";
@import "css-insurance.css";
@import "css-express.css";
@import "css-full_load.css";
@import "css-summary.css";
@import "css-cotizador_prices.css";
@import "css-steps_bar.css";


.form-cabitrans
{
  background-color: #ffffff;
  padding: 23px 30px;
  border-radius: 20px;
  width: 1000px;
  margin: 20px auto;

  color: #094074;
  font-weight: normal;
}

.form-cabitrans.expand1 {
  /*overflow: hidden;
  animation: ExpandForm1 0.5s ease forwards;
  max-height: fit-content;*/
}

.form-cabitrans.expand2 {
  /* overflow: hidden;
  animation: ExpandForm2 1s ease forwards;
  max-height: fit-content;*/
}

.block-form-autocomplete
{
  border: 1px solid #094074;
  background-color: #d8e5f1;
  border-radius: 8px;
  color: #094074;
  width: fit-content;
  display: flex;
  line-height: 20px;
}


.block-form-autocomplete .title
{
margin-top: 5px;
font-weight: 600;
font-size: 9pt;
}

.block-form-autocomplete .data
{
}

.block-form-autocomplete .desc
{
  font-size: 8pt;
  line-height: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
}

.block-form-autocomplete .icon
{    
padding: 5px;
padding-right: 8px;
font-size: 20pt;
color: #739abf;
}

.block-form-autocomplete .data button
{
  font-size: 9pt!important;
  background-color: #f9f9f9 !important;
  border: 1px solid #094074!important;
  color: #094074!important;
  min-height: 25px!important;
  margin-bottom: 5px!important;
  height: fit-content;
  padding: 1px 6px;
  font-weight: normal;
  border-radius: 4px;
}

.block-form-autocomplete .data button:hover
{
  background-color: #739abf  !important;
  color: #e1e1e1!important;
}

.block-form-autocomplete .data button:active {
  transform: scale(0.96);
}

@keyframes ExpandForm1 {
  from {
    height: 158px;
  }
  to {
    height: 1200px;
  }
}

@keyframes ExpandForm2 {
  from {
    height: 600px;
  }
  to {
    height: 1200px;
  }
}

.text-form-footer
{
  font-weight: 600!important;
  text-align: center!important;
}

/* DEBERIA ESTAR EN GENRELA PERO SIUNO ME FALLA AUTOCOMPLETADO */
.show
{
  display: block!important;
}

/*LOAD TYPE*/
.btn-cbt
{
  background-color: #ffffff !important;
  padding: 8px 20px !important;
  border: 1px solid #cfcfcf!important;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.20)!important;
  color:#094074!important;
}

.btn-cbt:focus
{
  background-color: #33b5f0 !important;
}

.btn-cbt img
{
  width: 70px;
}

.btn-cbt span
{
  margin-left: 5px;
  font-size: 11pt;
}

.btn-right
{
  border-top-right-radius: 0px!important;
  border-bottom-right-radius: 0px!important;
}

.btn-left
{
  margin-left: -4px!important;
  border-top-left-radius: 0px!important;
  border-bottom-left-radius: 0px!important;
}

.btn-cbt:focus
{
  outline:0!important;
  box-shadow: inset 0px 1px 7px 0px rgba(0, 0, 0, 0.2) !important;
}
/*--------------------*/

.initial-text
{
  color: #094074;
  text-align: center;
  font-size: var(--cbt-font-size-base-big);
}


.cbt-form-fields
{
  row-gap: 18px!important;
}

.next-button, .resume-button
{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
}

.btn-transparent
{
  cursor: pointer;
  color: #767676;
  font-weight: 600;
  transition: transform 0.2s ease;
  border: none;
  font-size: 11pt;
    padding: 0px;
}

.back-button
{
  width: fit-content;
}

.back-button .btn-transparent
{
  transform-origin: left center;
}

.btn-transparent:active {
  transform: scale(0.9);
}

.btn-transparent:hover
{
  color: #565656;
  background-color: inherit;
}

#map
{
  height: 210px;
  /*height: 300px;*/
}

.date-pickup input
{
  width: 100%!important;
}


.error-data
{
  background-color: #ffcccc!important;
}


.switch input.error-data + .slider
{
  background-color: #e78686!important;
  border-color: #e78686!important;
}

.value-freight .cbt-input-container
{
  position: relative;
}

.form-cabitrans .cbt-footer .cbt-submit
{
  width: 100%;
}

/*/////// CITIES ///////*/
.is_home_address
{
  display: flex;
  font-size: var(--cbt-font-size-base-tiny);
  /*justify-content: flex-end;*/
  margin-top: -18px;
}

.is_home_address .switch
{
  width: 30px;
  height: 15px;
  margin-right: 30px;
  margin-left: 5px;
  margin-top: 5px;
}

.is_home_address .switch-label 
{
  margin-left: 28px;
  margin-top: 2px;
  font-size: 9pt;
}

.is_home_address .slider:before 
{
  height: 11px;
  width: 11px;
  top: 1px;
  left: 1px;
}

.is_home_address .switch input:checked + .slider:before {
  transform: translateX(15px);
}

.is_home_address .text-check
{
  margin-left: 5px;
  margin-top: -1px;
  padding-right: 5px;
}



.is_home_address .custom-checkbox .checkmark
{
  width: 14px!important;
  height: 14px!important;
}

.is_home_address .custom-checkbox input:checked + .checkmark::after
{
  width: 5px !important;
  height: 10px !important;
  border-width: 0 2px 2px 0 !important;
}
/*//////////////*/

.cotizador-container .cbt-section-title{
  text-align: center;
  margin-top: 10px;
  font-size: var(--cbt-font-size-base-big);
}
  
  
/*//////// CUSTOMS //////*/
.block-customs 
{
  display: flex;
  align-items: center;
  gap: 30px;

  border: 1px solid #cfcfcf;
  padding: 4px 12px;
  border-radius: 4px;
  box-shadow: 0px 2px 8px -2px rgba(37, 37, 37, 0.3)
}

.block-customs .text
{
  line-height: 20px;
}

.block-customs .data
{
  margin-left: auto;
  position: relative;
}

.block-customs .title
{
  font-size: 11pt;
  font-weight: 600;
  color: #094074;
}

.block-customs .description
{
  font-size: 11pt;
  color: #9b9b9b;
}

.block-customs .question-title
{
  font-size: 10pt;
  font-weight: 600;
  color: #838383;
}

.customs-value-block input
{
  height: 30px!important;
}

.customs-value-block
{
  position: relative;
  margin-bottom: 5px;
}

.customs-value-block input
{
  height: 25px!important;
}


.block-insurance input, .block-customs input
{
  border: 1px solid #cfcfcf!important;
}

.block-insurance input:focus, .block-customs input:focus
{
  outline: none;
  border: 1px solid #cfcfcf;
}
/*//////////////*/

.conf-home
{
  display: flex;
  line-height: 20px;
  padding: 10px 20px;
}

.conf-home-text
{
  width: 70%;
}

.conf-home-img img
{
  margin-top: 6%;
  width: 340px;
}

/*/////*/

.fake-form-home .origin-input, .destination-input 
{
  position: relative;
  flex: 1;
  margin-left: -45px!important;
}


.fake-form-home label
{
  font-size: 11pt !important;
  font-weight: 600 !important;
  color: #838383 !important;

}

.fake-form-home input,
.fake-form-home select,
.fake-form-home textarea,
.select2-selection
{
  height: 38px!important;
  border: 1px solid #cfcfcf!important;
}

.fake-form-home input,
.fake-form-home select,
.fake-form-home textarea
{
  font-size: 14px;
}

.fake-form-home input:focus
{
  border: none;
  outline: none;
}

.fake-form-home  input::placeholder
{
  font-weight: 600;
  color: #a5a5a5;
}

/* Inputs principales en 2 columnas, responsive automático */
.inputs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

/* Checkboxes en 2 columnas */
.checkboxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
/*////*/

@media (max-width: 669px) {
    .form-cabitrans
    {
      width: 100%;
      padding: 8px 20px;
      margin: 0px;
    }

    .text-form-footer
    {
      margin-top: -30px!important;
      font-size: 10pt!important;
      line-height: 18px!important;
    }
    
    .origin-country, .destination-country, .origin-input, .destination-input
    {
      width: 50%!important;
    }

    .origin-input, .destination-input
    {
      margin-top: -56px!important;
      margin-left: 162px !important;
      /*margin-bottom: 34px;*/
    }

    .origin-input .cbt-label, .destination-input .cbt-label
    {
      display: none!important;
    }

    .block_transport_type
    {
      flex-direction: column;
    }

    .block_transport_type .item
    {
      padding: 6px;
    }

    .block_transport_type .sub-title {
      margin-top: 5px;
      line-height: 0px;
    }

    .block-load .title-load
    {
      font-size: 8pt;
    }

    .block-titles
    {
      display: none;
    }

    .block-load-row.content
    {
      display: flex;
      gap: 5px;
      flex-wrap: wrap; 
      flex-direction: row;
      border: none;
    }
    .toggle-switch
    {
      border: none;
    }

    .block-load-row.content .input-wrapper{
      flex: 0 0 48%;
    }

    .block-load-row.content .input-container
    {
      border: 1px solid #cfcfcf;
      border-radius: 4px;
    }

    .block-load-row.content:last-of-type {
      border-bottom: none;
    }

    .block-load-row.content .title-mobile
    {
      display: block;
    }

    .input-wrapper::before, .toggle-switch::before, .actions::before
    {
      display: none;
    }
    .input-wrapper::after, .toggle-switch::after, .actions::after
    {
      display: none;
    }

    .block-load-resume
    {
      display: none;
    }

    .block-load-button
    {
      margin-top: 10px;
      margin-bottom: 10px;
    }

    .btn-add-carga{
      font-size: 12pt;
      border: 1px solid #094074;
      border-radius: 8px;
      margin-right: 10px;
      padding: 5px 10px;
    }
    .block-load-row.content
    {
      margin-bottom: 30px;
    }
    .actions
    {
      width: 100%;
    }
    .btn-delete-load{
      border: 2px solid #eb8383;
      border-radius: 4px;
      padding: 4px;
      color: #e35e5e;
    }

    .step-block {
      display: none;
      width: 100%!important;
    } 

    .block_transport_type .item:not(.selected):hover
    {
      border-color: #cfcfcf;
      background-color: inherit;
      box-shadow: inherit;
    }
    
    .btn-add-carga:hover {
      color: inherit;
      background-color: inherit;
    }

    .input-wrapper .fake-placeholder
    {
      top: 66%!important;
    }

    .toggle-switch .input-container
    {
      border: none!important;
    }

    .input-load
    {
      height: 30px!important;
      line-height: 10px;
    }

    .block-insurance-value
    {
      margin-top: -10px;
    }

    .block-express
    {
      flex-direction: column;
    }

    .express-info
    {
      padding: 5px 16px;
    }

    .express-info .ex-text ul
    {
      margin: 0px;
    }

    .block-options {
      gap: 5px;
    }

    .block-options .option{
      padding: 5px 10px;
      gap: 10px;
      width: 100%;
    }

    .block-options .option .opt-text .title
    {
      font-size: 10pt;
    }
    .block-options .option .opt-text .desc
    {
      font-size: 9pt;
    }

  .block-options .option:hover
  {
    background-color: inherit;
    border-color: #cfcfcf;
    box-shadow: none;
  }
  
  .block-options .option.selected
  {
    background-color: #e1f5ff!important;
    border-color: #33b5f0!important;
    border-width: 1px!important;
  }

  

  .block-options .option:hover input
  {
    border-color: #686e77;
  }
  
  .block-options .option.selected input
  {
    border-color: #33b5f0!important;
    border-width: 1px!important;
  }

  .error-data
  {
    background-color: #f7dfdf !important;
    border: 1px solid #ff9797 !important;
    padding: 5px;
    border-radius: 4px;
  }

  .sum-row
  {
    flex-direction: column;
    gap: 0;
  }

  .sum-map
  {
    height: 210px;
  }

  .conf-home{
    flex-direction: column;
  }

  .conf-home-text
  {
    width: 100%;
    margin-top: -30px;
  }

  .block_is_home_address{
    margin-top: -48px!important;
  }
  
  .origin-home-block
  {
    margin-top: -86px!important;
    height: 20px;
  }

  .is_home_address .switch-label
  {
    margin-top: 1px!important;
    margin-left: 26px!important;
  }

  .initial-text
  {
    font-size: 10pt;
  }

  @keyframes ExpandForm {
    from {
      height: 158px;
    }
    to {
      height: 2400px;
    }
  }
  }