/* Fonts*/

@font-face{
  font-family:'BentonSansBBVA Light';
  src:url("../css/fonts-spherica/bbva-light/bbvaweb-light-eot.eot");
  src:url("../css/fonts-spherica/bbva-light/bbvaweb-light-eot.eot");
  src:url("../css/fonts-spherica/bbva-light/bbvaweb-light-eot.eot?#iefix") format("embedded-opentype"),
  url("../css/fonts-spherica/bbva-light/bbvaweb-light-woff.woff") format("woff"),
  url("../css/fonts-spherica/bbva-light/bbvaweb-light-ttf.ttf") format("truetype");
  font-style:normal;
  font-weight:200
}

@font-face {
  font-family: 'BentonSansBBVA Book';
  src: url('../css/fonts-spherica/BentonSansBBVA-Book.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'subtitle';
  src: url('../css/fonts-spherica/TiemposHeadline/tiempos-headline-bold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'bbva-icons-coronita';
  src: url('../css/fonts-spherica/bbva-icons-coronita.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BentonSansBBVA Medium';
  src: url('../css/fonts-spherica/BentonSansBBVA-Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "BBVA Tiempos Headline";
  src: url("../css/fonts-spherica/TiemposHeadline/tiempos-headline-bold.woff2") format('woff2');
  font-weight: normal;
}

.content-main {
  padding-top: 24px;
  padding-bottom: 24px;
}

* {
  font-family: 'BentonSansBBVA Book', serif !important;
}

h1 {
  font-family: 'BBVA Tiempos Headline', serif !important;
}

h3 {
  font-family: 'BentonSansBBVA Medium', serif !important;
}

.spinner-wrapper {
  background-color: rgba(255, 255, 255, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.spinner-border {
  height: 40px;
  width: 40px;
}

.form-step {
  opacity: 0;
  display: none;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.form-step.active {
  opacity: 1;
  display: flex;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* INPUT RADIO */

.custom-radio {
  /* Oculta el radio button por defecto */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Crea un elemento personalizado para el radio button */
  width: 40px; /* Ajusta el tamaño exterior */
  height: 40px; /* Ajusta el tamaño exterior */
  border: 2px solid #47536D; /* Borde exterior oscuro */
  border-radius: 50%; /* Forma circular */
  background-color: #fff; /* Fondo blanco */
  cursor: pointer;
  vertical-align: middle;
  position: relative; /* Para posicionar el círculo interior */
}

.custom-radio::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px; /* Ajusta el tamaño del círculo interior azul */
  height: 20px; /* Ajusta el tamaño del círculo interior azul */
  border-radius: 50%;
  background-color: transparent; /* Inicialmente transparente */
}

/* Estilo cuando el radio button está seleccionado */
.custom-radio:checked::before {
  background-color: #001391; /* Círculo interior azul */
}

.custom-radio:focus {
  outline: none; /* Opcional: elimina el contorno de enfoque predeterminado */
}

/* Para asociar el estilo con un label (opcional) */
.radio-label {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  cursor: pointer;
  margin-left: 8px;
}

/* CARDS */
.card {
  border: 0px;
  --bs-card-border-radius: 16px;
  color: #070E46;
}
.text-bg-white {
  background-color: white;
}
.card-body {
  color: #070E46;
}

/* BUTTON */
.btn-primary {
  --bs-btn-bg: #001391;
  --bs-btn-border-color: #001391;
  --bs-btn-hover-bg: #001391;
  --bs-btn-hover-border-color: #001391;
}
.btn-light {
  --bs-btn-color: #001391 !important;
  --bs-btn-bg: #F7F8F8 !important;
}
.btn-link {
  text-decoration: auto;
  --bs-btn-color: #001391 !important;
  --bs-btn-hover-color: #001391 !important;
}

.btn-add {
  --bs-btn-border-color: #001391;
}

/* INPUTS */
.form-control {
  border: 2px solid #47536D;
}
.form-select {
  border: 2px solid #47536D;
}
.icon-limpiar-input-alone{
    width: 20px;
    height: 18px;
    position: absolute;
    right: 16px;
    top: 20px;
    background-position-x: center;
    background-position-y: center;
    background-size: 100%;
    background-image: url(../img/aspa.svg);
    display: none;
  cursor: pointer;
}

/* TEXT */
.text-primary {
  color: #001391 !important;
}

.alert-primary {
  --bs-alert-bg: #D6E9F8 !important;
}

/* ALERTS */
.alert {
  border: 0px;
}

/* MODAL */
.modal-header {
  border: 0px;
}
.modal-backdrop {
  background-color: #001391;
  --bs-backdrop-opacity: 0.85;
}

ul {
  list-style: none;
  position: relative;
  padding-left: 10px;
}

ul li {
  position: relative;
  padding-left: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.icon-list-1 li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" preserveAspectRatio="xMidYMid meet" focusable="false"><path fill="%23070E46" d="M12 2.4c-5.293 0-9.6 4.307-9.6 9.6s4.307 9.6 9.6 9.6 9.6-4.307 9.6-9.6-4.307-9.6-9.6-9.6M12 20c-4.411 0-8-3.59-8-8s3.589-8 8-8 8 3.589 8 8-3.59 8-8 8m6.079-9.887a1.17 1.17 0 0 0-.982-.807l-2.845-.345-1.118-2.58-.006-.012A1.23 1.23 0 0 0 12 5.665a1.23 1.23 0 0 0-1.128.704L9.749 8.96l-2.838.344a1.17 1.17 0 0 0-.99.808c-.146.453-.013.955.34 1.278l2.07 1.813-.517 2.847a1.16 1.16 0 0 0 .46 1.175c.386.279.904.307 1.322.069l2.403-1.373 2.405 1.374a1.23 1.23 0 0 0 1.32-.07 1.16 1.16 0 0 0 .46-1.175l-.517-2.847 2.058-1.801.013-.011c.353-.323.486-.824.339-1.278zm-4.147 2.484.525 2.886L12 14.079l-2.456 1.404.525-2.886-2.071-1.812 2.854-.346L12 7.789l1.148 2.65 2.854.346z"></path></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-list-2 li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 5px;
  background: #070E46;
  border-radius: 40%;
  display: inline-block;
}

.text-start-icon {
  position: relative;
  padding-left: 30px;
}

.text-start-icon::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url(../img/info-24.png);
  background-size: contain;
  background-repeat: no-repeat;
}


/* Estilo para las opciones SELECT*/
.form-select option {
  background-color: #ffffff;
  color: #212529;
  padding: 10px;
}

/* Cambiar el color de fondo al pasar el mouse */
.form-select option:hover {
  background-color: #e9ecef;
}

.signature-names {
  font-weight: bold;
  color: #070E46;
  font-size: 20px;

}

.signature-space {
  width: auto;
  padding-top: 10px;
}

.ml-110 {
  margin-left: 110px;
}

.ml-2 {
  margin-left: 20px;
}

.mb-5-personalized {
  margin-bottom: 5rem !important;
}

.pregunta-titulo {
  color: #0b0b52;
  font-weight: 500;
  margin-bottom: 10px;
}

.opciones-firmantes {
  display: flex;
  gap: 12px;
  /* Espacio entre botones */
}

.boton-firmante {
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  background-color: #f8f9fa;
  color: #001b86;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 16px;
}

.boton-firmante.activo {
  background-color: #001b86;
  color: white;
}

.boton-firmante:hover {
  background-color: #001b86;
  color: white;
}

.pregunta-firmantes {
  margin-bottom: 15px;
}

/* Estilos específicos para esta sección */
#step7 .card {
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 19, 145, 0.1);
}

#step7 h1 {
  font-family: 'BBVA Tiempos Headline', serif;
  color: #070E46;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

#step7 p {
  font-family: 'BentonSansBBVA Book', serif;
  color: #47536D;
  font-size: 1.5rem;
  line-height: 1.5;
}

.header-icon-finish {
  pointer-events: none;
  width: 6%;
  height: 100%;
  overflow: hidden;
  background: #47536D;
  fill: #fff;
  border-radius: 35px;
}

/* Ajustes para listas */
.icon-list-1 {
  list-style: none;
  padding-left: 0;
}

/* Checkboxes personalizados */
input[type="checkbox"] {
  accent-color: #001391;
}

/* Tipografía para datos */
.card h3 {
  font-family: 'BentonSansBBVA Medium', sans-serif;
  color: #070E46;
}

.card p {
  font-family: 'BentonSansBBVA Book', sans-serif;
  color: #47536D;
}

.fz-20 {
  font-size: 20px !important;
}

.fz-32 {
  font-size: 32px;
}

.fz-15 {
  font-size: 15px !important;
}

.col-icon-personalized {
  width: 4% !important;
  padding: 0px !important;
  margin: 0px !important;
  display: inline-table;
}

.pl-0 {
  padding-left: 0px !important;
}

.bbva-point-list {
  list-style: none;
  padding-left: 30px;
  color: #47536D;
  font-family: 'BentonSansBBVA Book', sans-serif;
}

.bbva-point-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.bbva-point-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #47536D;
  /* Color corporativo BBVA */
  font-size: 1.2em;
}

.h-7 {
  height: 70px !important;
}

div.start {
  visibility: hidden;
}

.coronita-small-icon-warning {
  font-family: 'BentonSansBBVA Book';
  /*font-size: 14px;
	display: flex;
	height: 18px;
	width: 23px; */
}

.icon-info-svg-warning {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding-left: 0;
}

.icon-info-svg-warning::before {
  content: "";
  display: inline-block;
  height: 23px;
  width: 23px;
  margin-right: 6px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet" focusable="false"><path fill="%23C30A0A" d="M12 15.9c.5 0 .9.4.9.9s-.4.9-.9.9-.9-.4-.9-.9.4-.9.9-.9m-.8-6.3h1.6v4.8h-1.6zm1.86-6.1c-.21-.4-.62-.64-1.06-.64s-.86.25-1.06.64L2.8 19.04c-.2.38-.18.82.04 1.18s.6.58 1.03.58h16.28c.42 0 .81-.22 1.03-.58s.23-.8.04-1.18zM4.52 19.2 12 4.92l7.48 14.28z"></path></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.input-error {
  border-color: #C30A0A !important;
  box-shadow: 0 0 0 2px #f8d7da33;
}

.coronita-small-font-size {
  font-size: 14px
}

.span-error {
  display: flex;
  margin-top: 6px;
  margin-left: 10px;
  padding-left: 19px;
  align-items: center;
}

.text-error {
  color: #C30A0A !important;
}

.input-radio-error {
  border: 2px solid #C30A0A !important;
}

.modal-icon-remove {
  height: 80px;
  width: 80px;
  fill: #B98409;
}

.modal-icon-warning {
  height: 80px;
  width: 80px;
  fill: #C30A0A;
}

.color-text-remove {
  color: #070E46;
  padding-bottom: 20px;
}

.modal-body-custom {
  position: relative;
  flex: 1 1 auto;
  padding: 0px 20px 20px 20px;
}

/* Estilo para el selector de usuarios */

.mat-style-select {
  position: relative;
  margin-bottom: 1.5rem;
  width: 100%;
}

.mat-label {
  position: absolute;
  top: -8px;
  left: 12px;
  background: white;
  padding: 0 5px;
  font-size: 12px;
  color: #5f6368;
  z-index: 1;
}

.select2-container .select2-selection--single {
  height: 100% !important;
  border: 1px solid #001391 !important;
  border-radius: 4px;
  padding: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  display: none !important;
  /* Oculta la X */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  position: absolute;
  top: 0px !important;
  right: 15px !important;
  width: 0px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 24px;
  color: rgba(0, 0, 0, .87);
}

.select2-container--focus .select2-selection {
  border-color: #001391 !important;
  box-shadow: 0 0 0 1px #001391;
}

/* Mejora el padding y agrega borde redondeado */
.select2-results__option {
  padding: 20px 28px !important; 
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  margin: 10px 4px !important;
  background-color: #F7F8F8; /* Fondo plomo */

}

/* Efecto hover más suave */
.select2-results__option--highlighted,
.select2-results__option:hover {
  background-color: #001391 !important;
  color: #fff !important;
  cursor: pointer;
}

.select2-dropdown {
  min-height: 168px !important;
  max-height: 220px !important;
  min-width: 250px;
  border: none !important;
  box-shadow: none !important;
}

/* Opción seleccionada: icono a la izquierda */
.select2-results__option[aria-selected=true]::before {
  color: #fff;
  margin-right: 8px;
  font-size: 16px;
  vertical-align: middle;
}

/* Si quieres que el icono solo aparezca en la opción seleccionada y no en el resaltado */
.select2-results__option--highlighted::before {
  content: "";
}

/* Opcional: sombra sutil al resaltar */
.select2-results__option--highlighted {
  box-shadow: 0 2px 8px rgba(0,19,145,0.08);
}

.floating-select-wrapper {
  position: relative;
  width: 100%;
}

.floating-label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #666;
  pointer-events: none;
  transition: 0.2s ease all;
  background: white;
  padding: 0 4px;
  z-index: 1;
}


/*Estilo para boton mantener */
.btn-mantener {
  background: #F7F8F8;
  color: #001391;
  font-weight: bold;
  margin-left: 15px;
}

/*Estilo para text-link-modify */
.btn-modify-summary {
  color: #001391 !important;
  font-weight: bold;
  cursor: pointer;
}

.modal-header-custom {
  padding: 16px 16px 0px 16px !important;
}

.simbolo-derecha {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: bold;
    pointer-events: none;
    background: #F7F8F8;
    padding-left: 4px;
    z-index: 2;
}

.with-custom {
  width: -webkit-fill-available;
}

/*Pantalla de error*/
.content-error {
  justify-items: center;
}

.error-val-title {
  font-family: 'Tiempos Headline', Georgia, "Times New Roman", serif;
  font-size: 32px ;
  font-weight: bold;
  color: #070E46;
}

.error-val-text {
  font-size: 15px;
  color: #121212;
}

.error-val-text-link {
  font-size: 15px;
  font-weight: bold;
  color: #001391;
  cursor: pointer;
}

.error-val-icon {
  width: 70px;
  fill: #C30A0A;
}

.onb-footer{
  z-index: 1;
}

.onb-rec{
  z-index: 2;
  position: relative;
}