/* Minimalista + 100% responsive, sin fondos pesados, coherente con Stonegal */
.nse-wa-page,
.nse-wa-page * { box-sizing: border-box; }

.nse-wa-page{
  font-family: "Noto Sans", system-ui, -apple-system, sans-serif;
  color: #1f2937;
  padding: 20px 14px;
  font-size: 16px;              /* ✅ base 16 */
  line-height: 1.5;
}

/* Layout */
.nse-wa-shell{
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
}

.nse-wa-header{
  text-align: center;
  padding: 8px 0 18px;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 18px;
}

/* ✅ Logo: móvil a todo ancho, desktop 350px */
.nse-wa-logo{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

@media (min-width: 768px){
  .nse-wa-logo{
    width: 350px;
    max-width: 350px;
  }
}

/* ✅ Quitar el “STONEGAL” debajo del logo (aunque siga en el HTML) */
.nse-wa-brand{ display: none !important; }

/* Tipos */
.nse-wa-subtitle{
  margin-top: 6px;
  color: #6c757d;
  font-size: 14px;
}

.nse-wa-body{ padding: 0; }

.nse-wa-intro{
  text-align: center;
  margin: 0 0 16px;
  padding: 0 6px;
}
.nse-wa-intro h2{
  margin: 0 0 6px;
  color: #190061;
  font-size: 24px;              /* ✅ un poco más grande */
  line-height: 1.25;
  font-weight: 700;
}
.nse-wa-intro p{
  margin: 0;
  color: #6c757d;
  line-height: 1.5;
  font-size: 16px;              /* ✅ cuerpo 16 */
}

/* Card */
.nse-wa-card{
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.nse-wa-field{ margin-bottom: 14px; }

.nse-wa-field label{
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6c757d;
  font-weight: 700;
}

.nse-wa-input,
.nse-wa-textarea{
  width: 100%;
  max-width: 100%;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  background: #fff;
}
.nse-wa-textarea{
  min-height: 120px;
  resize: vertical;
}

.nse-wa-input:focus,
.nse-wa-textarea:focus{
  border-color: #190061;
  box-shadow: 0 0 0 3px rgba(25,0,97,.08);
}

.nse-wa-help{
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #6c757d;
}

.nse-wa-errors{
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #b91c1c;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0 14px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.nse-wa-actions{ margin-top: 10px; }

.nse-wa-btn{
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  letter-spacing: .06em;
  font-weight: 800;
  cursor: pointer;
  background: #25D366;
  color: #fff;
}
.nse-wa-btn:disabled{
  opacity: .6;
  cursor: not-allowed;
}

/* Results */
.nse-wa-results{ margin-top: 18px; }
.nse-wa-results h3{
  margin: 0 0 10px;
  color: #190061;
  font-size: 16px;
  font-weight: 800;
}

.nse-wa-processing{
  padding: 14px 12px;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  color: #6c757d;
}

.nse-wa-progress{
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #e9ecef;
  border-radius: 12px;
}
.nse-wa-progress-top{
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 8px;
}
.nse-wa-progress-bar{
  height: 6px;
  background: #e9ecef;
  border-radius: 999px;
  overflow: hidden;
}
.nse-wa-progress-bar span{
  display: block;
  height: 100%;
  background: #25D366;
  width: 0%;
}

.nse-wa-result{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.nse-wa-result-left{
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  line-height: 1;
}

.nse-wa-ok .nse-wa-result-left{
  background: #dcfce7;
  color: #166534;
}
.nse-wa-bad .nse-wa-result-left{
  background: #fee2e2;
  color: #991b1b;
}

.nse-wa-result-title{
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 2px;
}
.nse-wa-result-msg{
  font-size: 13px;
  color: #6c757d;
}

.nse-wa-summary{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.nse-wa-summary-item{
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.nse-wa-summary-number{
  font-size: 22px;
  font-weight: 900;
  color: #190061;
  line-height: 1.1;
}
.nse-wa-summary-label{
  font-size: 12px;
  color: #6c757d;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nse-wa-note{
  margin-top: 14px;
  color: #6c757d;
  font-size: 14px;
  line-height: 1.5;
  padding: 0 6px;
}

/* Footer */
.nse-wa-footer{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e9ecef;
  color: #6c757d;
  text-align: center;
  font-size: 13px;
}
.nse-wa-footer a{
  color: #190061;
  text-decoration: none;
}
.nse-wa-footer a:hover{ text-decoration: underline; }

.nse-wa-footer-small{
  margin-top: 6px;
  font-size: 12px;
}

@media (max-width: 480px){
  .nse-wa-intro h2{ font-size: 20px; }
  .nse-wa-summary{ grid-template-columns: 1fr; }
}