/* ==========================================================================
   ERA PAZARYERİ - MAĞAZA OLUŞTUR / KAYIT STİLLERİ (assets/css/register.css)
   ========================================================================== */

:root {
  --bg-main: #080c14;
  --bg-surface: #0f172a;
  --bg-card: #111a2e;
  --bg-input: #0a0f1d;
  --border-color: #1e293b;
  --border-focus: #3b82f6;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --accent-green: #10b981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

/* Üst Basit Navigasyon */
.reg-nav {
  height: 72px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}

.reg-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.reg-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reg-brand img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.reg-nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.btn-nav-login:hover {
  color: #fff;
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

/* Ana Sayfa Düzeni (Grid) */
.reg-wrapper {
  padding: 56px 0 80px;
}

.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

/* Sol Taraf: Değer Önerisi */
.reg-info-side {
  position: sticky;
  top: 104px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.heading-hero {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.subtext-hero {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
}

.why-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon.blue { background: rgba(37, 99, 235, 0.15); color: #60a5fa; }
.why-icon.green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.why-icon.purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }

.why-content h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.why-content p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Sağ Taraf: Form Kartı */
.reg-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.form-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 24px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.auth2-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.auth2-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
}

.auth2-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth2-input-wrap svg.lucide-input-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.auth2-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px 12px 42px;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.auth2-input:focus {
  border-color: var(--border-focus);
  background: #0d1527;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.auth2-select {
  appearance: none;
  cursor: pointer;
}

/* Dosya Yükleme Alanı */
.file-upload-box {
  background: var(--bg-input);
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.file-upload-box:hover {
  border-color: #3b82f6;
}

.file-upload-box input[type="file"] {
  display: none;
}

.file-upload-info {
  font-size: 12px;
  color: var(--text-muted);
}

.file-upload-info span {
  color: #60a5fa;
  font-weight: 600;
}

/* Şifre Kuralları Listesi */
.pass-rules-list {
  list-style: none;
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #0a0f1d;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.pass-rule-item {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.pass-rule-item.valid {
  color: #34d399;
}

/* Checkbox Alanları */
.checkbox-group {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  accent-color: var(--accent-blue);
  cursor: pointer;
}

.checkbox-label a {
  color: #60a5fa;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Buton */
.auth2-submit {
  width: 100%;
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px var(--accent-glow);
  transition: all 0.2s ease;
}

.auth2-submit:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
}

.auth2-alert {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth2-alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

/* Responsive */
@media (max-width: 960px) {
  .reg-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .reg-info-side {
    position: static;
  }
  .heading-hero {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .reg-card {
    padding: 24px 18px;
  }
  .pass-rules-list {
    grid-template-columns: 1fr;
  }
}

/* Paket Seçimi Kartları */
.package-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.package-card {
  position: relative;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.package-card:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.package-card.selected {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.package-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.package-desc {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Evrak Yükleme */
.file-dropzone {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-input);
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.file-dropzone:hover {
  border-color: #3b82f6;
}

.file-dropzone-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-dropzone-text {
  flex: 1;
}

.file-dropzone-text .title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.file-dropzone-text .subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

/* Modal ve Sözleşme Okuma Penceresi */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.legal-modal-overlay.active {
  display: flex;
}

.legal-modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.legal-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-modal-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.legal-modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 12px;
  line-height: 1.7;
  color: #cbd5e1;
  max-height: 50vh;
}

.legal-modal-body h4 {
  color: #fff;
  margin: 12px 0 4px;
  font-size: 13px;
}

.legal-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
}

.scroll-notice {
  font-size: 11px;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-accept-legal {
  background: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0.5;
  pointer-events: none;
  transition: all 0.2s;
}

.btn-accept-legal.enabled {
  opacity: 1;
  pointer-events: auto;
}

.btn-accept-legal.enabled:hover {
  background: var(--accent-blue-hover);
}

@media (max-width: 640px) {
  .package-select-grid {
    grid-template-columns: 1fr;
  }
}