.cr__hero-banner{
  background-color: var(--color-oficial-cec);
  border-bottom: .5rem solid var(--color-cec-secundario);
  color: white;
  padding-left: 5rem;
}
.cr__contenedor{
  margin: 2rem 3rem;
  display: flex;
}
.cr__contenedor-data{
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
}
.cr__title{
  margin: 0;
  text-align: left;
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.4;
  border-bottom: 1px solid var(--color-input-gris);
  width: fit-content;
}
.cr__title>strong{
  font-size: 2.5rem;
}
.cr__body{
  padding: 1rem 0;
}
.cr__body-title{
  text-align: left;
  color: var(--color-texto-gris);
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 2rem 0 0;
}
.cr__tabla-vacia{
  font-size: 1.4rem;
  font-weight: 600;
}
.cr__form{
  margin: 3rem 0;
}
.cr__mensaje-novalido{
  width: fit-content;
  margin: auto;
}
.cr__mensaje-novalido::after{
  content: 'Escriba un código válido';
  font-size: 1.4rem;
  background-color: var(--color-cec-secundario);
  color: var(--color-oficial-cec);
  font-weight: 600;
  padding: .5rem 1rem;
}
.cr__form-separator{
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  gap: .5rem;
  max-width: 80%;
}
.cr__form-label{
  display: flex;
  align-items: center;
}
.cr__form-radio{
  height: 1.2rem;
  width: 1.2rem;
  margin-left: 0;
}
.cr__form-value{
  width: 70%;
  min-width: 12rem;
  height: 1.2rem;
  font-size: 1.2rem;
  border-radius: .3rem;
  border: 1px solid var(--color-text-negro);
}
.cr__form-submit{
  color: white;
  background-color: var(--color-oficial-cec);
  border: none;
  padding: .5rem 1rem;
  border-radius: .3rem;
  font-size: 1.1rem;
  cursor: pointer;
}
.cr__logos-image{
  height: 58px;
  width: auto;
}
.cr__response{
  margin: 4rem 0;
}

.side-carousel {
  position: relative;
  width: 320px;            /* ancho del carrusel (ajustable) */
  height: 650px;           /* alto visible (ajustable) */
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid #ddd;
  background: #f8f8f8;
}

/* Pista horizontal que se mueve */
.sc-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

/* Cada slide ocupa todo el ancho del carrusel */
.sc-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Las imágenes verticales se adaptan a la altura */
.sc-slide img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}

/* Botones de navegación */
.sc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 40px;
  border: none;
  background: rgba(34,50,101,0.85);
  color: #fff;
  cursor: pointer;
  border-radius: 6px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-prev { left: 5px; }
.sc-next { right: 5px; }

.sc-btn:hover {
  background: rgba(34,50,101,1);
}

.side-carousel {
  touch-action: pan-y;
}

/* Estilo en foco */
.gb__input input[type="text"]:focus,
.gb__input input[type="date"]:focus,
.gb__input input[type="number"]:focus,
.gb__input select:focus {
  border-color: #1e6d1d;
  box-shadow: 0 0 3px rgba(34,50,101, 0.3);
}
.cr__bureau{
  display: flex;
  gap: 1rem;
  margin-top: auto;
}
.cr__datos-consultado{
  display: none;
  width: auto;
  border: 1px solid #e1e5e4;
  background: rgb(255, 255, 255);
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(235, 241,249, 1) 100%);
  padding: 2.5rem 3rem;
  margin-bottom: 3rem;
}
.cr__tabla-datos{
  background-color: var(--color-gris-dashboard);
  border: 1px solid var(--color-gris-dashboard);
  margin-bottom: 2rem;
  width: 100%;
}
.cr__tabla-head{
  text-align: center;
  font-size: 1.4rem;
  text-transform: capitalize;
  font-weight: 600;
  color: var(--color-oficial-cec);
  padding: .5rem;
}
.cr__table-center{
  text-align: center;
}
.cr__tabla-tr{
  height: 3rem;
}
.cr__tabla-tr:nth-child(odd){
  background-color: #f2f2f2;
}
.cr__tabla-cont{
  font-size: 1rem;
  padding: 0 .5rem;
  text-transform: uppercase;
  color: #241d47;
}
.cr__datos-usuario{
  display: flex;
  font-size: 1.2rem;
  color: #241d47;
  font-weight: 600;
}
.cr__datos-usuario p:nth-child(1){
  width: 10rem;
  min-width: 10rem;
  margin-right: 1rem;
}
.cr__btn-reporte{
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  float: right;
  color: white;
  background-color: var(--color-cec-secundario);
  padding: .8rem 1.5rem;
  text-wrap: nowrap;
  border-radius: .5rem;
}
.cr__reporte-confirm{
  border: 1px solid #646161;
}
.cr__form-reporte{
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
}
.cr__informativo{
  font-weight: 600;
  margin: 0 0 2rem;
  font-size: 1.3rem;
}
.cr__form-v{
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.cr__form-div{
  display: flex;
  align-items: center;
  margin: 1rem 0;
}
.cr__form-input{
  outline: none;
  border: 1px solid #ccc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  padding: .5rem;
}
.cr__form-input:focus{
  border: none;
  border-color: var(--focus-blue);
  box-shadow: 0 0 0 2px rgba(30, 108, 255, 0.25);
}
@media (max-width: 780px){
  .cr__body{
    padding: 1rem;
  }
  .cr__form{
    width: 100%;
  }
  .side-carousel{
    display: none;
  }
  .cr__hero-banner{
    padding: 0 .5rem;
  }
  .cr__hero-banner h1{
    margin-left: auto;
    margin-right: auto;
  }
  .cr__contenedor{
    margin: 2rem 0;
  }
  .cr__contenedor-data{
    padding: 0 1rem;
  }
  .cr__title{
    font-size: 1.3rem;
  }
  .cr__title strong{
    font-size: 1.8rem;
  }
  .cr__bureau{
    flex-wrap: wrap;
    gap: 0;
  }
  .cr__datos-consultado{
    padding: 1rem;
  }
  .cr__datos-usuario{
    font-size: 1.1rem;
  }
  .cr__datos-usuario p:nth-child(1){
    width: 9rem;
    max-width: 9rem;
    min-width: 9rem;
  }
  .cr__tabla-wrap{
    width: 100%;
    overflow-x: scroll;
  }
  
}
@media (max-width: 480px){
  .cr__form-separator{
    flex-direction: column;
  }
  .cr__form-value{
    width: 100%;
  }
}