/* ═══════════════════════════════════════════════════════
   BRIDGE — Registration Form (Faz K)
   Dark theme, standalone CSS — no base.html dependency
   ═══════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0c1c34;
  color: #1a2332;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── BACKGROUND ─── */
.reg-bg-wrap {
  position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
}
.reg-bg-ring {
  position: absolute; border-radius: 50%;
}
.reg-r1 { width: 600px; height: 600px; top: -180px; right: -120px; border: 1px solid rgba(0,212,188,.06); }
.reg-r2 { width: 400px; height: 400px; top: 60px; right: 80px; border: 1px solid rgba(0,212,188,.04); }
.reg-r3 { width: 500px; height: 500px; bottom: -200px; left: -100px; border: 1px solid rgba(255,255,255,.03); }
.reg-r4 { width: 200px; height: 200px; top: 40%; left: 10%; border: 1px solid rgba(0,212,188,.05); }
.reg-r5 { width: 300px; height: 300px; bottom: 10%; right: 20%; border: 1px solid rgba(255,255,255,.025); }

.reg-bg-grad {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 0%, rgba(0,212,188,.06) 0%, transparent 60%);
}

/* ─── TOP NAV ─── */
.reg-topnav {
  position: relative; z-index: 10;
  padding: 28px 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.reg-logo { display: flex; flex-direction: column; }
.reg-logo-word { font-size: 18px; font-weight: 900; letter-spacing: 3.5px; color: #fff; line-height: 1; }
.reg-logo-word em { color: #00d4bc; font-style: normal; }
.reg-logo-sub { font-size: 8px; font-weight: 600; letter-spacing: 3px; color: rgba(255,255,255,.38); text-transform: uppercase; margin-top: 5px; }
.reg-nav-link {
  font-size: 12px; color: rgba(255,255,255,.5); text-decoration: none;
  transition: color .2s;
}
.reg-nav-link:hover { color: #00d4bc; }

/* ─── MAIN ─── */
.reg-main {
  position: relative; z-index: 10;
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 0 24px 60px;
}

/* ─── HERO TEXT ─── */
.reg-hero {
  text-align: center; margin-bottom: 36px; max-width: 520px;
}
.reg-hero-badge {
  display: inline-block;
  background: rgba(0,212,188,.12); border: 1px solid rgba(0,212,188,.28);
  color: #00d4bc; padding: 5px 18px; border-radius: 30px;
  font-size: 9px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.reg-hero h1 {
  font-size: 32px; font-weight: 900; color: #fff; line-height: 1.15;
  letter-spacing: -0.5px; margin-bottom: 14px;
}
.reg-hero h1 em { color: #00d4bc; font-style: normal; }
.reg-hero p {
  font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; font-weight: 400;
}

/* ─── FLASH MESSAGES ─── */
.reg-flash {
  padding: 12px 20px; border-radius: 10px; margin-bottom: 10px;
  font-size: 0.85rem; font-weight: 500;
}
.reg-flash-warning { background: rgba(255,243,205,.95); color: #856404; border: 1px solid #ffc107; }
.reg-flash-error { background: rgba(248,215,218,.95); color: #721c24; border: 1px solid #f5c6cb; }
.reg-flash-success { background: rgba(212,237,218,.95); color: #155724; border: 1px solid #c3e6cb; }
.reg-flash-info { background: rgba(209,236,241,.95); color: #0c5460; border: 1px solid #bee5eb; }

/* ─── RESEND BUTTON ─── */
.reg-resend-btn {
  display: inline-block;
  padding: 10px 24px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.reg-resend-btn:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* ─── FORM CARD ─── */
.reg-form-card {
  width: 100%; max-width: 480px;
  background: #fff;
  border-radius: 24px;
  padding: 40px 40px 36px;
  box-shadow: 0 20px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
}
.reg-form-card::before {
  content: '';
  position: absolute; top: 0; left: 40px; right: 40px;
  height: 3px;
  background: linear-gradient(90deg, #00d4bc, #00a88f);
  border-radius: 0 0 3px 3px;
}
.reg-form-title {
  font-size: 20px; font-weight: 800; color: #1a2332;
  margin-bottom: 6px;
}
.reg-form-desc {
  font-size: 13px; color: #7a8a9e; line-height: 1.6;
  margin-bottom: 28px;
}

/* ─── FORM FIELDS ─── */
.reg-field { margin-bottom: 20px; }
.reg-field:last-of-type { margin-bottom: 24px; }

.reg-field-label {
  display: block;
  font-size: 12px; font-weight: 700; color: #1a2332;
  margin-bottom: 8px; letter-spacing: .2px;
}
.reg-req { color: #00d4bc; margin-left: 2px; }

.reg-field-input, .reg-field-select {
  width: 100%; padding: 13px 16px;
  font-family: inherit; font-size: 14px; color: #1a2332;
  background: #f5f7fa;
  border: 1.5px solid #e6eaf2;
  border-radius: 12px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.reg-field-input::placeholder { color: #b0b8c8; }
.reg-field-input:focus, .reg-field-select:focus {
  border-color: #00d4bc;
  box-shadow: 0 0 0 3px rgba(0,212,188,.12);
  background: #fff;
}

.reg-field-select {
  cursor: pointer;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239faab8' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

/* Two-column row */
.reg-field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}

/* ─── KVKK CHECKBOX ─── */
.reg-kvkk {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 28px;
  padding: 14px 16px;
  background: #f8f9fc;
  border-radius: 12px;
  border: 1px solid #eef1f7;
}
.reg-kvkk-check {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  accent-color: #00d4bc;
  cursor: pointer;
}
.reg-kvkk-text {
  font-size: 12px; color: #6b7a8d; line-height: 1.55;
}
.reg-kvkk-text a {
  color: #00a88f; text-decoration: underline;
  text-underline-offset: 2px;
}
.reg-kvkk-text a:hover { color: #00d4bc; }

/* ─── SUBMIT BUTTON ─── */
.reg-submit-btn {
  width: 100%; padding: 16px;
  font-family: inherit; font-size: 15px; font-weight: 700;
  color: #fff; letter-spacing: .3px;
  background: linear-gradient(135deg, #00a88f 0%, #00d4bc 100%);
  border: none; border-radius: 14px;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,168,143,.3);
}
.reg-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0,168,143,.4);
}
.reg-submit-btn:active { transform: translateY(0); }

/* ─── BACK LINK ─── */
.reg-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px;
  font-size: 13px; color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .2s;
}
.reg-back-link:hover { color: #00d4bc; }
.reg-back-link svg { width: 14px; height: 14px; }

/* ─── FOOTER ─── */
.reg-footer {
  position: relative; z-index: 10;
  text-align: center; padding: 24px;
}
.reg-footer-text {
  font-size: 10px; color: rgba(255,255,255,.22); letter-spacing: .5px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 560px) {
  .reg-topnav { padding: 20px 24px; }
  .reg-hero h1 { font-size: 26px; }
  .reg-form-card { padding: 28px 24px; border-radius: 20px; }
  .reg-field-row { grid-template-columns: 1fr; }
}
