/* ==================================================================
   Shadow SMS Hub - Auth Theme (Clean)
   Minimal centered-card design. No clutter.
   ================================================================== */

:root {
  --hub-orange: #fe9043;
  --hub-orange-700: #e2671a;
  --hub-orange-100: #fff1e6;
  --hub-teal: #089fac;
  --hub-teal-100: #e2f6f7;
  --hub-navy: #0b1c2e;
  --hub-ink: #1a2230;
  --hub-muted: #6b7485;
  --hub-bg: #f6f4ef;
  --hub-card: #ffffff;
  --hub-line: #e7e1d6;
  --hub-field-bg: #fbfaf7;
  --hub-grad: linear-gradient(135deg, #fe9043 0%, #ff7a2f 55%, #f2651a 100%);
  --hub-radius-lg: 22px;
  --hub-radius-md: 12px;
  --hub-shadow: 0 30px 70px -30px rgba(14, 20, 30, .28);
  --hub-font: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--hub-font);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: var(--hub-bg);
  color: var(--hub-ink);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { font-family: inherit; }

/* ------------------------------------------------------------------
   Soft background glows (subtle, not busy)
   ------------------------------------------------------------------ */
.hub-body {
  position: relative;
}
.hub-body::before,
.hub-body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(100px);
}
.hub-body::before {
  width: 520px;
  height: 520px;
  background: rgba(254, 144, 67, .16);
  top: -180px;
  left: -140px;
}
.hub-body::after {
  width: 620px;
  height: 620px;
  background: rgba(8, 159, 172, .13);
  bottom: -240px;
  right: -200px;
}

/* ------------------------------------------------------------------
   Shell - centres the card
   ------------------------------------------------------------------ */
.hub-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* ------------------------------------------------------------------
   Card
   ------------------------------------------------------------------ */
.hub-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius-lg);
  box-shadow: var(--hub-shadow);
  padding: 46px 44px 38px;
}

/* back home */
.hub-back {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hub-muted);
  padding: 8px 12px;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.hub-back:hover {
  color: var(--hub-orange-700);
  background: var(--hub-orange-100);
}

/* ------------------------------------------------------------------
   Brand row
   ------------------------------------------------------------------ */
.hub-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  margin-bottom: 30px;
  text-align: center;
}
.hub-logo {
  width: 60px;
  height: 60px;
  border-radius: 17px;
  background: #fff;
  border: 1px solid var(--hub-line);
  box-shadow: 0 14px 30px -14px rgba(14, 20, 30, .3);
  display: grid;
  place-items: center;
  padding: 10px;
}
.hub-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hub-wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--hub-navy);
}
.hub-wordmark span { color: var(--hub-orange); }
.hub-wordmark small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hub-muted);
  margin-top: 3px;
}

/* ------------------------------------------------------------------
   Heading
   ------------------------------------------------------------------ */
.hub-head {
  text-align: center;
  margin-bottom: 28px;
}
.hub-head h1 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--hub-ink);
}
.hub-head p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--hub-muted);
}

/* ------------------------------------------------------------------
   Fields
   ------------------------------------------------------------------ */
.hub-field {
  margin-bottom: 16px;
}
.hub-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #3a4657;
  margin-bottom: 7px;
}
.hub-field label .req { color: var(--hub-orange); }

.hub-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hub-input { position: relative; }
.hub-input .fi {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a8a49b;
  font-size: 14px;
  pointer-events: none;
  transition: color .2s ease;
}
.hub-input:focus-within > .fi { color: var(--hub-orange); }

.hub-control {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 42px;
  font-size: 14px;
  font-family: inherit;
  color: var(--hub-ink);
  background: var(--hub-field-bg);
  border: 1.5px solid #e6e1d6;
  border-radius: var(--hub-radius-md);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.hub-control:focus {
  outline: none;
  background: #fff;
  border-color: var(--hub-orange);
  box-shadow: 0 0 0 4px rgba(254, 144, 67, .13);
}
.hub-control::placeholder { color: #b9b4aa; }

/* no icon variant */
.hub-control--plain { padding: 0 14px; }

/* password eye toggle */
.hub-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  border-radius: 9px;
  color: #9aa1ab;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: color .2s ease, background .2s ease;
}
.hub-eye:hover { color: var(--hub-orange-700); background: var(--hub-orange-100); }

/* 2-col */
.hub-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 460px) {
  .hub-grid2 { grid-template-columns: 1fr; gap: 0; }
}

/* links */
.hub-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hub-orange-700);
  transition: color .2s ease;
}
.hub-link:hover { color: var(--hub-teal); }

/* hint */
.hub-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: #a09a90;
  margin-top: 2px;
}
.hub-hint i { color: var(--hub-teal); font-size: 11px; }

/* ------------------------------------------------------------------
   Submit button
   ------------------------------------------------------------------ */
.hub-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  margin-top: 4px;
  border: none;
  border-radius: var(--hub-radius-md);
  background: var(--hub-grad);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 14px 28px -10px rgba(242, 101, 26, .6);
  transition: transform .2s ease, box-shadow .25s ease, filter .2s ease;
}
.hub-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow: 0 18px 36px -12px rgba(242, 101, 26, .7);
}
.hub-btn:active { transform: translateY(0); }
.hub-btn svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------------
   Divider + social
   ------------------------------------------------------------------ */
.hub-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 16px;
  color: #a9a49b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hub-divider::before,
.hub-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hub-line);
}

.hub-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hub-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: 11px;
  border: 1.5px solid #e6e1d6;
  background: var(--hub-field-bg);
  font-size: 13px;
  font-weight: 700;
  color: var(--hub-ink);
  transition: all .2s ease;
}
.hub-social a:hover {
  border-color: rgba(8, 159, 172, .5);
  background: var(--hub-teal-100);
  color: var(--hub-teal);
  transform: translateY(-1px);
}
.hub-social a:first-child:hover {
  border-color: rgba(254, 144, 67, .5);
  background: var(--hub-orange-100);
  color: var(--hub-orange-700);
}

/* ------------------------------------------------------------------
   Footer line
   ------------------------------------------------------------------ */
.hub-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--hub-muted);
}
.hub-foot a {
  font-weight: 700;
  color: var(--hub-orange-700);
}
.hub-foot a:hover { color: var(--hub-teal); }

/* ------------------------------------------------------------------
   Inline alert strip (optional use)
   ------------------------------------------------------------------ */
.hub-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: var(--hub-radius-md);
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid;
}
.hub-alert--ok { background: #ecf9f2; border-color: #c3ecd6; color: #117a4a; }
.hub-alert--err { background: #fdefee; border-color: #f5c9c6; color: #b3261e; }

/* ------------------------------------------------------------------
   Small screens
   ------------------------------------------------------------------ */
@media (max-width: 500px) {
  .hub-card {
    padding: 40px 24px 30px;
    border-radius: 18px;
  }
  .hub-shell { padding: 24px 14px; }
  .hub-head h1 { font-size: 22px; }
  .hub-social { grid-template-columns: 1fr; }
}