/* ========================================================
   ENFAL BAŞARAN STUDIO — İŞ BİRLİĞİ & BAŞVURU PORTALI (2026)
   Tasarım Konsepti: Obsidian Glassmorphism, Neon Glow, 2 Aşamalı Portal
   ======================================================== */

:root {
  /* Renk Paleti */
  --bg-main: #070a13;
  --bg-surface: #0e1526;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(22, 34, 61, 0.85);
  --bg-input: rgba(10, 16, 31, 0.75);
  
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-hover: rgba(168, 85, 247, 0.45);
  --border-focus: #8b5cf6;

  /* Vurgu & Aksan Renkleri */
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --primary-dark: #6d28d9;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-pink: #ec4899;
  --accent-amber: #f59e0b;
  --danger: #ef4444;

  /* Tipografi Renkleri */
  --text-main: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Font Ailesi */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Köşe Yuvarlama */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Gölgeler & Işıma */
  --glow-primary: 0 0 30px rgba(139, 92, 246, 0.35);
  --glow-emerald: 0 0 30px rgba(16, 185, 129, 0.3);
  --shadow-card: 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--border-subtle);
}

/* Sıfırlama */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  padding: 2.5rem 1rem 3rem;
  display: flex;
  justify-content: center;
}

/* Arka Plan Ambient Glow Işıkları */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  will-change: transform, opacity;
}

.glow-top {
  top: -15%;
  left: 20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45) 0%, rgba(236, 72, 153, 0.15) 70%, transparent 100%);
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.glow-bottom {
  bottom: -20%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(139, 92, 246, 0.2) 70%, transparent 100%);
  animation: floatOrb 18s ease-in-out infinite alternate-reverse;
}

.glow-middle {
  top: 40%;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -35px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Sayfa Kapsayıcısı */
.page-container {
  width: 100%;
  max-width: 880px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Header Kartı */
.header-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem 2.25rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #38bdf8, #10b981);
}

.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.brand-logo {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.3);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.06) rotate(2deg);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--primary-light);
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.main-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 70%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--text-soft);
  font-size: 1.02rem;
  max-width: 660px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

/* ========================================================
   DUYURU & TANITIM AFİŞİ (HERO SHOWCASE) STILLERI
   ======================================================== */
.hero-callout-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(236, 72, 153, 0.4);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #f472b6;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.2);
}

.pulse-icon {
  display: inline-block;
  animation: pulseIcon 1.5s infinite;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.gradient-text {
  background: linear-gradient(135deg, #c084fc 0%, #38bdf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 740px;
}

/* Projeler Vitrin Izgarası */
.projects-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
  text-align: left;
}

.project-showcase-card {
  background: rgba(14, 21, 38, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.project-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sp-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.15);
  transform: translateY(-3px);
}
.sp-card:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

.pc-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 12px 35px rgba(56, 189, 248, 0.15);
  transform: translateY(-3px);
}
.pc-card:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.project-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-logo-frame {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #080c16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.project-card-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.project-card-titles {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.project-pill-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-block;
  letter-spacing: 0.3px;
  width: fit-content;
}

.pill-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pill-cyan {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.project-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.project-card-desc {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.project-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  background: rgba(8, 12, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

/* Vizyon Rozetleri */
.vision-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
  text-align: left;
}

.vision-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(8, 12, 22, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.vision-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.vision-content h4 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.vision-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Hero Eylem Butonları */
.hero-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.25rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 25px rgba(124, 58, 237, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.65);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 21, 38, 0.8);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--primary-light);
  background: rgba(22, 33, 62, 0.9);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Afiş Önizleme Modalı */
.poster-modal-card {
  max-width: 520px;
  text-align: center;
}

.poster-preview-wrapper {
  background: #080c16;
  border-radius: 14px;
  padding: 8px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.25);
  display: flex;
  justify-content: center;
}

.poster-preview-img {
  max-width: 100%;
  max-height: 58vh;
  object-fit: contain;
  border-radius: 10px;
}

/* ========================================================
   PORTAL SEKME NAVİGASYONU
   ======================================================== */
.portal-nav {
  display: flex;
  gap: 0.75rem;
  background: rgba(8, 12, 22, 0.75);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  max-width: 560px;
  margin: 0 auto;
}

.nav-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-tab:hover {
  color: var(--text-main);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
}

/* Sekme Panelleri */
.tab-pane {
  display: none;
  animation: fadeInPane 0.3s ease forwards;
}

.tab-pane.active {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bölüm Kartları */
.section-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-icon-badge {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(56, 189, 248, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--primary-light);
  flex-shrink: 0;
}

.cyan-badge {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(16, 185, 129, 0.15));
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--accent-cyan);
}

.accent-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(236, 72, 153, 0.15));
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--accent-amber);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.section-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Callout Kutusu */
.info-callout {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-left: 4px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.callout-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.callout-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.callout-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.callout-text strong {
  color: #ffffff;
  display: block;
  margin-bottom: 0.15rem;
}

/* Form Izgarası */
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.required-star {
  color: var(--danger);
  font-weight: bold;
}

/* Input Kapsayıcı & Simgeler */
.input-wrapper,
.select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-dim);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-input {
  height: 48px;
  padding: 0 1rem 0 2.85rem;
}

.form-select {
  height: 48px;
  padding: 0 2.5rem 0 2.85rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.form-select option {
  background-color: var(--bg-surface);
  color: var(--text-main);
}

.select-chevron {
  position: absolute;
  right: 1rem;
  color: var(--text-dim);
  pointer-events: none;
}

.form-textarea {
  padding: 0.85rem 1rem;
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--border-focus);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.input-wrapper:focus-within .input-icon,
.select-wrapper:focus-within .input-icon {
  color: var(--primary-light);
}

/* Hata ve İpucu */
.field-error {
  display: none;
  color: #f87171;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.2rem;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* Butonlar */
.btn-primary {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #c026d3 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(124, 58, 237, 0.65), var(--glow-primary);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading .btn-spinner {
  display: block;
}

.loading .btn-text {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.submit-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.85rem;
}

/* ========================================================
   BAŞVURU SORGULAMA ÇUBUĞU (Tab 2)
   ======================================================== */
.track-search-bar {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.track-input-wrap {
  flex: 1;
}

.btn-track-search {
  height: 48px;
  padding: 0 1.5rem;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  border: none;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-track-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(2, 132, 199, 0.6);
}

/* ========================================================
   DİNAMİK DURUM KARTLARI
   ======================================================== */
.status-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeInPane 0.35s ease;
}

.status-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
}

.status-pill.pending {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-amber);
}

.status-pill.approved {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald);
}

.status-pill.signed {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--accent-cyan);
}

.status-pill.rejected {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.status-code-text {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.status-message-box {
  background: rgba(8, 12, 22, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.status-message-box strong {
  color: #ffffff;
}

/* Detay Özeti Tablosu */
.applicant-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: rgba(14, 21, 38, 0.6);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.summary-item {
  display: flex;
  flex-direction: column;
}

.summary-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.summary-value {
  color: var(--text-main);
  font-weight: 600;
  margin-top: 2px;
}

/* 2. Aşama NDA Onay Alanı */
.stage2-approval-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stage2-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Kaydırılabilir Sözleşme Kutusu */
.agreement-box {
  max-height: 340px;
  overflow-y: auto;
  background: rgba(8, 12, 22, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.agreement-box::-webkit-scrollbar {
  width: 6px;
}

.agreement-box::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.agreement-box h4 {
  color: #38bdf8;
  margin: 1.1rem 0 0.4rem;
  font-size: 0.94rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.agreement-box h4:first-of-type {
  margin-top: 0.2rem;
}

.agreement-box p {
  margin-bottom: 0.6rem;
}

.agreement-box strong {
  color: #ffffff;
}

.agreement-box ul {
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
}

.agreement-box li {
  margin-bottom: 0.45rem;
}

/* Checkbox */
.custom-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-soft);
  user-select: none;
}

.custom-checkbox-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.btn-approve-stage2 {
  height: 50px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.5);
  transition: all 0.25s ease;
}

.btn-approve-stage2:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -4px rgba(16, 185, 129, 0.65);
}

.btn-approve-stage2:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ========================================================
   1. AŞAMA BAŞARI MODALI
   ======================================================== */
.glass-modal {
  margin: auto;
  border: none;
  background: transparent;
  padding: 1rem;
  max-width: 540px;
  width: 90%;
  outline: none;
}

.glass-modal::backdrop {
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(16px);
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), var(--glow-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.circle-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
  border: 2px solid var(--accent-emerald);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-emerald);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-desc {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Takip Kodu Kutusu */
.code-display-box {
  width: 100%;
  background: rgba(8, 12, 22, 0.9);
  border: 1.5px dashed rgba(139, 92, 246, 0.5);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.code-display-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: var(--primary-light);
}

.code-badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.code-badge {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
  background: rgba(139, 92, 246, 0.15);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-copy-code {
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  background: rgba(255, 255, 255, 0.18);
}

.code-display-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.modal-next-steps {
  width: 100%;
  background: rgba(14, 21, 38, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.86rem;
  color: var(--text-soft);
  text-align: left;
  line-height: 1.5;
}

.modal-actions-dual {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-modal-secondary {
  width: 100%;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

/* Alert Kutuları */
.alert-box {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-box.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.alert-box.alert-warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
}

.alert-box.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

/* Footer */
.page-footer {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.bullet {
  color: var(--border-subtle);
}

/* Responsive */
@media (max-width: 640px) {
  body {
    padding: 1.25rem 0.75rem 2rem;
  }

  .header-card {
    padding: 2rem 1.25rem 1.75rem;
  }

  .main-title {
    font-size: 1.75rem;
  }

  .portal-nav {
    flex-direction: column;
    border-radius: var(--radius-lg);
  }

  .nav-tab {
    border-radius: var(--radius-md);
  }

  .section-card {
    padding: 1.5rem 1.2rem;
  }

  .fields-grid {
    grid-template-columns: 1fr;
  }

  .track-search-bar {
    flex-direction: column;
  }

  .btn-track-search {
    width: 100%;
  }

  .applicant-summary-grid {
    grid-template-columns: 1fr;
  }

  .status-badge-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
