/* === Registro: layout centrado === */
.guest-container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 40px 24px;
  box-sizing: border-box;
}

.signup-page {
  display: block;
  min-height: calc(100vh - 120px);
  width: 100%;
}

.signup-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.signup-steps,
.signup-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.signup-shell * {
  max-width: 100%;
  box-sizing: border-box;
}

.step1-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.box {
  background: #f5f5f7;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}

.box h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.box .signup-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.box .signup-field .form-label {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.box .form-control,
.box .form-select,
.box select,
.box input,
.box textarea,
.box .searchable-select {
  width: 100%;
  margin-bottom: 12px;
}

@media (max-width: 992px) {
  .guest-container {
    padding: 24px 16px;
  }
  .signup-shell {
    padding: 0 16px;
  }
.step1-grid {
    grid-template-columns: 1fr;
  }
}

/* === Botón añadir línea de ingresos === */
.btn-add-line {
  display: inline-flex;
  align-items: center;
  gap: 0.38475rem;
  border-radius: 999px;
  background: var(--color-primary, #145374);
  color: var(--color-on-primary, #ffffff);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.64125rem;
  padding: 0.2394rem 0.684rem 0.2394rem 0.223rem;
  border: none;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-add-line:hover,
.btn-add-line:focus {
  color: var(--color-on-primary, #ffffff);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 83, 116, 0.2);
}

.btn-add-line:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(20, 83, 116, 0.25);
}

.btn-add-line .add-line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.23975rem;
  height: 1.23975rem;
  border-radius: 50%;
  background: var(--color-on-primary, #ffffff);
  color: var(--color-primary, #145374);
  font-weight: 700;
  font-size: 0.72675rem;
  line-height: 1;
  margin-left: 0.02rem;
}

/* === Bordes redondeados para tablas === */
.table-container-rounded {
  border-radius: 0.5rem;
  overflow: hidden;
}