/* ==========================================================================
   AI TOOLS, WIZARD, SIMULATOR & DETAIL PAGE STYLES
   ========================================================================== */

/* Wizard Konteyner */
.wizard-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 900px;
  margin: 30px auto;
}

.wizard-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.wizard-steps-indicator::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.wizard-step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #e2e8f0;
  transition: var(--transition);
}

.wizard-step-item.active .step-bubble {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(16, 64, 227, 0.25);
}

.wizard-step-item.completed .step-bubble {
  background: var(--success);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
}

.wizard-step-item.active .step-label {
  color: var(--primary);
  font-weight: 700;
}

/* Wizard Form Elemanları */
.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.form-label span.req {
  color: var(--accent-red);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 64, 227, 0.12);
}

.radio-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.radio-pill-item {
  position: relative;
}

.radio-pill-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background: #f8fafc;
  transition: var(--transition);
  text-align: center;
}

.radio-pill-item input:checked + .radio-pill-label {
  background: #eff6ff;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 2px rgba(16, 64, 227, 0.2);
}

.wizard-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.btn-secondary {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 64, 227, 0.25);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 64, 227, 0.35);
}

/* ==========================================================================
   AI MATCH RESULTS CARD (proje.md Madde 3)
   ========================================================================== */

.match-result-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
}

.match-score-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #eff6ff 0%, #dbeafe 100%);
  border: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(16, 64, 227, 0.15);
}

.match-score-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.match-score-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #475569;
}

.match-bars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.sub-score-bar {
  font-size: 0.8rem;
}

.sub-score-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  font-weight: 600;
  color: #475569;
}

.bar-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 10px;
}

.match-ai-reasoning {
  background: #f8fafc;
  border-left: 4px solid #10b981;
  padding: 12px 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.88rem;
  color: #334155;
  margin-top: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   CHATGPT TARZI AI FUAR DANIŞMANI (proje.md Madde 4 & 227)
   ========================================================================== */

.fuar-ai-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 650px;
  max-width: 1000px;
  margin: 30px auto;
}

.fuar-ai-header {
  background: #0f172a;
  color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fuar-ai-agent {
  display: flex;
  align-items: center;
  gap: 14px;
}

.agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}

.agent-status-indicator {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

.chat-messages-scroll {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.chat-bubble {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: #ffffff;
  color: var(--secondary);
  border: 1px solid var(--border-color);
  border-top-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--primary);
  color: #ffffff;
  border-top-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(16, 64, 227, 0.2);
}

.chat-input-area {
  padding: 18px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.chat-form-row {
  display: flex;
  gap: 12px;
}

.chat-input-field {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.chat-input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 64, 227, 0.12);
}

.btn-chat-send {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-chat-send:hover {
  background: var(--primary-dark);
}

/* ==========================================================================
   DEVLET DESTEĞİ HESAPLAMA SİMÜLATÖRÜ (5973 SAYILI KARAR)
   ========================================================================== */

.simulator-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 35px;
  box-shadow: var(--shadow-lg);
}

.calc-result-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
}

.calc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.calc-stat-val {
  font-weight: 700;
  color: #38bdf8;
}

.calc-total-highlight {
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-total-highlight .amount {
  font-size: 2rem;
  font-weight: 800;
  color: #10b981;
}

/* ==========================================================================
   FUAR DETAY SAYFASI SEKME & HAFIZA DÜZENİ
   ========================================================================== */

.fuar-hero-banner {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 50px 0 35px 0;
  position: relative;
}

.fuar-banner-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
}

.fuar-main-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.fuar-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.fuar-action-card {
  background: #ffffff;
  color: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
}

.fuar-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  margin: 30px 0;
  overflow-x: auto;
}

.fuar-tab-btn {
  padding: 12px 20px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--transition);
}

.fuar-tab-btn.active, .fuar-tab-btn:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Hafıza Tablosu */
.memory-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.memory-table th, .memory-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.memory-table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--secondary);
}

/* Tripadvisor Modeli Yorum Kartı */
.review-item-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.review-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-user-name {
  font-weight: 700;
  color: var(--secondary);
}

.verified-badge {
  color: #10b981;
  font-size: 0.8rem;
  font-weight: 700;
}
