/* Estilos locales del módulo registro_beneficios */

/* Pantalla pública registro_beneficios.php: fondo + header (misma línea que login) */
.rb-public-page {
  margin: 0;
  min-height: 100vh;
  background-image: url("../../../img/fondo.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.rb-public-page .page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Misma barra blanca que login (sin ocultar .header-pro) */
.rb-public-page .header.header-pro {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.rb-public-page .rb-public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rb-public-page .rb-public-header .btn-header-auto {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #111827;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.rb-public-page .rb-public-header .btn-header-auto:hover {
  opacity: 0.92;
  color: #fff;
}

.rb-public-main {
  flex: 1;
  padding: 20px 16px 40px;
  box-sizing: border-box;
}

.rb-public-inner {
  max-width: 640px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Tarjeta blanca del formulario (similar a login-pdv-card) */
.rb-public-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px 22px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.rb-public-form-card .ent-page-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}

@media (min-width: 480px) {
  .rb-public-form-card {
    padding: 32px 28px 36px;
  }
}

.rb-modulo-panel {
  max-width: 48rem;
  margin: 0 auto;
}

.rb-estado-bd {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.rb-estado-bd--ok {
  background: #e8f5e9;
  color: #1b5e20;
}

.rb-estado-bd--error {
  background: #ffebee;
  color: #b71c1c;
}

.rb-modulo-panel pre {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  font-size: 0.8rem;
}

.rb-nota-ayuda {
  color: var(--text-muted, #4b5563);
  font-size: 0.9rem;
}
