/* Fonts */

/* Resets */
.img-fluid {
  width: 100%;
}

.noPadding {
  padding: 0;
}

.row {
  padding: 0 !important;
  margin: 0 !important;
}

.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

section.noPadding {
  padding: 0em 0;
}

/* Fonts */
/* Fonts */
body,
input,
textarea,
select {
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body{
  background-color: #2e0011;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-display: swap;
}

h1 {
  font-size: clamp(1.3rem, 1.16rem + 0.7vw, 2rem);
  color: #b07c23;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 1.44rem + 0.3vw, 1.8rem);
}

h3 {
  font-size: clamp(0.84rem, 0.5775rem + 0.84vw, 1.05rem);
  color: #25101b;
}

p,
li {
  font-size: clamp(1rem, 0.75rem + 0.8vw, 1.2rem);
}

label {
  font-size: clamp(0.9rem, 0.775rem + 0.4vw, 1rem);
  font-weight: 500;
  color: #b07c23;
}

.smallTxt {
  font-size: 0.7em;
  text-align: center;
}

/* links */
a {
  color: #f73939;
  text-decoration: underline;
  transition: color 0.3s;
}

a:hover,
a:active,
a:focus {
  color: #fe4912 !important;
}

th,td{
  color: #ffffff;
  font-weight: 600;
}

/* Buttons */

.btn {
  font-style: normal;
  font-weight: 400;
  font-size: 1em;
  padding: 0.5em 1em !important;
  border-radius: 1.5rem;
  background-color: #b07c23;
  border: 1px solid #fff!important;
  max-width: 200px;
  width: 100%;
  transition: 0.3s ease;

  &:hover {
    background-color: #da4d27;
    color: #fff!important;
  }
}
button{
  color: #fff!important;
}

/* LANDING PAGE */
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #2e0011;
}
.select2-results__option {
    font-size: 1rem;
}

.wrap-landing {
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  min-height: 100dvh;

  /* HEADER */
  header {
    background-color: gray;

    .logo {
      max-width: 250px;
      width: 100%;
    }
  }

  /* CONTENIDO */

  .content-landing {
    overflow: hidden;
    .img-banner {
      max-width: 600px;
      width: 100%;
      border-radius: 1.5rem;
      box-shadow: 0 0 10px #000;
    }

    .content-form {
      background-color: #ede9ea;
      border-radius: 1rem;
      box-shadow: 0 0 10px #e7c44f;
    }

    #bannerprincipal{
      filter: drop-shadow(2px 2px 8px rgba(22, 75, 6, 0.732));
      
    }

    /* ESTILOS PARA LOS INPUTS DEL FORM*/

    .form-control,
    select {
      border-radius: 0.8rem;
    }

    .select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    border: 1px solid #d2d6de;
    border-radius: 0;
    padding: 6px 12px;
    height: 34px
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 28px;
    user-select: none;
    -webkit-user-select: none
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 10px
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    height: auto;
    margin-top: -3px
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    border: 1px solid #d2d6de;
    border-radius: 0 !important;
    padding: 6px 12px;
    height: 40px !important;
    border-radius: 0.8rem!important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 6px !important;
    right: 1px;
    width: 20px
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #212529;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 12px;
    width: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
    height: 28px;
    position: relative;
    background-color: transparent!important;
}
.select2-container--default .select2-selection--single .select2-selection__clear span {
        line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
    color: #666;
    transform: translate(75%, 33%);
}

    .form-check {
      a {
        color: #da4d27;

        &:hover {
          color: #b07c23 !important;
        }
      }
    }

    .content-factura{
        
        border-radius: 1rem;
        box-shadow: 0 0 10px #da4d27;

    }

    /* ESTILOS PARA LA TY */

    &.thankYou-page {
      .img-banner {
        max-width: 450px;
        width: 100%;
        border-radius: 1.5rem;
        box-shadow: 0 0 10px #000;
      }
    }

    &.wrapTable {
      overflow: hidden;
      .contentTable {
        max-height: 700px;
        margin: 0 auto;
        overflow-x: scroll;
      }
    }

  }

  /* FOOTER */
  footer {
    /* background-color: gray; */

    .logo {
      max-width: 250px;
      width: 100%;
    }
  }
}

/* MODAL WINDOWS */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(2px);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  background-color: #ede9ea;
  margin: 0;
  padding: 2rem;
  border-radius: 1rem;
  width: 350px;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #b07c23;
  animation: slideIn 0.3s ease-out;
}

.modal-content h3 {
  color: #da4d27;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-content p {
  color: #2e0011;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.modal-close {
  background-color: #b07c23;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
  background-color: #da4d27;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.modal-close:active {
  transform: translateY(0);
}

/* MODAL ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* MODAL IDs */
#modalPersonaNoRegistrada {
  display: none;
}

#modalFacturaDuplicada {
  display: none;
}

/* RESPONSIVE MODAL */
@media only screen and (max-width: 480px) {
  .modal-content {
    width: 320px;
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .modal-content h3 {
    font-size: 1.3rem;
  }
  
  .modal-content p {
    font-size: 1rem;
  }
  
  .modal-close {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

/*Responsive*/
@media only screen and (max-width: 991px) {
  .wrap-landing {
    .content-landing {
      .img-banner {
        max-width: 400px;
      }

      &.wrapTable {
        .contentTable {
          max-height: 700px;
          margin: 0 auto;
          overflow-x: scroll;
        }
      }
    }
  }
}
