.layout {
  display: flex;
  height: 100vh;
  width: 100%;
}

.layout__sidebar {
  width: 463px;
  background: #373D54;
  color: white;
  padding: 1.5rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  overflow-y: auto;
  z-index: 1000;
}

.layout__sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.layout__sidebar-logo {
  width: 75%;
  margin-bottom: 2rem;
}

.banner-container {
  width: 100%;
  height: 210px;
  position: relative;
  margin: 1.5rem 0;
  transform: scale(0.85);
  transform-origin: center;
  margin-bottom: 4rem;
}

.banner-main {
  width: 350px;
  height: 260px;
  left: 0;
  top: 0;
  position: absolute;
}

/* Elementos decorativos de fondo */
.banner-decoration-1 {
  width: 208px;
  height: 204px;
  left: 48px;
  top: -8px;
  position: absolute;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border: 4px rgba(255, 255, 255, 0.20) solid;
}

.banner-decoration-2 {
  width: 200px;
  height: 190px;
  left: 342px;
  top: 280px;
  position: absolute;
  transform: rotate(-180deg);
  transform-origin: 0 0;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border: 4px rgba(255, 255, 255, 0.20) solid;
}

/* Contenedor de imagen 2 (mujer) - fondo azul */
.banner-image-wrapper-2 {
  width: 200px;
  height: 207px;
  left: 135px;
  top: 50px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-bg-image-2 {
  top: 24px;
  left: -8px;
  width: 196px;
  height: 190px;
  position: absolute;
  background: #28E8AD;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  z-index: 1;
}

.banner-img-2 {
  width: 200px;
  height: 230px;
  position: absolute;
  object-fit: cover;
  border-radius: 40px;
  z-index: 100;
}

/* Contenedor de imagen 1 (hombre) - fondo verde */
.banner-image-wrapper-1 {
  width: 180px;
  height: 194px;
  left: 0;
  top: 0;
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-bg-image-1 {
  top: -28px;
  left: 32px;
  width: 200px;
  height: 200px;
  position: absolute;
  background: #35DCFA;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  z-index: 1;
}

.banner-img-1 {
  top: -50px;
  left: 30px;
  width: 196px;
  height: 224px;
  position: absolute;
  object-fit: cover;
  border-radius: 40px;
  z-index: 2;
}

.layout__sidebar-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 80%;
  text-align: left;
}

.layout__sidebar-title {
  margin: 0;
  color: #00D090;
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.layout__sidebar-description {
  margin: 0;
  color: #FFF;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.main-content {
  flex: 1;
  margin-left: 463px;
  padding: 2rem 0;
  overflow-y: auto;
  background: #FFF;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.main-content-wrapper {
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

/* Estilos responsivos */
/* Tablets: 768px - 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .layout__sidebar {
    display: block;
  }
  
  .main-content {
    margin-left: 463px;
  }
  
  .main-content-wrapper {
    padding: 0 4rem;
  }
}

/* Móviles: hasta 767px */
@media (max-width: 767px) {
  .layout__sidebar {
    display: none;
  }
  
  .main-content {
    margin-left: 0;
    padding: 1rem 0;
  }
  
  .main-content-wrapper {
    padding: 0 2rem;
  }
}

/* Escritorio: 1025px en adelante */
@media (min-width: 1025px) {
  .layout__sidebar {
    display: block;
  }
  
  .main-content {
    margin-left: 463px;
  }
  
  .main-content-wrapper {
    padding: 0 8rem;
  }
}

/* Responsive styles for banner images */
@media (max-width: 767px) {
  .banner-container {
    display: none;
  }
}

/* Estilos base para skeleton loading */
@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s infinite ease-in-out;
  border-radius: 8px;
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
  border-radius: 4px;
}

.skeleton-text.title {
  height: 2em;
  margin-bottom: 0.8em;
}

.skeleton-text.subtitle {
  height: 1.5em;
  margin-bottom: 0.6em;
}





/* Skeleton para cards */
.skeleton-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  margin-bottom: 1.5rem;
}

.skeleton-feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  text-align: center;
}

/* Skeleton para header de página */
.skeleton-page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Skeleton para el layout */
.skeleton-layout {
  display: flex;
  height: 100vh;
  width: 100%;
}

.skeleton-sidebar {
  width: 463px;
  background: #373D54;
  padding: 1.5rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  overflow-y: auto;
  z-index: 1000;
}

.skeleton-sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.skeleton-logo {
  width: 75%;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  border-radius: 8px;
}

.skeleton-banner {
  width: 100%;
  height: 280px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin: 1.5rem 0;
}

.skeleton-sidebar-title {
  width: 60%;
  height: 2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin: 1rem 0;
}

.skeleton-sidebar-description {
  width: 80%;
  height: 3rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.skeleton-nav {
  width: 100%;
  margin-top: 2rem;
}

.skeleton-nav-item {
  width: 100%;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.skeleton-main-content {
  flex: 1;
  margin-left: 463px;
  padding: 2rem;
  overflow-y: auto;
  background: #FFF;
  min-height: 100vh;
}

.skeleton-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Responsive styles */
@media (max-width: 767px) {
  .skeleton-sidebar {
    display: none;
  }
  
  .skeleton-main-content {
    margin-left: 0;
    padding: 1rem;
  }
} /* Estilos generales para todas las páginas */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Toggle PF/PM en flujo promotor — coincide con el diseño Figma */
.promotor-type-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 598px;
  margin: 0;
}

.promotor-type-toggle {
  display: flex;
  width: 100%;
  height: 48px;
}

.promotor-type-option {
  flex: 1;
  height: 48px;
  border: 1px solid #c2cee3;
  background: #fff;
  color: #5b667a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promotor-type-option + .promotor-type-option {
  border-left: none;
}

.promotor-type-option.first {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.promotor-type-option.last {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.promotor-type-option.selected {
  background: #373d54;
  color: #fff;
  border-color: #373d54;
  font-weight: 600;
}

.promotor-type-option:focus-visible {
  outline: 2px solid #00bbdd;
  outline-offset: 2px;
}

/* Inputs de identificación fiscal en WelcomePage (CURP / RFC / CIF) */
.identity-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 4px 0;
  max-width: 598px;
}

/* Variante en fila para RFC + CIF lado a lado */
.identity-fields.identity-fields--row {
  flex-direction: row;
  gap: 24px;
  width: 100%;
}

.identity-fields--row .identity-field-row {
  flex: 1 1 0;
  min-width: 0;
}

.identity-field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.identity-field-row .identity-input {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 599px) {
  .identity-fields.identity-fields--row {
    flex-direction: column;
    gap: 12px;
  }
}

.identity-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #373d54;
}

.identity-label-required {
  color: #e2545a;
  margin-left: 2px;
}

.identity-input {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #252528;
  height: 48px;
  padding: 0 20px;
  border: 1px solid #c2cee3;
  border-radius: 10px;
  background: #fff;
  outline: none;
  box-shadow: 0px 2px 20px 0px rgba(194, 206, 227, 0.1);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.identity-input:focus {
  border-color: #5b667a;
}

.identity-input::placeholder {
  color: #9baccb;
}

.page-header {
  text-align: center;
  padding: 2rem 0;
  color: white;
  border-radius: 12px;
}

.page-header h1 {
  color: #252528;
  font-size: 28px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  text-align: left;
}

.page-header p {
  margin: 0;
  font-size: 1.2rem;
  opacity: 0.9;
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-content p {
  color: #252528;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  text-align: left;
}

/* Estados de carga y navegación - WelcomePage */
.loading-container {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #f0f4ff;
  border-radius: 8px;
  text-align: center;
}

.loading-text {
  color: #667eea;
  font-weight: bold;
  margin: 0;
}

.page-error-container {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fca5a5;
}

.error-text {
  color: #dc2626;
  font-weight: bold;
  margin: 0;
}

.ready-container {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #fefce8;
  border-radius: 8px;
  border: 1px solid #facc15;
  text-align: center;
}

.ready-text {
  color: #a16207;
  font-weight: bold;
  margin-bottom: 1rem;
}

.navigation-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-button {
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button.application {
  background-color: #3b82f6;
}

.nav-button.application:hover {
  background-color: #2563eb;
}

.nav-button.congratulations {
  background-color: #7c3aed;
}

.nav-button.congratulations:hover {
  background-color: #6d28d9;
}

/* Estilos responsivos */
@media (max-width: var(--breakpoint-mobile)) {
  .page {
    padding: 0 1rem;
  }

  .page-header {
    padding: 1.5rem 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .page-content {
    gap: 0.75rem;
  }

  .page-content p {
    font-size: 14px;
  }

  .button-container {
    width: 100%;
    max-width: 280px;
  }

  .navigation-buttons {
    flex-direction: column;
    align-items: center;
  }

  .nav-button {
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 1rem 0;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .privacy-checkbox-text {
    font-size: 13px;
  }
}

/* Estilos para tablets */
@media (min-width: var(--breakpoint-mobile)) and (max-width: var(--breakpoint-tablet)) {
  .page {
    padding: 0 2rem;
  }

  .page-header {
    padding: 2rem 0;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .button-container {
    width: 240px;
  }
}

/* Estilos para escritorio */
@media (min-width: var(--breakpoint-tablet)) {
  .page {
    padding: 0;
  }

  .page-header {
    padding: 2.5rem 0;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .button-container {
    width: 250px;
  }
}

/* Estilos para botón deshabilitado */
.button-container {
  display: inline-block;
  width: 210px;
  text-align: left;
}

/* Botón ancho completo en flujo promotor (matchea ancho de inputs / toggle) */
.button-container.promotor-flow {
  display: block;
  width: 100%;
  max-width: 598px;
}

.button-container.promotor-flow button {
  width: 100%;
  height: 48px;
  min-height: 48px;
}

.button-container.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.button-container.disabled:hover {
  opacity: 0.5;
}

/* Asegurar que el botón ocupe todo el ancho del contenedor */
.button-container button {
  width: 100%;
}

/* Estilos para navegación deshabilitada */
.navigation-buttons.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.navigation-buttons.disabled:hover {
  opacity: 0.5;
}/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

/* Modal Container */
.modal-container {
  background-color: white;
  border-radius: 8px;
  width: 95%;
  height: 95%;
  max-width: 900px;
  max-height: 700px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Modal Header */
.modal-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FFF;
}

/* Modal Title */
.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

/* Close Button */
.modal-close-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.modal-close-button:hover {
  background-color: #f0f0f0;
}

/* Privacy Checkbox Styles */
.privacy-checkbox-container {
  margin: 16px 0;
}

.privacy-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease;
}

.privacy-checkbox:hover {
  opacity: 0.8;
}

.privacy-checkbox-icon {
  width: 19px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.1s ease;
}

.privacy-checkbox-icon:hover {
  transform: scale(1.05);
}

.privacy-checkbox-text {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.privacy-link {
  color: #00BBDD;
  cursor: pointer;
  transition: color 0.2s ease;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
}

.privacy-link:hover {
  color: #0099CC;
}

/* Estilos responsivos para el modal */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }

  .modal-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .modal-header {
    padding: 12px 16px;
  }

  .modal-title {
    font-size: 16px;
  }

  .modal-close-button {
    font-size: 20px;
    width: 28px;
    height: 28px;
  }

  .privacy-checkbox-text {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .modal-container {
    width: 90%;
    height: 90%;
  }

  .modal-header {
    padding: 14px 18px;
  }
}

@media (min-width: 1024px) {
  .modal-container {
    width: 80%;
    height: 85%;
  }

  .modal-header {
    padding: 16px 20px;
  }
} .user-type-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: none;
  margin: 0;
  width: 100%;
}

.selection-option {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
  width: 100%;
}

.selection-option:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selection-option.selected {
  border-color: #00BBDD;
  background: #E1FAFF;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.option-content {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.option-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  background-color: #10b981;
  padding: 5px;
  border-radius: 5px;
}

.option-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.option-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.2;
  text-align: left;
}

.option-subtitle {
  font-size: 14px;
  color: #6b7280;
  font-weight: 400;
  text-align: left;
}

.check-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .user-type-selector {
    max-width: 100%;
    padding: 0 16px;
  }
  
  .selection-option {
    padding: 14px;
  }
  
  .option-icon {
    width: 36px;
    height: 36px;
  }
  
  .option-title {
    font-size: 15px;
  }
  
  .option-subtitle {
    font-size: 13px;
  }

  .check-icon {
    width: 18px;
    height: 18px;
  }
} .token-warning {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: #fef2f2;
  border-radius: 6px;
  border: 1px solid #fca5a5;
}

.token-warning__title {
  color: #dc2626;
  font-weight: bold;
  margin: 0 0 0.25rem 0;
}

.token-warning__description {
  color: #991b1b;
  font-size: 0.85rem;
  margin: 0;
} .document-upload-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
}

.document-upload-field__dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 28px 24px;
  background-color: #fff;
  border: 2px dashed #c2cee3;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}

.document-upload-field__dropzone:hover:not(.is-disabled) {
  border-color: #00d090;
  background-color: #fafdfd;
}

.document-upload-field__dropzone:focus-visible {
  border-color: #00d090;
  box-shadow: 0 0 0 3px rgba(0, 208, 144, 0.15);
}

.document-upload-field__dropzone.is-dragging {
  border-color: #00d090;
  background-color: rgba(0, 208, 144, 0.06);
}

.document-upload-field__dropzone.is-disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.document-upload-field__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.document-upload-field__cloud {
  color: #373d54;
  flex-shrink: 0;
}

.document-upload-field__texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.form-field .document-upload-field__title,
.form-field .document-upload-field__instruction,
.form-field .document-upload-field__hint {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-style: normal;
  line-height: normal;
  text-align: center;
}

.form-field .document-upload-field__title {
  font-weight: 700;
  color: #373d54;
}

.form-field .document-upload-field__instruction {
  font-weight: 400;
  color: #5b667a;
}

.form-field .document-upload-field__link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #00d090;
}

.form-field .document-upload-field__hint {
  font-weight: 400;
  color: #aabad6;
}

.document-upload-field .document-upload-field__feedback {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  text-align: left;
}

.document-upload-field .document-upload-field__feedback--error {
  color: #D00;
}

.document-upload-field__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.document-upload-field__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.document-upload-field__item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 31px;
  padding: 0 14px;
  border: 1px solid #c2cee3;
  border-radius: 10px;
  background-color: #fff;
  box-sizing: border-box;
}

.document-upload-field__file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.document-upload-field__item-name {
  flex-shrink: 1;
  min-width: 80px;
  max-width: 220px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  color: #00bbdd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.document-upload-field__item-progress {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #5b667a;
  min-width: 32px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.document-upload-field__item-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #d00;
  flex-shrink: 0;
}

.document-upload-field__item-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 0;
  color: #5b667a;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.document-upload-field__item-close:hover {
  color: #373d54;
}

.document-upload-field__item.is-error .document-upload-field__item-close {
  color: #d00;
}

.document-upload-field__progress-track {
  flex: 1;
  min-width: 80px;
  max-width: 340px;
  height: 12px;
  background-color: #e3f2ff;
  border-radius: 20px;
  overflow: hidden;
}

.document-upload-field__progress-fill {
  height: 100%;
  background-color: #00d090;
  border-radius: 20px;
  transition: width 0.18s ease;
}

.document-upload-field__progress-track.is-error {
  background-color: #d00;
}

.document-upload-field__progress-fill.is-error {
  background-color: #d00;
}

.document-upload-field__item-message {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 14px;
  color: #d00;
  font-weight: 400;
}

.document-upload-field__retry-link {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: #d00;
  text-decoration: underline;
  cursor: pointer;
}

.document-upload-field__retry-link:hover {
  color: #b30000;
}
.commission-scheme-viewer {
  width: 100%;
  height: 600px;
  border: 1px solid #c2cee3;
  border-radius: 10px;
  overflow-y: auto;
  background-color: #fff;
  box-sizing: border-box;
}

.commission-scheme-viewer__content {
  padding: 24px 12px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Montserrat', sans-serif;
}

.commission-scheme-viewer__title {
  margin: 0;
  color: #00BBDD;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

.commission-scheme-viewer__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #5b667a;
}

.commission-scheme-viewer__table thead th {
  text-align: center;
  vertical-align: middle;
  font-weight: 700;
  padding: 4px 4px 8px;
  line-height: 12px;
  border-bottom: 1px solid #c2cee3;
}

.commission-scheme-viewer__table tbody td {
  text-align: center !important;
  vertical-align: middle;
  padding: 8px 4px;
  font-weight: 400;
  line-height: 16px;
  border-bottom: 1px solid #e6ebf3;
}

/* Primera columna (Año): más angosta. Header centrado, valores alineados a la izquierda. */
.commission-scheme-viewer__table thead th:first-child {
  width: 12%;
  text-align: center;
}

.commission-scheme-viewer__table tbody td:first-child {
  width: 12%;
  text-align: left;
  padding-left: 8px;
}

.commission-scheme-viewer__table tbody tr:last-of-type td,
.commission-scheme-viewer__table tbody tr.commission-scheme-viewer__total-row td {
  border-bottom: none;
}

.commission-scheme-viewer__total-row td {
  font-weight: 700 !important;
  border-top: 1px solid #c2cee3;
  padding-top: 10px;
}

.commission-scheme-viewer .commission-scheme-viewer__note {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  color: #5B667A;
  text-align: left;
}

.commission-scheme-viewer__divider {
  margin: 0;
  border: 0;
  border-top: 1px solid #c2cee3;
}

.commission-scheme-viewer .commission-scheme-viewer__intro,
.commission-scheme-viewer .commission-scheme-viewer__declaration {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  color: #5B667A;
  text-align: justify;
}

.commission-scheme-viewer__declarations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Custom scrollbar matching Figma (cyan thumb, gray track) */
.commission-scheme-viewer::-webkit-scrollbar {
  width: 10px;
}

.commission-scheme-viewer::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}

.commission-scheme-viewer::-webkit-scrollbar-thumb {
  background: #c2cee3;
  border-radius: 10px;
}

.commission-scheme-viewer::-webkit-scrollbar-thumb:hover {
  background: #a8b4c8;
}

/* Firefox scrollbar */
.commission-scheme-viewer {
  scrollbar-width: thin;
  scrollbar-color: #c2cee3 transparent;
}
.page-renderer {
  width: 100%;
}

.page-form-content {
  width: 100%;
}

.form-section {
  margin-bottom: 2rem;
}

.section-title {
  color: #373d54;
  
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
  line-height: 22px; /* 137.5% */
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-info-icon {
  cursor: pointer;
  transition: opacity 0.2s ease;
  width: 18px;
  height: 18px;
}

.section-info-icon:hover {
  opacity: 0.7;
}

.section-groups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  /* Remover todos los estilos de componente encapsulado */
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
}

.group-title {
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  color: #373d54;
  padding-bottom: 1rem;
}

.group-fields {
  display: flex;
  flex-direction: column;
}

/* Estilos para fieldset con bordes y título centrado */
.with-fieldset-container {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  margin-top: 1rem;
  position: relative;
}

/* Ocultar título normal cuando with_fieldset es true */
.hidden-title {
  display: none;
}

/* Título absoluto que se posiciona encima del borde superior */
.absolute-fieldset-title {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: white;
  padding: 0 1rem;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 1.5rem;
  color: #5B667A;
  text-align: center;
  z-index: 1;
}

.group-fields.with-fieldset {
  /* Estilos para el contenido dentro del fieldset */
  border: none;
  border-radius: 0;
  padding: 0;
  background-color: transparent;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field-label {
  font-weight: 500;
  color: #333;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  overflow-wrap: break-word;
}

.label-text {
  display: inline;
  white-space: normal;
  flex-shrink: 1;
  word-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.form-field .field-subtitle {
  color: #5B667A;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  margin: 0;
  margin-top: 0;
}

.form-field .field-subtitle b,
.form-field .field-subtitle strong {
  font-weight: 700;
  color: inherit;
}

.form-field .field-subtitle .field-subtitle-link {
  color: #0BD;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.form-field .field-subtitle a.field-subtitle-link:hover,
.form-field .field-subtitle a.field-subtitle-link:focus-visible {
  color: #009ab8;
  text-decoration: underline;
}

/* Numeración automática y tipografía Figma para campos de upload de documentos */
.form-section {
  counter-reset: doc-upload;
}

.form-field--document-upload {
  counter-increment: doc-upload;
}

.form-field--document-upload .field-label {
  color: #373D54;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 22px;
}

.form-field--document-upload .field-label .label-text::before {
  content: counter(doc-upload) ". ";
}

/* Mensaje de validación a nivel de sección (ej. "Es obligatorio aceptar ambos acuerdos…") */
.form-section .section-validation-message {
  margin: 12px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  color: #D00;
  text-align: left;
}

.required-asterisk {
  color: #e74c3c;
  font-weight: bold;
  white-space: nowrap;
}

.field-info-icon {
  cursor: pointer;
  transition: opacity 0.2s ease;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  flex-shrink: 0;
}

.field-info-icon:hover {
  opacity: 0.7;
}

.required-asterisk {
  color: #e74c3c;
  font-weight: bold;
}

.remove-group-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  margin-left: 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.remove-group-btn:hover {
  background-color: rgba(231, 76, 60, 0.1);
}

.remove-group-btn img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  filter: brightness(0.7);
}

.remove-group-btn:hover img {
  opacity: 1;
}

.field-information {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  line-height: 1.4;
}

.no-content {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.no-content p {
  margin: 0;
  font-size: 1.1rem;
}

/* Sistema de columnas tipo Bootstrap - Grid de 6 columnas */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.col {
  position: relative;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Estilos para las filas dentro de group-fields */
.group-fields .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: 24px;
}

.group-fields .row:last-child {
  margin-bottom: 0;
}

/* Asegurar que form-field dentro de row mantenga su estructura interna pero se comporte como columna */
.group-fields .row .form-field {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

/* Alinear los inputs horizontalmente - empujar todo el contenido hacia abajo */
.group-fields .row .form-field > * {
  margin-bottom: 0;
}

/* Asegurar que los labels también estén alineados hacia abajo */
.group-fields .row .form-field .field-label {
  margin-bottom: 0;
}

/* Asegurar que todos los form-fields tengan la misma altura */
.group-fields .row {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
}

/* Aplicar las propiedades de columna específicamente a form-field dentro de row */
.group-fields .row .form-field.col {
  position: relative;
  padding-left: 15px;
  padding-right: 15px;
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

/* Sincronizar alturas de los labels en la misma fila */
.group-fields .row .form-field {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.group-fields .row .form-field .field-label {
  flex-shrink: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  overflow-wrap: break-word;
  /* Transición suave para cambios de altura */
  transition: height 0.2s ease;
  justify-content: flex-start;
}

/* Asegurar que los inputs se alineen correctamente debajo de los labels */
.group-fields .row .form-field > *:not(.field-label):not(.field-subtitle) {
  margin-top: 0.5rem;
}

.group-fields .row .form-field.col-1 {
  flex: 0 0 16.666667% !important;
  max-width: 16.666667% !important;
}
.group-fields .row .form-field.col-2 {
  flex: 0 0 33.333333% !important;
  max-width: 33.333333% !important;
}
.group-fields .row .form-field.col-3 {
  flex: 0 0 25% !important;
  max-width: 25% !important;
}
.group-fields .row .form-field.col-4 {
  flex: 0 0 33.333333% !important;
  max-width: 33.333333% !important;
}
.group-fields .row .form-field.col-6 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
}
.group-fields .row .form-field.col-8 {
  flex: 0 0 66.666667% !important;
  max-width: 66.666667% !important;
}
.group-fields .row .form-field.col-12 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* Responsive design para tablet y móvil */
@media (max-width: 1024px) {
  .form-section {
    margin-bottom: 1.5rem;
  }

  .form-group {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .group-title {
    font-size: 1.1rem;
  }

  /* En tablet y móvil, hacer que todas las columnas ocupen el 100% */
  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Asegurar que los form-fields dentro de las filas también ocupen 100% */
  .group-fields .row .form-field.col-1,
  .group-fields .row .form-field.col-2,
  .group-fields .row .form-field.col-3,
  .group-fields .row .form-field.col-4,
  .group-fields .row .form-field.col-6,
  .group-fields .row .form-field.col-8,
  .group-fields .row .form-field.col-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .col {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Responsive design específico para móviles */
@media (max-width: 768px) {
  .form-section {
    margin-bottom: 1rem;
  }

  .form-group {
    padding: 0.75rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .group-title {
    font-size: 1rem;
  }

  .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .col {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.section-info-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-info-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilos para el mensaje de validación de porcentajes */
.percentage-validation-message {
  margin-top: 0;
}

.percentage-validation-message p {
  margin: 0;
  color: #D00;
  
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
/* Estilos específicos del componente PrivacyModal */
.privacy-modal-header {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FFF;
}
.privacy-modal-container {
  width: 100%;
  height: auto;
  max-width: 1030px;
  max-height: 714px;
  padding: 24px 72px 48px 72px;
}

.privacy-scroll-content {
  overflow: auto;
  flex: 1;
  scrollbar-gutter: stable;
  /* Firefox: no soporta ancho custom en px; usa auto/thin */
  scrollbar-width: auto;
  margin-right: 8px;
  padding-right: 8px;
}

/* Scrollbar más ancho (WebKit/Chromium/Edge) */
.privacy-scroll-content::-webkit-scrollbar {
  width: 12px;
}

.privacy-scroll-content::-webkit-scrollbar-thumb {
  border: 1px solid #C2CEE3;

  background: #C2CEE3;
  border-radius: 10px;
}

.privacy-scroll-content::-webkit-scrollbar-track {
  border-radius: 10px;
  border: 1px solid #DBE4ED;
  
  background: #DBE4ED;
}

.privacy-content h2 {
  text-align: center;
  margin: 0 0 16px 0;
  color: #373d54;  
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 22px; /* 137.5% */
}

.privacy-content h3 {
  color: #373d54;
  
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  margin-top: 24px;
}

.privacy-content p {
  color: #373d54;
  
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 128.571% */
  margin: 0 0 12px 0  ;
}

.privacy-content ul {
  color: #373d54;
  
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  margin: 8px 0 16px 28px;
  padding-right: 8px; /* separa contenido de la barra de desplazamiento */
}

.privacy-content ol {
  color: #373d54;
  
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  margin: 8px 0 16px 28px;
  padding-right: 8px;
}

/* Enlaces dentro del contenido */
.privacy-content a {
  color: #0BD;
  
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .privacy-modal-container {
    padding: 16px;
  }

  .privacy-scroll-content {
    padding: 12px 12px 16px 12px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .privacy-modal-container {
    padding: 20px 40px 32px 40px;
  }

  .privacy-scroll-content {
    padding: 12px 16px 16px 16px;
  }
}
.in-progress-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #ecfffc;
  border: 1px solid #c2cee3;
  border-radius: 10px;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
  padding: 16px 32px;
  width: 410px;
}

.in-progress-toast__row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  flex: 1;
}

.in-progress-toast__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #00ce8c;
  border-radius: 18px;
  flex-shrink: 0;
}

.in-progress-toast__icon svg {
  width: 24px;
  height: 24px;
}

.in-progress-toast__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.in-progress-toast__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #373d54;
  line-height: 1.4;
  margin: 0;
}

.in-progress-toast__message {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #5b667a;
  line-height: 1.4;
  margin: 0;
}

.in-progress-toast__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #9baccb;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .in-progress-toast {
    width: calc(100vw - 32px);
    top: 16px;
    right: 16px;
    padding: 12px 16px;
  }
}
.manual-fill-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff7e6;
  border: 1px solid #f0c47a;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 16px 0;
}

.manual-fill-banner__row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  flex: 1;
}

.manual-fill-banner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #f0a93b;
  border-radius: 14px;
  flex-shrink: 0;
}

.manual-fill-banner__icon svg {
  width: 18px;
  height: 18px;
}

.manual-fill-banner__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.manual-fill-banner__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #373d54;
  line-height: 1.4;
  margin: 0;
}

.manual-fill-banner__message {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #5b667a;
  line-height: 1.4;
  margin: 0;
}

.manual-fill-banner__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #9baccb;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.signed-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(55, 61, 84, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.signed-modal {
  background: #ffffff;
  border-radius: 20px;
  padding: 84px 76px 76px;
  width: 643px;
  max-width: 90vw;
  position: relative;
}

.signed-modal__close {
  position: absolute;
  top: 27px;
  right: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #9baccb;
  padding: 0;
  line-height: 1;
}

/* Stepper */
.signed-modal__stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

.signed-modal__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.signed-modal__step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.signed-modal__step-icon--completed {
  background: #48c78e;
}

.signed-modal__step-icon--active {
  background: #ffffff;
  border: 3px solid #48c78e;
}

.signed-modal__step-icon--pending {
  background: #ffffff;
  border: 3px solid #c2cee3;
}

.signed-modal__step-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  width: 80px;
}

.signed-modal__step-label--active {
  color: #5b667a;
}

.signed-modal__step-label--pending {
  color: #aabad6;
}

.signed-modal__connector {
  width: 78px;
  height: 3px;
  margin-top: 22px;
  margin-left: -16px;
  margin-right: -16px;
  flex-shrink: 0;
}

.signed-modal__connector--completed {
  background: #48c78e;
}

.signed-modal__connector--pending {
  background: #c2cee3;
}

/* Content */
.signed-modal__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #373d54;
  text-align: center;
  line-height: 1.4;
  margin: 0 0 16px 0;
}

.signed-modal__body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #5b667a;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

.signed-modal__body p {
  margin: 0 0 8px 0;
}

.signed-modal__body p:last-child {
  margin-bottom: 0;
}

.signed-modal__body strong {
  font-weight: 700;
  color: #5b667a;
}

.signed-modal__portal-btn {
  display: block;
  width: 100%;
  margin-top: 32px;
  padding: 16px;
  background: #48c78e;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .signed-modal {
    padding: 48px 24px 32px;
    border-radius: 16px;
    max-width: 95vw;
  }

  .signed-modal__close {
    top: 16px;
    right: 20px;
  }

  .signed-modal__stepper {
    margin-bottom: 24px;
  }

  .signed-modal__step-icon {
    width: 40px;
    height: 40px;
  }

  .signed-modal__connector {
    width: 40px;
    margin-left: -8px;
    margin-right: -8px;
    margin-top: 18px;
  }

  .signed-modal__step-label {
    font-size: 11px;
    width: 64px;
  }

  .signed-modal__title {
    font-size: 16px;
  }

  .signed-modal__body {
    font-size: 13px;
  }
}
.commission-agreements-error {
  margin: 0;
  padding: 0 0 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  color: #D00;
  text-align: justify;
}

.user-type-message {
  background-color: #FFF;
  text-align: left;
}

.user-type-message p {
  font-size: 14px;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.user-type-message .bold-text {
  font-weight: 700;
}

/* Estilos para el indicador de paso */
.step-indicator {
  text-align: left;
  margin: 1rem 0 0 0;
  background-color: #FFF;
  border-radius: 8px;
}

.step-text {
  color: #00D090;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}

/* Estilos para la barra de progreso */
.progress-container {
  position: relative;
  margin: 12px 0;
  padding: 0;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background-color: #e9ecef;
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #00D090;
  transition: width 0.3s ease;
  border-radius: 6px;
}

/* Estilos para el contenido del paso */
.step-content {
  min-height: 200px;
  padding-top: 2rem;
}

/* Estilos para los botones de navegación */
.navigation-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding-bottom: 48px;
}

/* Estilos para los componentes Button de la librería */
.navigation-buttons button {
  width: 210px !important;
}

/* Estilo específico para el botón "Regresar" */
.navigation-buttons button#button__previous-button {
  color: #00D090 !important;
  box-shadow: #00D090 0px 0px 0px 1px inset;
}

/* Responsive design */
@media (max-width: 1043px) {
  .navigation-buttons {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .navigation-buttons button {
    width: 100% !important;
    max-width: none !important;
  }
}.congrats-page {
  min-height: 100vh;
  background: #373d54;
  position: relative;
  overflow: hidden;
}

/* Sección de logos */
.congrats-logos-section {
  padding: 40px 0 20px 0;
  display: flex;
  justify-content: flex-start;
}

.congrats-logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding-left: 80px;
}

.congrats-main-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* Contenido principal */
.congrats-main-content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0 0 40px 80px;
  max-width: clamp(1200px, calc(1450px + (1800 - 1450) * ((100vw - 1366px) / (1920 - 1366))), 1800px);
  min-height: calc(100vh - 120px);
  background-color: #373d54;
}

/* Contenido de texto */
.congrats-text-content {
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  width: clamp(900px, calc(1100px + (1400 - 1100) * ((100vw - 1366px) / (1920 - 1366))), 1400px);
}

.congrats-congratulations-title {
  color: #10b981;
  font-size: clamp(32px, calc(48px + (72 - 48) * ((100vw - 1366px) / (1920 - 1366))), 72px);
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.congrats-success-title {
  color: white;
  font-size: clamp(24px, calc(36px + (54 - 36) * ((100vw - 1366px) / (1920 - 1366))), 54px);
  font-weight: bold;
  margin: 0 0 30px 0;
  line-height: 1.2;
}

.congrats-description-text {
  color: white;
  font-size: clamp(14px, calc(18px + (24 - 18) * ((100vw - 1366px) / (1920 - 1366))), 24px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.congrats-description-text p {
  margin: 0 0 20px 0;
  color: white;
  font-size: clamp(14px, calc(18px + (24 - 18) * ((100vw - 1366px) / (1920 - 1366))), 24px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  white-space: pre-line;
}

.congrats-email-highlight {
  color: #60a5fa;
  font-weight: 600;
}

/* Sección de imágenes */
.congrats-images-section {
  flex: 1;
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.congrats-single-image-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.congrats-main-image {
  width: 520px;
  height: 520px;
  border-radius: 20px;
}

/* Responsive design */
@media (max-width: 1200px) {
  .congrats-main-content {
    padding: 0px 40px 40px 40px;
  }
}

@media (max-width: 768px) {
  .congrats-main-content {
    flex-direction: column;
    padding: 0px 20px 20px 20px;
    text-align: center;
  }

  .congrats-text-content {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .congrats-congratulations-title {
    font-size: 32px;
  }

  .congrats-success-title {
    font-size: 24px;
  }

  .congrats-description-text {
    font-size: 14px;
  }

  .congrats-description-text p {
    font-size: 14px;
  }

  .congrats-images-section {
    height: 300px;
  }

  .congrats-single-image-container {
    justify-content: center;
    align-items: center;
  }
}
.signature-rejected-page {
  min-height: 100vh;
  background: #373d54;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Sección de logos */
.signature-rejected-page-header {
  padding: 40px 80px;
  display: flex;
  justify-content: flex-start;
}

.signature-rejected-page-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* Contenedor principal centrado */
.signature-rejected-page-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Ícono de documento rechazado */
.signature-rejected-page-icon {
  width: 156px;
  height: 148px;
  margin-bottom: 20px;
}

/* Título principal */
.signature-rejected-page-title {
  text-align: center;
  color: #0BD;
  text-align: center;
  font-family: Montserrat;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  margin: 0 0 20px 0;
}

/* Texto descriptivo */
.signature-rejected-page-description {
  color: #fff;
  text-align: center;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0 0 20px 0;
}

.signature-rejected-page-description strong {
  font-weight: 700;
}

/* Texto de contacto */
.signature-rejected-page-contact {
  color: #fff;
  text-align: center;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

/* Link de email */
.signature-rejected-page-email {
  text-align: center;
  color: #0bd;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  transition: color 0.2s ease;
}

.signature-rejected-page-email:hover {
  color: #09a;
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
  .signature-rejected-page-header {
    padding: 30px 40px;
  }

  .signature-rejected-page-container {
    padding: 20px 40px;
    max-width: 100%;
  }

  .signature-rejected-page-icon {
    width: 104px;
    height: 96px;
    margin-bottom: 14px;
  }

  .signature-rejected-page-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .signature-rejected-page-description,
  .signature-rejected-page-contact,
  .signature-rejected-page-email {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .signature-rejected-page-header {
    padding: 20px 20px;
  }

  .signature-rejected-page-container {
    padding: 20px;
  }

  .signature-rejected-page-logo {
    height: 40px;
  }

  .signature-rejected-page-icon {
    width: 64px;
    height: 60px;
    margin-bottom: 4px;
  }

  .signature-rejected-page-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .signature-rejected-page-description,
  .signature-rejected-page-contact,
  .signature-rejected-page-email {
    font-size: 14px;
  }
}
.expiration-page {
  min-height: 100vh;
  background: #373d54;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Sección de logos */
.expiration-logos-section {
  padding: 40px 0 20px 0;
  display: flex;
  justify-content: flex-start;
}

.expiration-logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding-left: 80px;
}

.expiration-main-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* Contenido principal centrado */
.expiration-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px 120px;
  text-align: center;
}

/* Ícono de expiración */
.expiration-icon-container {
  margin-bottom: 24px;
}

.expiration-icon {
  width: 160px;
  height: 160px;
  object-fit: contain;
}

/* Título */
.expiration-title {
  color: #0BD;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  margin: 0 0 16px 0;
  text-align: center;
}

/* Descripción */
.expiration-description {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  margin: 0 0 4px 0;
  max-width: 500px;
  text-align: center;
}

.expiration-bold {
  font-weight: 700;
}

/* Despedida con decoración */
.expiration-farewell {
  position: relative;
  padding: 16px 0;
}

.expiration-farewell-text {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  position: relative;
  display: inline-block;
}

/* Responsive design */
@media (max-width: 768px) {
  .expiration-logo-container {
    padding-left: 20px;
  }

  .expiration-main-logo {
    height: 50px;
  }

  .expiration-icon {
    width: 120px;
    height: 120px;
  }

  .expiration-title {
    font-size: 24px;
    line-height: 32px;
  }

  .expiration-description {
    font-size: 16px;
  }

  .expiration-farewell-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .expiration-logo-container {
    padding-left: 16px;
  }

  .expiration-main-logo {
    height: 40px;
  }

  .expiration-icon {
    width: 100px;
    height: 100px;
  }

  .expiration-title {
    font-size: 20px;
    line-height: 28px;
  }

  .expiration-description {
    font-size: 14px;
  }

  .expiration-farewell-text {
    font-size: 14px;
  }
}

.not-found-page {
  min-height: 100vh;
  background: #373d54;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Sección de logos */
.not-found-logos-section {
  padding: 40px 0 20px 0;
  display: flex;
  justify-content: flex-start;
}

.not-found-logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding-left: 80px;
}

.not-found-main-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* Contenido principal */
.not-found-main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0 40px 80px 40px;
  text-align: center;
}

/* Icono */
.not-found-icons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.not-found-icon {
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
}

/* Título 404 */
.not-found-error-code {
  color: #00BBDD;
  font-size: clamp(48px, calc(60px + (72 - 60) * ((100vw - 1366px) / (1920 - 1366))), 72px);
  font-weight: bold;
  font-style: italic;
  margin: 0 0 20px 0;
  line-height: 1;
}

/* Título principal */
.not-found-title {
  color: white;
  font-size: clamp(24px, calc(32px + (32 - 28) * ((100vw - 1366px) / (1920 - 1366))), 32px);
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

/* Descripción */
.not-found-description {
  color: white;
  font-size: clamp(14px, calc(16px + (18 - 16) * ((100vw - 1366px) / (1920 - 1366))), 18px);
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  max-width: 600px;
}

/* Responsive design */
@media (max-width: 1200px) {
  .not-found-logo-container {
    padding-left: 40px;
  }
}

@media (max-width: 768px) {
  .not-found-logo-container {
    padding-left: 20px;
  }

  .not-found-icon {
    max-width: 150px;
    max-height: 150px;
  }

  .not-found-error-code {
    font-size: 48px;
  }

  .not-found-title {
    font-size: 24px;
  }

  .not-found-description {
    font-size: 14px;
    padding: 0 20px;
  }
}

.invitation-page {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  width: 100%;
}

@media (max-width: 640px) {
  .invitation-main-content {
    padding: 0 16px 40px 16px;
  }

  .invitation-title {
    font-size: 18px;
  }
}

.invitation-logos-section {
  padding: 30px 0 20px 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.invitation-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.invitation-main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 598px;
  padding: 0 20px 60px 20px;
}

.invitation-title {
  color: #373d54;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  margin: 0 0 8px 0;
}

.invitation-title strong {
  font-weight: 800;
}

.invitation-subtitle {
  color: #373d54;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 24px 0;
}

.invitation-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.invitation-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.invitation-label {
  color: #5b667a;
  font-size: 14px;
  font-weight: 600;
}

.invitation-label-required {
  color: #f61f1f;
}

.invitation-input {
  height: 48px;
  border: 1px solid #c2cee3;
  border-radius: 10px;
  box-shadow: 0px 2px 20px 0px rgba(194, 206, 227, 0.1);
  padding: 0 20px;
  font-size: 14px;
  font-family: inherit;
  color: #373d54;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.invitation-input::placeholder {
  color: #9baccb;
}

.invitation-input:focus {
  border-color: #9baccb;
}

.invitation-button-container {
  width: 100%;
  margin-top: 4px;
}

.invitation-button-container.disabled {
  pointer-events: none;
}

.invitation-button-container.disabled button {
  background-color: #aabad6 !important;
  border-color: #aabad6 !important;
}
.info-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.info-modal {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  width: 100%;
  max-height: 120vh;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
  padding-bottom: 48px;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.info-modal-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 16px 20px 0;
}

.info-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.info-modal-close img {
  width: 32px;
  height: 32px;
}

.info-modal-close:hover {
  background-color: #f5f5f5;
}

.info-modal-content {
  padding: 24px 64px 40px 64px;
  text-align: left;
}

.info-modal-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.info-modal-icon img {
  width: 48px;
  height: 48px;
  filter: brightness(0.7);
}

.info-modal-text {
  margin-bottom: 20px;
}

.info-modal-text h1 {
  color: #00d090;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.info-modal-text p {
  margin: 0;
  line-height: 1.5;
  color: #6c757d;
  font-size: 14px;
}

.info-modal-text ol {
  margin: 0;
  padding-left: 20px;
  line-height: 1.5;
  color: #6c757d;
  font-size: 14px;
}

.info-modal-text li {
  margin: 0;
  line-height: 1.5;
  color: #6c757d;
  font-size: 14px;
}

.info-modal-footer {
  padding: 0 20px 20px;
  display: flex;
  justify-content: center;
}

.info-modal-button-wrapper {
  width: 204px;
}

.info-modal-button-wrapper button {
  box-shadow: 0 0 0 1px #00d090 !important;
  color: #00d090 !important;
}

.info-modal-button-wrapper button:hover {
  background-color: #00d090 !important;
  color: white !important;
}

.info-modal-close-btn {
  background: white;
  border: 1px solid #28a745;
  color: #28a745;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;

  transition: all 0.2s ease;
}

.info-modal-close-btn:hover {
  background-color: #28a745;
  color: white;
}

/* Responsive design */
@media (max-width: 768px) {
  .info-modal-backdrop {
    padding: 16px;
  }

  .info-modal {
    max-width: 100%;
    max-height: 90vh;
  }

  .info-modal-header {
    padding: 12px 16px 0;
  }

  .info-modal-content {
    padding: 0 16px 16px;
  }

  .info-modal-footer {
    padding: 0 16px 16px;
  }
}
/* Este archivo está vacío porque los estilos de #root están definidos en index.css */
