/* Kongre Yönetim Sistemi — Online Kayıt Formu stilleri (KBUD 2026 V2 tasarımından uyarlanmıştır) */

:root {
  /* Ana site renkleri */
  --kbud-navy:    #1e3060;
  --kbud-blue:    #2d4fa1;
  --kbud-accent:  #3561c0;
  --kbud-dark:    #142040;
  --kbud-footer:  #152244;
  --kbud-btn:     #2d4fa1;

  /* Form renkleri */
  --brand-dark:   #0a0f1e;
  --brand-navy:   #0f1f3d;
  --brand-blue:   #1e3a8a;
  --brand-accent: #2563eb;
  --brand-light:  #3b82f6;

  --success:  #059669;
  --warning:  #f59e0b;
  --danger:   #dc2626;

  --bg-primary:   #f1f5f9;
  --bg-card:      #ffffff;
  --bg-elevated:  #f8fafc;
  --border-color: #cbd5e1;
  --border-focus: #2563eb;

  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-muted:     #64748b;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;

  --shadow-sm:  0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);

  --font-primary: 'Inter', sans-serif;
  --font-display: 'Lexend', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-primary); background: var(--bg-primary); color: var(--text-primary); line-height: 1.5; font-size: 15px; }

/* ══════════════════════════════════════════════════════════════════════════
   HEADER — kbud2026.org tasarımına uygun
   ══════════════════════════════════════════════════════════════════════════ */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8ecf0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-logo-link img {
  height: 52px;
  width: auto;
}

/* Ana Navigasyon */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #2d3748;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  background: #f0f4ff;
  color: var(--kbud-blue);
}

.nav-link.active {
  background: #e8eeff;
  color: var(--kbud-blue);
  font-weight: 600;
}

/* Dropdown oku */
.nav-link .chevron {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.2s;
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
}

/* Dropdown Menü */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 6px;
  min-width: 220px;
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  color: #374151;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s;
}

.dropdown-link:hover {
  background: #f0f4ff;
  color: var(--kbud-blue);
}

/* Kayıt Formu Aktif Göstergesi */
.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--kbud-btn);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-left: 8px;
}

.nav-badge .dot {
  width: 7px;
  height: 7px;
  background: #7ee8a2;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #2d3748;
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-nav.open { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
  .header-nav.home-nav { display: flex; width: auto; }
  .nav-toggle { display: block; }
  .header-top { flex-wrap: wrap; }
  .nav-dropdown { position: static; box-shadow: none; border: none; background: #f8fafc; }
  .nav-item:hover .nav-dropdown { display: none; }
  .nav-item.open .nav-dropdown { display: block; }
}

/* ══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════════════════════════════════════ */

.main-layout {
  max-width: 1000px; margin: 32px auto; display: grid; grid-template-columns: 1fr 340px; gap: 24px; padding: 0 24px; align-items: start;
}
@media(max-width:800px){ .main-layout { grid-template-columns: 1fr; } }

.form-container { display: flex; flex-direction: column; gap: 24px; }

/* ── Form Section ─────────────────────────────────────────────────────── */
.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.section-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--brand-blue); margin-bottom: 8px; }
.section-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; }

/* ── Form Controls ────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:500px){ .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.req { color: var(--danger); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select {
  padding: 12px 14px; border: 1.5px solid var(--border-color); border-radius: var(--radius-sm); font-family: var(--font-primary); font-size: 14px; background: var(--bg-elevated); width: 100%; transition: .2s;
}
input:focus, select:focus { border-color: var(--border-focus); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }

/* ── Services ─────────────────────────────────────────────────────────── */
.service-box {
  background: var(--bg-elevated); border: 1.5px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; margin-bottom: 16px;
}
.service-label { font-size: 15px; font-weight: 600; color: var(--text-primary); display: block; margin-bottom: 10px; }
.service-select { font-size: 14px; padding: 12px 14px; border-color: var(--border-color); background: var(--bg-elevated); cursor: pointer; border-radius: var(--radius-sm); border-width: 1.5px; transition: .2s; width: 100%; }
.price-preview-inline { text-align: right; margin-top: 8px; font-size: 14px; color: var(--brand-blue); }
.price-preview-inline strong { font-family: var(--font-display); font-size: 18px; color: var(--brand-accent); }

/* ── Dates & Panels ───────────────────────────────────────────────────── */
.dates-panel, .external-panel { margin-top: 16px; padding: 16px; background: #fff; border-radius: var(--radius-sm); border: 1px dashed var(--border-color); }
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nights-display-inline { margin-top: 12px; font-size: 14px; background: #f0fdf4; color: #166534; padding: 8px 12px; border-radius: 4px; border: 1px solid #bbf7d0; text-align: center; }
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }

/* ── Search Reservation ───────────────────────────────────────────────── */
.search-section { background: linear-gradient(to right, #eff6ff, #f8fafc); border-color: #bfdbfe; }
.search-header h3 { font-size: 16px; color: var(--brand-blue); margin-bottom: 4px; }
.search-form { display: flex; gap: 10px; margin-top: 16px; }
.search-form input { flex: 1; }
@media(max-width:600px){ .search-form { flex-direction: column; } }
.info-banner { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: 14px; display: flex; align-items: center; gap: 8px; }

/* ── Sponsor Box ──────────────────────────────────────────────────────── */
.sponsor-box { margin-top: 24px; padding: 18px 20px; border: 1.5px solid var(--border-color); border-left: 5px solid var(--primary, #1e3a5f); border-radius: var(--radius-md); background: #f8fafc; }
.sponsor-box > .checkbox-label { font-size: 15.5px; }
.sponsor-box .sponsor-sub { font-weight: 700; margin: 8px 0 -4px; padding-top: 12px; border-top: 1px solid var(--border-color); }

/* ── Cart Sidebar ─────────────────────────────────────────────────────── */
.cart-sidebar { position: sticky; top: 88px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 24px; }
.sidebar-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--border-color); padding-bottom: 12px; margin-bottom: 16px; }
.mini-cart { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.mini-cart-item { padding: 12px; background: var(--bg-elevated); border: 1px solid var(--border-color); border-radius: var(--radius-sm); display: flex; justify-content: space-between; align-items: center; }
.mini-cart-item.existing-item { background: #f1f5f9; border-style: dashed; opacity: 0.8; }
.mini-item-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.mini-item-name { font-size: 13px; font-weight: 500; }
.mini-item-price { font-weight: 700; color: var(--brand-accent); }
.sidebar-total { border-top: 1px solid var(--border-color); padding-top: 16px; }
.total-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-secondary); margin-bottom: 4px; }
.total-row.grand { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-primary); margin-top: 10px; padding-top: 10px; border-top: 2px solid var(--border-color); }
.total-row.grand span:last-child { color: var(--brand-accent); }

/* ── Agreement ────────────────────────────────────────────────────────── */
.agreement-section { margin-bottom: 24px; }
.agreement-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.agreement-text { font-size: 14px; color: var(--text-secondary); }
.cancellation-info { margin-top: 8px; padding: 12px; background: #f8fafc; border-radius: var(--radius-sm); font-size: 13px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 12px 20px; border: none; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; cursor: pointer; transition: .2s; }
.btn-primary { background: var(--brand-accent); color: #fff; }
.btn-primary:hover { filter: brightness(.92); }
.btn-success { background: var(--success); color: #fff; font-size: 16px; padding: 16px; }
.btn-success:hover:not(:disabled) { background: #047857; }
.btn:disabled { background: #94a3b8; cursor: not-allowed; }
.w-full { width: 100%; }

/* ── Modal / Overlay ──────────────────────────────────────────────────── */
.success-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.success-content { background: #fff; padding: 40px; border-radius: var(--radius-lg); text-align: center; max-width: 400px; width: 100%; box-shadow: var(--shadow-lg); }
.success-content h2 { color: var(--success); margin-bottom: 8px; }
.success-ref { background: var(--bg-elevated); padding: 12px; margin: 16px 0; border: 1px solid var(--border-color); font-family: monospace; font-size: 18px; font-weight: 700; color: var(--brand-accent); letter-spacing: 1px; }

/* ── Toasts & Spinners ────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--brand-dark); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; box-shadow: var(--shadow-md); }
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }
.loading-overlay { position: fixed; inset: 0; background: rgba(255,255,255,.8); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--border-color); border-top-color: var(--brand-accent); border-radius: 50%; animation: spin 1s infinite linear; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER — kbud2026.org tasarımına uygun
   ══════════════════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--kbud-footer);
  color: #a8b8d8;
  font-size: 14px;
  margin-top: 60px;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

/* Col 1 — Logo + İletişim */
.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-logo-link {
  display: inline-block;
  margin-bottom: 4px;
}

.footer-logo-link img {
  height: 60px;
  width: auto;
  opacity: 0.95;
}

.footer-org-name {
  font-size: 13px;
  font-weight: 700;
  color: #c8d6f0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-top: -4px;
}

.footer-divider {
  width: 40px;
  height: 2px;
  background: var(--kbud-accent);
  border-radius: 2px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a8b8d8;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item:hover { color: #fff; }

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--kbud-accent);
  opacity: 0.8;
}

/* Sütun başlıkları */
.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Footer linkleri */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #a8b8d8;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-link.active {
  color: #7eb8f7;
  font-weight: 600;
}

/* İkinci grup başlığı (Ödül ve Destek) */
.footer-subgroup {
  margin-top: 24px;
}

.footer-subgroup-title {
  font-size: 14px;
  font-weight: 700;
  color: #d0ddf5;
  margin-bottom: 12px;
}

/* Alt copyright bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copyright {
  font-size: 12.5px;
  color: #7a90b0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #a8b8d8;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.social-btn:hover {
  background: var(--kbud-accent);
  color: #fff;
}

@media(max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media(max-width: 580px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   DUYURU & FORM KAPATMA POP-UP MODAL (Notice Overlay)
   ══════════════════════════════════════════════════════════════════════════ */
.notice-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notice-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.notice-modal-box {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
  max-width: 560px;
  width: 100%;
  padding: 34px 30px;
  position: relative;
  text-align: center;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.notice-modal-overlay.active .notice-modal-box {
  transform: scale(1) translateY(0);
}

.notice-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  line-height: 1;
}

.notice-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.notice-modal-icon {
  font-size: 52px;
  margin-bottom: 14px;
  display: inline-block;
  animation: pulse-icon 2s infinite ease-in-out;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.notice-modal-title {
  font-family: var(--font-display, 'Lexend', sans-serif);
  font-size: 23px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.35;
}

.notice-modal-body {
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 24px;
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 18px 20px;
  border-radius: 12px;
  word-break: break-word;
}

.notice-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

/* Kilitli moddayken form etkileşimi engelleme */
body.registration-locked .form-layout,
body.registration-locked #formContainer,
body.registration-locked .step-form {
  pointer-events: none !important;
  user-select: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   KYS EKLERİ — çoklu kongre bileşenleri
   ══════════════════════════════════════════════════════════════════════════ */
.event-hero { background: linear-gradient(135deg, var(--kbud-navy), var(--kbud-blue)); color: #fff; }
.event-hero-inner { max-width: 1000px; margin: 0 auto; padding: 28px 24px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.event-hero h1 { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.25; }
.event-hero .meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; font-size: 14px; opacity: .92; }
.event-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-hero .hero-badge { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.intro-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.intro-text p + p { margin-top: 8px; }
.header-logo-text { font-family: var(--font-display); font-weight: 700; color: var(--kbud-navy); font-size: 18px; }
.course-card { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; cursor: pointer; user-select: none; transition: .15s; }
.course-card:hover { border-color: var(--brand-accent); }
.course-card.disabled { opacity: .6; cursor: not-allowed; }
.course-card input { margin-top: 3px; width: 16px; height: 16px; }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 8px; }
.ext-type-option { display: flex; gap: 10px; align-items: flex-start; background: #f8fafc; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; cursor: pointer; }
.ext-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.muted { color: var(--text-muted); font-size: 12px; }
.text-danger { color: var(--danger); }
.hidden { display: none !important; }
.bank-box { padding: 14px 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 13px; text-align: left; }
.bank-box .iban { font-family: ui-monospace, Menlo, monospace; margin: 6px 0; background: #fff; padding: 6px 10px; border-radius: 5px; border: 1px solid #e2e8f0; letter-spacing: .5px; color: var(--kbud-navy); overflow-x: auto; white-space: nowrap; }
.pay-cta { margin: 16px 0; padding: 20px; background: linear-gradient(135deg, var(--kbud-navy), var(--brand-accent)); border-radius: 12px; color: #fff; }
.pay-cta .btn { background: #fff; color: var(--kbud-navy); width: 100%; font-size: 16px; font-weight: 700; padding: 14px; }
.success-content { max-width: 480px; max-height: 92vh; overflow: auto; }
.toast-container .toast { max-width: 360px; }
.registration-locked .form-container > section:not(.search-section) { pointer-events: none; opacity: .55; }
.closed-banner { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 14px 16px; border-radius: 10px; font-size: 14px; }

/* Ödeme sayfası */
.pay-layout { max-width: 1000px; margin: 32px auto; padding: 0 24px; display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; }
@media(max-width:860px){ .pay-layout { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.card h2 { font-family: var(--font-display); font-size: 18px; color: var(--brand-blue); margin-bottom: 4px; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #eff6ff; color: var(--brand-accent); border: 1px solid #bfdbfe; }
.line-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.line-row small { display: block; color: var(--text-muted); font-size: 12px; }
.amount-box { margin-top: 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; }
.amount-box .big { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--success); }
.inst-option { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1.5px solid var(--border-color); border-radius: 8px; cursor: pointer; margin-bottom: 8px; font-size: 14px; }
.inst-option.active { border-color: var(--brand-accent); background: #eff6ff; }
.card-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.tds-modal { position: fixed; inset: 0; background: rgba(15,23,42,.75); display: flex; align-items: center; justify-content: center; z-index: 10000; padding: 16px; }
.tds-modal .box { background: #fff; border-radius: 14px; width: 100%; max-width: 640px; height: 640px; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; }
.tds-modal .head { padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e2e8f0; font-weight: 600; }
.tds-modal iframe { flex: 1; border: 0; width: 100%; }
.result-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 36px; }
.result-icon.ok { background: #dcfce7; color: #16a34a; }
.result-icon.fail { background: #fee2e2; color: #dc2626; }

/* Sertifika portalı */
.cert-wrap { max-width: 900px; margin: 32px auto; padding: 0 24px; }
.cert-item { margin-top: 20px; }
.cert-item img { width: 100%; border-radius: 8px; border: 1px solid #e2e8f0; box-shadow: var(--shadow-md); }
.cert-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-top: 12px; }
.alert-ok { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* Kongre listesi (ana sayfa) */
.events-wrap { max-width: 1000px; margin: 32px auto; padding: 0 24px; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-top: 20px; }
.event-card { background: #fff; border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.event-card .logo { height: 120px; display: flex; align-items: center; justify-content: center; background: #f8fafc; border-bottom: 1px solid #e2e8f0; padding: 16px; }
.event-card .logo img { max-height: 88px; max-width: 100%; }
.event-card .body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.event-card h3 { font-family: var(--font-display); font-size: 17px; }
.event-card .links { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }
.event-card .links a { font-size: 13px; padding: 8px 12px; border-radius: 6px; text-decoration: none; }
.btn-outline { border: 1px solid var(--border-color); color: var(--text-primary); background: #fff; }
a.btn, a.btn:hover { text-decoration: none; }
