/* HelpChain - Submit request (scoped) */
body.hc-page-submit-request .hc-wrap {
  max-width: 980px;
}

body.hc-page-submit-request .hc-sr-hero {
  padding: 28px 0 10px;
  text-align: center;
}

body.hc-page-submit-request .hc-sr-hero h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
}

body.hc-page-submit-request .hc-sr-hero p {
  margin: 10px auto 0;
  max-width: 760px;
  opacity: 0.9;
}

body.hc-page-submit-request .hc-sr-card {
  margin-top: 14px;
  padding: 18px;
}

@media (max-width: 576px) {
  body.hc-page-submit-request .hc-sr-card {
    padding: 14px;
  }
}

/* ===== Premium SaaS Shell ===== */
.hc-sr{
  min-height: calc(100vh - 72px);
  padding: 28px 14px 60px;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(59,130,246,.12), transparent 55%),
    radial-gradient(700px 360px at 80% 40%, rgba(16,185,129,.10), transparent 55%),
    linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,0));
}

.hc-sr__shell{
  max-width: 880px;
  margin: 0 auto;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  box-shadow:
    0 20px 60px rgba(2,6,23,.08),
    0 2px 10px rgba(2,6,23,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

/* Inner padding rhythm */
.hc-sr__shell > *{
  padding-left: 22px;
  padding-right: 22px;
}

@media (min-width: 992px){
  .hc-sr{ padding: 34px 16px 70px; }
  .hc-sr__shell > *{ padding-left: 28px; padding-right: 28px; }
}

/* ===== Typography ===== */
.hc-sr h1, .hc-sr .page-title{
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #0b1220;
}

.hc-sr .page-subtitle, .hc-sr .text-muted{
  color: rgba(11,18,32,.70);
}

/* ===== Inputs ===== */
.hc-sr input[type="text"],
.hc-sr input[type="email"],
.hc-sr input[type="tel"],
.hc-sr select,
.hc-sr textarea{
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 0 rgba(2,6,23,.02);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hc-sr textarea{ min-height: 120px; }

.hc-sr input:focus,
.hc-sr select:focus,
.hc-sr textarea:focus{
  outline: none;
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

/* Help text tighter */
.hc-sr .form-text{
  font-size: 12.5px;
  color: rgba(11,18,32,.60);
}

/* Section separators */
.hc-sr .hc-sr__divider{
  height: 1px;
  background: rgba(15,23,42,.08);
  margin: 18px 0;
}

/* ===== Sticky action bar ===== */
.hc-sr__actions{
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,.92);
  border-top: 1px solid rgba(15,23,42,.08);
  padding-top: 14px;
  padding-bottom: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hc-sr__actions .btn{
  border-radius: 14px;
}

/* Primary button premium */
.hc-sr__actions .btn-primary{
  box-shadow: 0 12px 26px rgba(37,99,235,.20);
}

/* Mobile: primary full width, cancel secondary */
@media (max-width: 575.98px){
  .hc-sr__actions{
    padding-left: 14px;
    padding-right: 14px;
  }
  .hc-sr__actions .btn{
    width: 100%;
  }
  .hc-sr__actions .btn + .btn{
    margin-top: 10px;
    margin-left: 0 !important;
  }
}

/* CSP-safe hidden honeypot */
.hc-sr__honeypot{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== Smart reassurance ===== */
.hc-sr__status{
  font-size: 13px;
  margin-top: 6px;
  min-height: 18px;
  transition: opacity .18s ease, transform .18s ease;
}

.hc-sr__status--ok{
  color: #059669;
  opacity: 1;
}

.hc-sr__status--hidden{
  opacity: 0;
  transform: translateY(-2px);
}

/* Contact reassurance states (Bootstrap alert-aware) */
#srContactWarn.alert.is-warn{
  border-color: rgba(59, 130, 246, .28);
  background: rgba(59, 130, 246, .08);
}

#srContactWarn.alert.is-ok{
  border-color: rgba(34, 197, 94, .28);
  background: rgba(34, 197, 94, .07);
  opacity: .92;
}

/* Optional: calmer icon/text in ok state */
#srContactWarn.alert.is-ok *{
  opacity: .92;
}

/* subtle hint under title */
.hc-sr-hint {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.75;
}

/* tiny "ok" chip style when not empty */
.hc-sr-hint:not(:empty) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
