/* تمِ صفحه‌ی «همیار شوید» — هم‌رنگ و هم‌فونتِ وب‌سایتِ اصلی maniyar.ir
   (آبی/فیروزه‌ای + Vazirmatn). مستقل از style.css اپ (که سبز/Tahoma است). */

@font-face {
  font-family: "Vazirmatn";
  src: url("/static/fonts/Vazirmatn-Variable.woff2") format("woff2-variations"),
       url("/static/fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue-1: #4FA8F5;
  --blue-2: #2E6FE8;
  --teal-1: #22D3B5;
  --teal-2: #0EA98C;
  --navy: #10254A;
  --ink: #1B2A44;
  --muted: #5C6B85;
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --border: #E7ECF4;
  --shadow: 0 10px 30px -12px rgba(16, 37, 74, .18);
  --shadow-lg: 0 24px 60px -20px rgba(16, 37, 74, .28);
  --radius: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(900px 480px at 100% -10%, rgba(79, 168, 245, .10), transparent 60%),
    radial-gradient(720px 460px at -10% 110%, rgba(34, 211, 181, .10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.75;
}

.phone-shell {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  background: linear-gradient(135deg, var(--blue-2) 0%, var(--teal-2) 100%);
  box-shadow: var(--shadow);
}
.brand {
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.01em;
}
.phone-content { padding: 22px 18px 40px; }

h5 { color: var(--navy); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.text-muted { color: var(--muted) !important; }

.icon-tile {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2) 55%, var(--teal-2));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(46, 111, 232, .55);
}

.card-soft {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
}

.form-label {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
}
.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(247, 249, 252, .7);
  color: var(--ink);
  padding: 10px 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue-1);
  box-shadow: 0 0 0 4px rgba(79, 168, 245, .18);
  background: #fff;
  outline: none;
}

.btn {
  border-radius: 999px;
  font-weight: 800;
  padding: 12px 20px;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-maniyar {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2) 55%, var(--teal-2));
  color: #fff;
  box-shadow: 0 16px 34px -12px rgba(46, 111, 232, .6);
}
.btn-maniyar:hover { transform: translateY(-2px); box-shadow: 0 22px 42px -12px rgba(46, 111, 232, .7); }
.btn-maniyar:active { transform: translateY(0); }

.alert-error {
  background: #FCEBEB;
  color: #A32D2D;
  border: 1px solid rgba(163, 45, 45, .16);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

hr { border: 0; border-top: 1px solid var(--border); opacity: 1; }

.captcha-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.captcha-q {
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
  background: linear-gradient(90deg, rgba(79, 168, 245, .14), rgba(34, 211, 181, .14));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  letter-spacing: .04em;
  direction: ltr;
  user-select: none;
}
.captcha-box input { max-width: 110px; text-align: center; }
