/* Estilos para la versión 4 del informe */

/* Prevenir que los estilos globales afecten a nuestro diseño */
#report-v4-container * {
  box-sizing: border-box;
}

/* Contenedor principal */
#report-v4-container {
  max-width: 1200px;
  margin: 10px auto;
  padding: 0px 0px !important;
}

/* Pure CSS hack para eliminar el espaciado interno */
.pure-g-no-spacing {
  margin: 0 -10px;
}

/* Contenedor interior para cada columna */
.column-inner {
  padding: 0;
}

#vehicle-data-column {
  background-color: #F5F5F5;
  border-radius: 24px;
  border: 1px solid #E5EDF9;
  padding: 24px;
}

.report-resume-container {
  max-width: 100vw !important;
}

/* Asegurar espaciado en columnas de Pure CSS */
#vehicle-data-column,
#summary-cta-column {
  padding: 0;
  vertical-align: top;
}

/* Padding para #main-vehicle-data-container en pantallas pequeñas */
#main-vehicle-data-container {
  padding-right: 0px;
  /* Equivalente a af-pe-4 */
  margin-bottom: 24px;
  /* Margen inferior por defecto */
}

/* Destacamos los contenedores en escritorio */
@media (min-width: 980px) {

  /* Eliminar padding-right en pantallas medianas y grandes */
  #main-vehicle-data-container {
    padding-right: 18px;
    margin-bottom: 0;
    /* Sin margen en pantallas md y superiores */
  }

  .column-inner {
    padding: 0 15px;
  }

  #vehicle-data-column {
    padding-right: 15px;
  }

  #summary-cta-column {
    padding-left: 15px;
  }
}

#vehicle-data-column {
  padding: 14px
}

/* Título principal del informe */
.report-title-v4 {
  color: #262626;
  margin-bottom: 12px;
  font-size: 28px !important;
  font-weight: bold;
  padding: 14px 0px;
  font-family: Source Sans Pro;
  margin-left: 0px;
}

/* Estilo común para las cajas blancas con borde */
.report-summary-box {
  padding: 5px;
  height: auto;
}

/* Utilidades con prefijo af- */
.af-fw-bold {
  font-weight: 600;
}

.af-text-small {
  color: #000000;
  font-size: 14px;
}

.af-text-primary {
  color: #15257A;
}

.af-text-center {
  text-align: center !important;
}

.af-flex {
  display: flex !important;
}

.af-flex-column {
  flex-direction: column !important;
}

.af-justify-between {
  justify-content: space-between !important;
}

.af-align-center {
  align-items: center !important;
}

.af-justify-center {
  justify-content: center !important;
}

.af-align-self-start {
  align-self: flex-start !important;
}

.af-align-self-center {
  align-self: center !important;
}

.af-form-control {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
}

/* Títulos dentro de las cajas */
.box-white-bordered h2 {
  margin-top: 0;
  color: #20397d;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 18px;
}

/* Estilos para la tabla de datos del vehículo */
.vehicle-data-table {
  width: 100%;
  border-collapse: collapse;
}

.vehicle-data-table tr td {
  padding: 8px 5px;
  border: 1px solid transparent;
  border-bottom: 1px solid #d9d9d9;
  font-size: 16px;
  line-height: 24px !important;
}

.vehicle-data-table tr:last-child td {
  border-bottom: none;
}

.vehicle-data-table tr td:first-child {
  width: 35%;
  color: #262626;
  font-weight: normal;
}

.vehicle-data-table tr td:last-child {
  color: #262626;
  font-weight: 700;
}

/* Botón "Ver informe ejemplo en pdf" */
.pdf-example-container {
  margin-top: 20px;
  text-align: left;
}

.btn-primary-outlined {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: #004CC6;
  padding: 8px 16px;
  border: 1px solid #004CC6;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-primary-outlined i {
  margin-right: 8px;
  color: #155fd0;
  font-size: 16px;
}

.btn-primary-outlined:hover {
  background-color: #f5f8ff;
  text-decoration: none;
}

/* Estilos para los ítems del resumen */
.summary-item-container {
  margin-bottom: 8px;
}

.summary-item {
  border: none;
  padding-bottom: 5px !important;
  padding-right: 20px;
  font-size: 16px;
  color: #262626;
}

.status-icon {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 16px;
  height: 30px;
}


.summary-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #262626;
  margin-bottom: 4px;
}

.summary-item p {
  font-size: 16px !important;
  color: #262626;
  margin: 0;
  line-height: 1.4;
}

.btn-view {
  color: #155fd0;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 14px;
}

.btn-view i {
  margin-left: 5px;
}

.btn-view:hover {
  text-decoration: underline;
}

/* Sección "Disponible en el Informe Full" */
.available-full {
  margin-top: 20px;
}

.summary-section-title {
  font-family: Source Sans Pro;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0%;
  color: #15257A;
}

.available-full-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.available-full-list li {
  padding: 8px 0;
  color: #262626;
  font-size: 16px;
}

.lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background-color: #ff6b35;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-size: 10px;
}

#report .informe_box {
  border: 1px solid #c6cdd6;
  margin: 0;
  margin-top: 32px;
}

/* Estilos para la caja CTA */
#cta-upgrade-report {
  background-color: #fff;
  border: 1px solid #E5EDF9;
  border-radius: 24px;
  padding: 24px;
  height: fit-content;
  box-shadow: 0px 3px 24px -4px rgba(0, 0, 0, 0.1);
}

#cta-upgrade-report h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 18px;
  color: #262626;
  font-weight: 400;
  text-align: center;
}

/* Nuevos estilos para el contenedor de descuento y temporizador */
.cta-discount-timer-container {
  margin: 14px 0px;
  display: flex;
  align-items: stretch;
}

/* Estilo para el descuento */
.cta-discount {
  display: flex !important;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: 14px;
  align-items: end;
}

.cta-discount span {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 28px;
  letter-spacing: 0%;
  color: #004CC6;
  text-align: right;
  vertical-align: bottom;
}

/* Estilo para el temporizador */
.cta-timer {
  display: flex;
  align-items: center;
  padding-left: 14px;
  position: relative;
  align-self: center;
}

.cta-timer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 80%;
  width: 1px;
  background-color: #d9d9d9;
}

.cta-timer span {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 38px;
  letter-spacing: 0%;
  color: #262626;
  vertical-align: middle;
}

/* Estilos para el formulario */
.cta-form .form-group {
  margin-bottom: 14px;
}

.cta-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 16px;
  color: #262626;
}

.cta-form input {
  color: #262626;
}

/* Botón de pedir informe */
.btn-secondary {
  display: block;
  width: 100%;
  background-color: #FF4E04;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-height: 40px;
  max-height: 40px;
  /* Evitar cambio de estilo al hacer clic */
  outline: none;
}

.btn-secondary:hover {
  background-color: #e04503;
  color: white;
}

/* Asegurar que el botón mantenga su estilo en todos los estados */
.btn-secondary:active,
.btn-secondary:focus,
.btn-secondary:focus-visible,
.btn-secondary:focus-within,
.btn-secondary:-moz-focusring {
  background-color: #e04503;
  color: white;
  outline: none;
  box-shadow: none;
  border: none;
  text-decoration: none;
}

/* Corregir cualquier estilo heredado que pueda afectar al botón */
.btn-secondary:visited {
  color: white;
}

/* Botón de mejorar a informe full */
.btn-primary {
  display: block;
  width: 100%;
  background-color: #004CC6;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 32px;
  text-decoration: none;
  min-height: 40px;
  max-height: 40px;
}

.btn-primary:hover {
  background-color: #003da0;
  color: white;
  text-decoration: none;
}

#report table tr td,
#report th {
  line-height: 20px;
  font-size: 16px;
}

.url-cell .rt-link-consulta {
  font-size: 16px !important;
}

/* Ajustes específicos para dispositivos móviles */
@media (max-width: 979px) {

  .box-white-bordered {
    padding: 15px;
  }

  .vehicle-data-table tr td {
    padding: 8px 0;
  }

  .descuento {
    font-size: 18px;
  }

  .descuento-timer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* Media query para tablets y escritorios */
@media (min-width: 980px) {
  #report {
    margin-top: 150px !important;
    /* Mayor margen para pantallas md y superiores */
  }
}

/* Algunos resets adicionales para evitar conflictos */
#report-v4-container a {
  text-decoration: none;
}

#report-v4-container h1,
#report-v4-container h2,
#report-v4-container h3,
#report-v4-container h4,
#report-v4-container p,
#report-v4-container label,
#report-v4-container span,
#report-v4-container input,
#report-v4-container button,
#report-v4-container select,
#report-v4-container textarea,
#report-v4-container div,
#report-v4-container a,
#report-v4-container li,
#report-v4-container ol,
#report-v4-container ul,
#report-v4-container table,
#report-v4-container td,
#report-v4-container th,
#report-v4-container tr,
#report-v4-container tbody,
#report-v4-container thead,
#report-v4-container tfoot {
  font-family: 'Source Sans Pro', 'Raleway', sans-serif !important;
}

#report-v4-container h1,
#report-v4-container h2,
#report-v4-container h3,
#report-v4-container h4,
#report-v4-container p,
#report-v4-container ul {
  margin: 0;
  padding: 0;
  font-family: inherit;
}

.cta-form input[readonly] {
  background-color: #f8f9fa;
  border-color: #e2e2e2;
}

body .page,
body .secretmenu-container-front {
  background-color: #ffffff !important;
}

.secretmenu-container .secretmenu-container-front {
  background: #fff;
  position: relative;
  height: 100%;
  width: 100%;
  overflow: auto;
  overflow-x: hidden !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#report {
  font-family: 'Source Sans Pro', sans-serif !important;
  min-width: 320px;
  margin-top: 80px;
  /* Valor por defecto para móviles */
  background-color: #fff;
  border: none !important;
}

#report * {
  font-family: 'Source Sans Pro', sans-serif !important;
}

#report .informe_box {
  border: 1px solid #c6cdd6;
  margin: 0;
  margin-top: 32px;
  margin-left: 24px;
  margin-right: 24px;
}

#report .info-informe.info-definiciones {
  margin-left: 24px;
  margin-right: 24px;
}

/* Clases de margen */
.af-mb-0 {
  margin-bottom: 0 !important;
}

.af-mb-2 {
  margin-bottom: 8px !important;
}

.af-mb-3 {
  margin-bottom: 14px !important;
}

.af-mb-4 {
  margin-bottom: 18px !important;
}

.af-mb-5 {
  margin-bottom: 24px !important;
}

.af-mt-2 {
  margin-top: 8px !important;
}

.af-mt-5 {
  margin-top: 24px !important;
}

.af-me-2 {
  margin-right: 8px !important;
}

.af-ml-5 {
  margin-left: 24px !important;
}

/* Clases de padding */
.af-p-0 {
  padding: 0 !important;
}

.af-p-2 {
  padding: 8px !important;
}

.af-p-3 {
  padding: 14px !important;
}

.af-p-4 {
  padding: 18px !important;
}

.af-p-5 {
  padding: 24px !important;
}

.af-pt-0 {
  padding-top: 0 !important;
}

.af-pt-2 {
  padding-top: 8px !important;
}

.af-pt-3 {
  padding-top: 14px !important;
}

.af-pt-4 {
  padding-top: 18px !important;
}

.af-pt-5 {
  padding-top: 24px !important;
}

.af-pb-0 {
  padding-bottom: 0 !important;
}

.af-pb-2 {
  padding-bottom: 8px !important;
}

.af-pb-3 {
  padding-bottom: 14px !important;
}

.af-pb-4 {
  padding-bottom: 18px !important;
}

.af-pb-5 {
  padding-bottom: 24px !important;
}

.af-ps-2 {
  padding-left: 8px !important;
}

.af-ps-3 {
  padding-left: 14px !important;
}

.af-ps-4 {
  padding-left: 18px !important;
}

.af-ps-5 {
  padding-left: 24px !important;
}

.af-pe-2 {
  padding-right: 8px !important;
}

.af-pe-3 {
  padding-right: 14px !important;
}

.af-pe-4 {
  padding-right: 18px !important;
}

.af-pe-5 {
  padding-right: 24px !important;
}

.af-px-2 {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.af-px-3 {
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.af-px-4 {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.af-px-5 {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.af-py-2 {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.af-py-3 {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.af-py-4 {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.af-py-5 {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

.af-py-6 {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

/* Estilos para la sección de Revisión Técnica */
.report-section {
  background: #fff;
  border-radius: 24px;
  padding: 24px 0px;
  margin-top: 24px;
  border: 1px solid #D9D9D9;
  transition: border-color 0.3s ease;
}

.section-header {
  padding: 0 24px 24px 24px;
}

.separator-line {
  border-bottom: 1px solid #D9D9D9;
}

.separator-two-lines {
  @media screen and (min-width: 980px) {
    border-bottom: 1px solid #D9D9D9;
    border-top: 1px solid #D9D9D9;
  }
}

.section-header-logo-container {
  align-self: center;
  display: flex !important;
  justify-content: end;
}

.header-content {
  position: relative;
  margin-left: 18px;
}

.header-title-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-icon-header {
  font-size: 24px;
}

.status-icon-header.error {
  color: #DC2626;
}

.vehicle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #1E40AF;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
}

.section-title {
  font-size: 18px;
  font-family: Source Sans Pro;
  font-weight: 700;
  line-height: 26px;
  color: #262626;
  margin: 0;
}

.section-description {
  font-size: 16px;
  color: #262626;
  margin: 0;
  font-weight: 400;
  line-height: 24px;
}

.logo-af {
  max-width: 40px;
  height: auto;
}

/* Tabla de Revisión Técnica */
.rt-table-container {
  margin-bottom: 0px;
  overflow-x: auto;
}

.rt-table {
  border: none !important;
  width: 100%;
  border-collapse: collapse;
}

.rt-table .rt-table-gray-row {
  height: 60px;
}

.infractions-table {
  border: none !important;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pure-table {
  border: none !important;
}

.rt-table th {
  min-width: 130px;
  background: #004CC6;
  color: #fff;
  font-weight: 600;
  padding: 12px;
  text-align: left;
  border: none !important;
  font-size: 16px;
  font-family: Source Sans Pro;
}

.infractions-table th {
  background: #004CC6;
  color: #fff;
  font-weight: 600;
  padding: 12px;
  text-align: left;
  border: none !important;
  font-size: 16px;
  font-family: Source Sans Pro;
}

.rt-table td,
.infractions-table td {
  padding: 12px;
  border-bottom: 1px solid #E2E8F0;
  color: #262626;
  line-height: 24px !important;
}

.estado-cell {
  max-width: 300px;
  line-height: 24px;
}

.technical-review-status-cell {
  max-width: 300px;
  line-height: 1.4;
  border-right: 1px solid #D9D9D9 !important;
}

/* URL cell styling to make it narrow */
.url-cell {
  white-space: nowrap !important;
  text-align: start !important;
  overflow: visible !important;
  border-right: 1px solid #D9D9D9 !important;
}

.rt-link-consulta {
  white-space: nowrap !important;
  display: inline-block !important;
}

.rt-info-table-row {
  border-right: 1px solid #D9D9D9 !important;
  padding: 0px 24px !important;
  height: 86px !important;
}

.infractions-info-table-row {
  border-right: 1px solid #D9D9D9 !important;
  border-top: 1px solid #D9D9D9 !important;
  padding: 0px 24px !important;
  height: 86px !important;
}

.pure-table-horizontal td,
.pure-table-horizontal th {
  border-width: 0;
  border-bottom: none !important;
}

/* Estado de Revisión Técnica */
.rt-status-box {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  color: #262626 !important;
  white-space: nowrap;
  line-height: 24px;
  font-weight: 700;
  text-wrap: auto;
  max-width: 250px;
}

.rt-status-success {
  background: #F0FDF4;
  color: #166534;
}

.rt-status-error {
  border: 1px solid #EF9F9F;
  background: #FCEEEE;
}

.rt-status-icon {
  font-size: 18px;
}

/* Caja de información */
.rt-info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.rt-info-icon {
  color: #64748B;
  font-size: 20px;
}

.rt-info-text {
  margin: 0;
  color: #64748B;
}

/* Caja de alerta */
.rt-alert-box {
  padding: 16px 24px;
  color: #262626;
  background-color: #E5EDF9;
  line-height: 24px !important;
}

.rt-alert-text {
  margin: 0;
}

.rt-info-table-row-content {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  display: flex;
  align-items: center;
  color: #262626;

}

.rt-info-table-row-content .rt-link-consulta {
  font-size: 16px !important;
}

/* Footer de la sección */
.rt-footer {
  padding: 0px 24px;
}

.rt-footer-text {
  border-right: 1px solid #D9D9D9;
  flex: 0 0 75%;
  max-width: 75%;
  color: #262626;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  padding-right: 24px;
}

.rt-source {
  flex: 0 0 25%;
  max-width: 25%;
  color: #94A3B8;
  font-size: 12px;
  margin-left: 16px;
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}

.rt-link {
  color: #1E40AF;
  text-decoration: none;
}

.rt-link:hover {
  text-decoration: underline;
}

.rt-table-container .rt-table-gray-row td {
  background: #F5F5F5;
}

.rt-table-container .rt-table-gray-row .result-cell {
  background: #fff !important;
}

.result-cell {
  width: 20% !important;
  height: 160px !important;
  vertical-align: top;
  min-width: 20%;
  max-width: 20%;
  padding: 24px 16px !important;
}

.rt-alert-box ul {
  list-style: disc inside;
  margin: 0 0 0 8px;
  font-size: 16px !important;
}

.rt-alert-box .rt-link-consulta {
  font-size: 16px !important;
}

.rt-footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 12px;
  font-size: 12px;
  color: #262626;
}

.rt-footer-text,
.rt-source {
  font-size: 14px;
  color: #262626 !important;
  flex: 1 1 0;
}

.rt-link-consulta {
  color: #004CC6;
  text-decoration: underline;
  font-size: 14px;
}

.rt-link-consulta.font-16 {
  font-size: 16px;
}

.rt-status-text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.rt-status-warning {
  background: #FFF7E8;
  border: 1px solid #FFE6BA;
}

.rt-status-danger {
  background: #FCEEEE;
  border: 1px solid #EF9F9F;
}

.rt-status-ok {
  background: #F6FFED;
  border: 1px solid #B7EB8F;
}

/* Estilos responsive para revision tecnica */
@media (max-width: 980px) {

  /* Clases de utilidad para mostrar/ocultar elementos según viewport */
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  /* Ajuste de padding para #report en mobile - Comentado para usar reglas más específicas */
  /* #report {
    padding: 1em 1em !important;
  } */

  /* Ajuste de padding para report-section en mobile */
  .report-section {
    padding: 12px 0px;
  }

  /* Estilos para el header colapsable */
  #seccion-revision-tecnica .section-header,
  #seccion-multas .section-header,
  #seccion-recalls .section-header,
  #seccion-remates .section-header,
  #seccion-propietarios .section-header,
  #seccion-multas-denuncias .section-header,
  #seccion-permisos-circulacion .section-header {
    padding: 0px;
    position: relative;
    margin-bottom: 0px;
    border-bottom: none;
  }

  .toggle-content-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #0052cc;
    cursor: pointer;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Estilos para el contenido colapsable */
  .section-content.collapsible {
    max-height: 99000px;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  /* Estilo para secciones expandidas */
  .report-section.section-expanded {
    border: 1px solid #004CC6;
  }

  .section-content.collapsible.collapsed {
    max-height: 0;
    overflow: hidden;
  }

  /* Estilos para la versión mobile de la información de revisión técnica */
  .mobile-rt-content {
    padding: 16px;
    background-color: #F5F5F5;
  }

  .mobile-rt-result {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .mobile-rt-result h3 {
    font-size: 16px;
    color: #262626;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .mobile-rt-content .rt-status-box {
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    width: auto !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto;
    margin-right: auto;
  }

  .mobile-rt-history {
    margin-bottom: 20px;
  }

  .mobile-rt-locked-message {
    display: flex;
    align-items: center;
    color: #262626;
    font-size: 14px;
  }

  .mobile-rt-details {
    padding-top: 16px;
    font-size: 16px !important;
  }

  .mobile-rt-detail-item {
    margin-bottom: 16px;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    font-size: 16px !important;
    color: #262626 !important;
  }

  /* Ajustes estéticos para mobile */
  .rt-alert-box {
    padding: 16px;
  }

  .rt-footer {
    padding: 0px 16px;
  }

  .rt-footer-row {
    flex-direction: column;
  }

  .rt-footer-text {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    border-right: none;
    padding-bottom: 12px;
    border-bottom: 1px solid #D9D9D9;
    padding-right: 0px;
  }

  .rt-source {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin-top: 12px;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  /* Reset de estilos específicos para móvil */
  .section-header {
    padding-bottom: 8px !important;
  }

  .header-title-container {
    flex-wrap: wrap;
  }

  .mobile-status-row {
    width: 100%;
  }

  /* Ajuste para el botón de toggle */
  .toggle-content-btn {
    top: 20px;
    transform: none;
  }

  /* Ajustes de tipografía para mobile */
  .section-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
  }

  /* Hacer que rt-status-box ocupe el 100% del ancho en mobile */
  .rt-status-box {
    max-width: 100% !important;
    width: 100%;
  }

  /* Ajustar tamaño de imagen en el icono de revisión técnica para móvil */
  .technical-review-icon-container img {
    width: 36px !important;
    height: 36px !important;
  }
}

/* Clase de utilidad para ocultar en desktop */
@media (min-width: 981px) {
  .mobile-only {
    display: none !important;
  }
}

/* Estilos para la fila de estado en móvil */
.mobile-status-row {
  display: flex !important;
  align-items: center;
}

.status-icon-mobile {
  display: flex;
}

.status-text-mobile {
  font-weight: 400;
  color: #262626;
  font-size: 14px;
  line-height: 22px;
  flex: 1;
}

.mobile-rt-detail-label {
  font-weight: 600;
  color: #333;
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
  line-height: normal;
}

.mobile-rt-detail-value {
  color: #666;
  margin: 0;
  font-size: 14px;
  line-height: normal;
}

.toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.toggle-icon.rotated {
  transform: rotate(180deg);
}

/* Clase para rotar el chevron a la derecha */
.toggle-chevron.rotated-right {
  display: inline-block;
  transform: rotate(-90deg);
  transition: transform 0.3s ease;
  vertical-align: middle;
  margin-left: 6px;
}

/* Media query para pantallas medianas (tablet) */
@media (min-width: 720px) and (max-width: 980px) {
  #report {
    padding: 4em 1em !important;
  }
}

/* Media query para pantallas pequeñas (móvil) */
@media (max-width: 719px) {
  #report {
    padding: 0em 1em !important;
  }
}

/* Modifico el media query existente para evitar conflictos */
@media (max-width: 980px) {
  /* Otros estilos responsivos existentes... */

  /* Eliminamos la regla de padding para #report que estaba aquí */
  /* #report {
    padding: 1em 1em !important;
  } */
}

/* Estilos para accordiones de autopistas en mobile */
@media (max-width: 980px) {
  .highway-accordion {
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 0;
    /* Remove margin between accordions */
    border-radius: 0;
    /* Reset border radius */
    overflow: hidden;
    font-size: 16px !important;
    color: #262626 !important;
  }

  .highway-accordion__only-full {
    border-bottom: none;
  }

  /* Add specific class for highway accordions container */
  .highway-accordions-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #D9D9D9;
  }

  /* Style for the first accordion in a group */
  .highway-accordions-container .highway-accordion:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  /* Style for the last accordion in a group */
  .highway-accordions-container .highway-accordion:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom: none;
  }

  .highway-header {
    display: flex;
    align-items: center;
    padding: 0px 15px;
    background-color: #fff;
    cursor: pointer;
    justify-content: space-between;
    min-height: 56px;
  }
  .highway-header__only-full {
    min-height: auto;
    padding: 0 16px 16px 16px;
  }
  .highway-accordions-container__only-full > :first-child > :first-child {
    padding: 16px;
  }

  .highway-icon {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .highway-icon svg {
    width: 16px;
    height: 16px;
  }

  .highway-name {
    font-weight: 400;
    flex: 1;
    text-transform: capitalize;
  }
  
  .highway-name__only-full {
    font-weight: 600;
  }

  /* Highway name when accordion is open */
  .highway-accordion.open .highway-name {
    font-weight: 600;
  }

  .highway-detail {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    background-color: #fff;
    /* Changed to white background */
  }

  .highway-detail p {
    margin: 0 0 8px 0;
  }

  .highway-detail b {
    font-weight: 600 !important;
  }

  .highway-detail.collapsed {
    display: none;
  }

  .toggle-chevron.rotated {
    transform: rotate(180deg);
  }

  .section-categories {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 16px !important;
    color: #262626 !important;
  }

  .mobile-rt-locked-message {
    display: flex;
    align-items: center;
    margin: 15px 0;
  }

  .mobile-rt-locked-message span {
    font-size: 16px !important;
  }
}

.highway-icon-desktop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

.highway-icon-desktop svg {
  width: 20px;
  height: 20px;
}

/* Estilo para las filas de la tabla de autopistas */
.infractions-section-header td {
  background: #FFFFFF !important;
  font-weight: 600;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-right: 1px solid #D9D9D9 !important;
  border-top: 1px solid #D9D9D9 !important;
}

.infractions-section-header__only-full {
  .spans-container {
    display: grid;
    grid-template-columns: repeat(3, 245px);
    gap: 10px;
    padding: 5px;
  }
  .spans-container span {
    padding: 3px;
    display: flex;
    align-items: center;
  }
}

.rt-row-odd td,
.rt-row-even td {
  min-height: 50px;
  height: 50px;
}

.rt-row-odd td {
  background-color: #FFFFFF !important;
}

.rt-row-even td {
  background-color: #F5F5F5 !important;
}

.rt-row-odd .result-cell,
.rt-row-even .result-cell {
  background-color: #FFFFFF !important;
}

/* Reset existing table row styles */
.rt-table-container .rt-table-gray-row td {
  background: #F5F5F5;
}


.rt-result-row {
  background-color: transparent !important;
  border: none !important;
  height: 0 !important;
  overflow: visible !important;
  position: relative !important;
}

.rt-result-row td {
  height: 0 !important;
  border: none !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

.rt-result-row .result-cell {
  padding: 24px 16px !important;
}

/* Styles for infraction items in mobile accordions */
.infraction-divider {
  border-top: 1px solid #E0E0E0;
  margin: 15px 0;
}

.infraction-item {
  padding: 0;
}

.infraction-item p {
  margin-bottom: 8px;
}

.available-full-title {
  font-family: Source Sans Pro;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #262626;
  margin-top: 16px !important;
}

.scoring-title {
  font-family: Source Sans Pro;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 26px !important;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #15257A !important;
  margin-right: 8px !important;
}

.scoring-container {
  display: flex !important;
  justify-content: center !important;
  vertical-align: middle !important;
  align-items: center !important;
  margin-top: 16px !important;
}

.scoring-container img {
  vertical-align: middle;
}

.scoring-cta-text {
  font-family: Source Sans Pro;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  letter-spacing: 0%;
  color: #262626 !important;
}

.scoring-tooltip-container {
  box-shadow: 0px 3px 24px -4px #0000001A;
  background-color: #FFFFFF;
  border-radius: 6px;
}

.scoring-tooltip-text {
  font-family: Source Sans Pro;
  font-weight: 400;
  font-size: 16px !important;
  line-height: 24px;
  letter-spacing: 0%;
  color: #262626;
}

/* Tippy.js custom theme styles */
.tippy-box[data-theme~='scoring-tooltip'] {
  background-color: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0px 3px 24px -4px #0000001A;
  color: #262626;
}
/* Mobile styles for Tippy tooltips */

@media screen and (max-width: 768px) {
  .tippy-box[data-theme~='scoring-tooltip'] {
    background-color: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0px 3px 24px -4px #0000001A;
    color: #262626;
    max-width: 90vw !important;
  }
}


.tippy-box[data-theme~='scoring-tooltip'] .tippy-content {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 16px !important;
  line-height: 24px;
  letter-spacing: 0%;
  padding: 12px 16px;
}

/* SVG arrow styling */
.tippy-box[data-theme~='scoring-tooltip'] > .tippy-svg-arrow {
  fill: #FFFFFF;
}

.embebed-cta {
  width: 311px;
  display: block;
  text-align: center;
  color: #262626;
  > div {
    font-size: 18px;
    > span {
      font-weight: 700;
      color: #004CC6;
    }
  }
}

.remates-content {
  padding: 16px;
  background-color: #F5F5F5;
  .rt-status-box {
    box-sizing: border-box;
    max-width: 311px;
    width: 100%;
  }
  @media (min-width: 980px) {
    padding: 16px;
    background-color: transparent;
  }
}

.remates-alert-box {
  font-size: 14px;
  color: #262626;
  padding: 24px 24px 0 24px;
  display: block;
  ul {
    list-style-type:disc;
    padding-bottom: 8px;
    margin-left: 15px;
  }
  div {
    padding-top: 8px;
    border-top: 1px solid #D9D9D9;
  }
  @media (min-width: 980px) {
    display: flex;
    ul {
      max-width: 795px;
    }
    div {
      padding-left: 24px;
      border-top: none;
      border-left: 1px solid #D9D9D9;
    }
  }
}

.recall-convenio-operacion {
  max-width: 311px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.recall-convenio-operacion-title {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #004CC6 0%, #15257A 100%);
  border-radius: 12px;
  padding: 16px;
  .recall-convenio-operacion-title-text {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #FFF;
    text-align: center;
  }
}

.recall-convenio-operacion-description {
  font-size: 18px;
  text-align: center;
  font-weight: 400;
  line-height: 24px;
  color: #262626;
  span {
    color: #004CC6;
    font-weight: 700;
  }
}

/* Estilos para el sello de garantía */
.selloGarantia {
  position: relative;
  display: flex;
}

.selloGarantia .imagenBase {
  display: block;
  width: 61px;
  height: auto;
}

.selloGarantia .logoMarca {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 29px;
  height: 14px;
  object-fit: contain;
}

.minus-16-margin-bottom {
  margin-bottom: -16px;
}

.gap-8 {
  gap: 8px;
}

#seccion-recalls .rt-footer-text ul li {
  list-style-type: disc !important;
  margin-left: 21px !important;
}
#seccion-recalls .rt-info-table-row {
  height: 66px !important;
}
#seccion-recalls .infractions-info-table-row {
  height: 66px !important;
}

#seccion-propietarios .propietarios-background-td {
  height: 360px;
  background-size: 100% 100%; 
  background-repeat: no-repeat; 
  background-position: center;
  position: relative;
}

.rebrand-cta {
  box-sizing: border-box;
  display: flex;
  width: 420px;
  padding: 24px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  border-radius: 24px;
  border: 1px solid  #004CC6;
  background: #F4F7FB;
}

.rebrand-cta-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #262626;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.rebrand-cta-title img {
  width: 24px !important;
  height: 24px !important;
}

.warning-alert-rebrand {
  padding: 4px 16px;
  border-radius: 6px;
  border: 1px solid #EF9F9F;
  background: #FCEEEE;
}

#seccion-permisos-circulacion .permisos-circulacion-background-td {
  height: 288px;
  background-size: 100% 100%; 
  background-repeat: no-repeat; 
  background-position: center;
  position: relative;
}

#seccion-multas-denuncias .multas-background-td {
  height: 266px;
  background-size: 100%; 
  background-repeat: no-repeat; 
  background-position: center;
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
}