/* ==================================================================
   Kapı Vizesi Al — ana stil dosyası
   Build gerektirmez. Marka renkleri eski Tailwind config'inden alındı.
   ================================================================== */

:root {
  --brand: #195193;
  --brand-dark: #144a7a;
  --brand-light: #2d6ba8;
  --brand-pastel: #e8f0f7;
  --gold: #e5b355;
  --sand: #eae3d9;
  --off-white: #fcfbf8;
  --text: #333333;
  --muted: #6b7280;
  --border: #e3e8ef;
  --surface: #ffffff;
  --danger: #dc2626;
  --success: #16a34a;
  --warning: #d97706;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(16, 25, 34, 0.06);
  --shadow: 0 4px 16px rgba(25, 81, 147, 0.08);
  --shadow-lg: 0 12px 32px rgba(25, 81, 147, 0.14);
  --container: 1180px;
  --header-h: 72px;
  --font: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 800; color: #1a2432; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.text-center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------------- Butonlar ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; font-family: inherit; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .12s, box-shadow .18s;
  text-decoration: none; white-space: nowrap; line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: var(--shadow); }

.btn-gold { background: var(--gold); color: #3a2c10; }
.btn-gold:hover { background: #d9a441; color: #3a2c10; }

.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-pastel); color: var(--brand-dark); }

.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--brand-pastel); color: var(--brand); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }

.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand:hover { text-decoration: none; }
.brand-text strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.brand-text small { display: block; font-size: 0.72rem; color: var(--muted); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.site-nav ul a {
  display: block; padding: 8px 12px; border-radius: var(--radius);
  color: var(--text); font-size: 0.92rem; font-weight: 500;
}
.site-nav ul a:hover { background: var(--brand-pastel); color: var(--brand); text-decoration: none; }
.site-nav ul a.active { color: var(--brand); font-weight: 700; }
.nav-actions { display: flex; gap: 8px; }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px; box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .25s ease; margin-left: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { padding: 12px; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; }
}

/* ---------------- Hero ---------------- */

.hero {
  background: linear-gradient(160deg, var(--brand-pastel) 0%, var(--off-white) 65%);
  padding: 56px 0 64px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
.hero-copy h1 { margin-bottom: 16px; }
.eyebrow {
  display: inline-block; background: var(--brand); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.lead { font-size: 1.08rem; color: #4b5563; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.hero-badges li { font-size: .9rem; color: #475569; display: flex; align-items: center; gap: 6px; }
.hero-badges li::before { content: '✓'; color: var(--success); font-weight: 800; }

@media (max-width: 900px) {
  .hero { padding: 36px 0 44px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------------- Bölümler ---------------- */

.section { padding: 60px 0; }
.section-alt { background: var(--sand); }
.section-title { margin-bottom: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.link-card { display: block; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.link-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brand-light); text-decoration: none; }
.link-more { color: var(--brand); font-weight: 600; font-size: .9rem; }

.step { position: relative; padding-top: 34px; }
.step-no {
  position: absolute; top: -14px; left: 22px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.chip {
  display: inline-block; background: var(--brand-pastel); color: var(--brand);
  font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}

.cta-band { background: var(--brand); color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--gold); color: #3a2c10; }
.cta-band .btn-primary:hover { background: #d9a441; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------------- Blog ---------------- */

.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card-media { display: block; aspect-ratio: 16 / 9; background: var(--brand-pastel); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--brand-pastel), var(--sand));
}
.post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.post-card-body h3 a { color: #1a2432; }
.post-card-body h3 a:hover { color: var(--brand); text-decoration: none; }
.post-card-body p { color: var(--muted); font-size: .92rem; flex: 1; }

.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } }

.sidebar-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
.sidebar-block h3 { font-size: 1rem; margin-bottom: 12px; }
.sidebar-block ul { list-style: none; margin: 0; padding: 0; }
.sidebar-block li { padding: 6px 0; border-bottom: 1px solid #f1f4f8; }
.sidebar-block li:last-child { border-bottom: 0; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 0 12px;
  color: var(--text); font-weight: 600; font-size: .9rem; background: #fff;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .disabled { opacity: .4; }

/* Yazı gövdesi */
.article-header { padding: 40px 0 24px; background: var(--brand-pastel); }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .88rem; margin-top: 10px; }
.article-cover { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; }

.prose { font-size: 1.05rem; line-height: 1.8; color: #384252; max-width: 72ch; }
.prose h2 { margin: 1.8em 0 .6em; font-size: 1.55rem; scroll-margin-top: 90px; }
.prose h3 { margin: 1.5em 0 .5em; font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote {
  margin: 1.6em 0; padding: 14px 20px; border-left: 4px solid var(--brand);
  background: var(--brand-pastel); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--brand-pastel); font-weight: 700; }
.prose code { background: #f1f4f8; padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: #b8c1cc; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.tag-list a {
  background: var(--brand-pastel); color: var(--brand); padding: 5px 12px;
  border-radius: 999px; font-size: .84rem; font-weight: 600;
}
.tag-list a:hover { background: var(--brand); color: #fff; text-decoration: none; }

.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item summary { padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; font-size: 1.3rem; color: var(--brand); line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 18px 16px; color: #4b5563; }

/* ---------------- Formlar ---------------- */

.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: #384252; }
label .req { color: var(--danger); }

input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=date], input[type=time], input[type=number], input[type=url], input[type=search],
select, textarea {
  width: 100%; padding: 11px 13px; font-family: inherit; font-size: .95rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(45, 107, 168, .15);
}
input[aria-invalid="true"], .has-error input, .has-error select { border-color: var(--danger); }
textarea { min-height: 120px; resize: vertical; }
input[type=file] { padding: 8px; background: #fafbfc; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--brand); }
.checkbox-row label { margin: 0; font-weight: 400; font-size: .9rem; }

.field-error { color: var(--danger); font-size: .82rem; margin-top: 4px; }
.form-hint { color: var(--muted); font-size: .82rem; margin-top: 4px; }

.alert { padding: 13px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: .92rem; border: 1px solid; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-info { background: var(--brand-pastel); border-color: #bfd6ea; color: var(--brand-dark); }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }

/* ---------------- Rozetler ---------------- */

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; white-space: nowrap;
}
.badge-pending, .badge-new { background: #fef3c7; color: #92400e; }
.badge-confirmed, .badge-approved, .badge-published { background: #d1fae5; color: #065f46; }
.badge-in_progress, .badge-under_review { background: #dbeafe; color: #1e40af; }
.badge-completed { background: #cffafe; color: #155e75; }
.badge-cancelled, .badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-draft, .badge-archived { background: #f3f4f6; color: #4b5563; }
.badge-scheduled { background: #ede9fe; color: #5b21b6; }

/* ---------------- Footer ---------------- */

.site-footer { background: #10243c; color: #cbd5e1; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 48px 20px 36px; }
.footer-brand { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-text { font-size: .9rem; color: #94a3b8; }
.footer-col h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; font-size: .9rem; }
.footer-col a { color: #cbd5e1; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li.muted { color: #64748b; }
.footer-social { display: flex; gap: 14px; margin-top: 14px; font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: .84rem; color: #94a3b8; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------------- Yüzen butonlar ---------------- */

.whatsapp-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.07); color: #fff; }

.scroll-top {
  position: fixed; right: 18px; bottom: 84px; z-index: 69;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--brand); border: 1px solid var(--border);
  font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-2px); }

/* ---------------- Yardımcılar ---------------- */

.spinner {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite;
}
.spinner-dark { border-color: rgba(25,81,147,.25); border-top-color: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  background: linear-gradient(90deg, #eef1f5 25%, #f7f9fb 50%, #eef1f5 75%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state h3 { color: #4b5563; }

.page-hero { background: var(--brand-pastel); padding: 40px 0 32px; }
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { color: #4b5563; max-width: 62ch; margin: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
table.data th { background: #f7f9fc; font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .03em; color: #64748b; white-space: nowrap; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fafcff; }

@media print {
  .site-header, .site-footer, .whatsapp-fab, .scroll-top, .hero-actions { display: none !important; }
}

/* ==================================================================
   React ada'ları (formlar) ve müşteri paneli
   ================================================================== */

/* ---------------- Segmentli seçici ---------------- */

.segmented {
  display: flex; gap: 4px; padding: 4px;
  background: #eef2f7; border-radius: 10px; margin-bottom: 18px;
}
.segmented button {
  flex: 1; padding: 9px 14px; border: 0; border-radius: 7px;
  background: transparent; font-family: inherit; font-size: .9rem; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: background .15s, color .15s;
}
.segmented button.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

/* ---------------- Hızlı rezervasyon ---------------- */

.quick-booking { padding: 24px; box-shadow: var(--shadow-lg); border: 0; }
.quick-booking h3 { margin-bottom: 14px; }

/* ---------------- Adımlı form ---------------- */

.stepper {
  display: flex; list-style: none; margin: 0 0 24px; padding: 0; gap: 4px;
  counter-reset: step;
}
.stepper-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  position: relative; font-size: .78rem; color: var(--muted); text-align: center;
}
.stepper-item::before {
  content: ''; position: absolute; top: 15px; left: -50%; width: 100%;
  height: 2px; background: var(--border); z-index: 0;
}
.stepper-item:first-child::before { display: none; }
.stepper-item.done::before, .stepper-item.active::before { background: var(--brand-light); }
.stepper-dot {
  width: 30px; height: 30px; border-radius: 50%; z-index: 1;
  background: #fff; border: 2px solid var(--border); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .82rem;
}
.stepper-item.active .stepper-dot { border-color: var(--brand); background: var(--brand); color: #fff; }
.stepper-item.done .stepper-dot { border-color: var(--success); background: var(--success); color: #fff; }
.stepper-item.active .stepper-label { color: var(--brand); font-weight: 700; }

@media (max-width: 560px) { .stepper-label { display: none; } }

.form-nav {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border);
}

/* ---------------- Belge yükleme ---------------- */

.doc-upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.doc-upload {
  border: 2px dashed var(--border); border-radius: 10px; padding: 16px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  background: #fbfcfe;
}
.doc-upload.has-file { border-style: solid; border-color: var(--success); background: #f0fdf4; }
.doc-upload-label { font-size: .88rem; font-weight: 600; }
.doc-upload-file {
  display: flex; align-items: center; gap: 8px; width: 100%;
  font-size: .82rem; color: #15803d; word-break: break-all;
}
.doc-upload-file span { flex: 1; }

.summary-box {
  background: #f7f9fc; border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 16px;
}

/* ---------------- Başarı kodu ---------------- */

.code-badge {
  display: inline-block; margin: 18px 0 10px;
  background: var(--brand); color: #fff;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.4rem; font-weight: 700; letter-spacing: .08em;
  padding: 12px 26px; border-radius: 10px;
}

/* ---------------- Giriş / kayıt ekranı ---------------- */

.auth-wrap { display: flex; justify-content: center; padding: 48px 20px 64px; }
.auth-card {
  width: 100%; max-width: 440px; background: #fff;
  border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.5rem; margin-bottom: 4px; }
.auth-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 16px; font-size: .88rem; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--muted); font-size: .82rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.lookup-result {
  margin-top: 20px; padding: 6px 16px;
  background: var(--brand-pastel); border-radius: 10px;
}

/* ---------------- Müşteri paneli ---------------- */

.account-page { padding: 34px 0 64px; min-height: 60vh; }
.account-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}
.account-head h1 { font-size: 1.6rem; margin: 0 0 4px; }
.account-head p { margin: 0; }

.account-nav {
  display: flex; gap: 4px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.account-nav-link {
  padding: 11px 18px; border-bottom: 2px solid transparent;
  font-weight: 600; font-size: .93rem; color: var(--muted);
}
.account-nav-link:hover { color: var(--brand); text-decoration: none; }
.account-nav-link.active { color: var(--brand); border-bottom-color: var(--brand); }

.res-list { display: flex; flex-direction: column; gap: 16px; }
.res-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.res-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; background: #fbfcfe; border-bottom: 1px solid var(--border);
}
.res-code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 700; font-size: 1rem; color: var(--brand); margin-right: 10px;
}
.res-card-body { padding: 16px 18px; }
.res-route { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; margin-bottom: 12px; }
.res-arrow { color: var(--gold); font-size: 1.3rem; }
.res-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: #4b5563; }
.res-meta b { color: var(--muted); font-weight: 600; }
.res-card-foot { padding: 12px 18px; border-top: 1px solid var(--border); background: #fbfcfe; }
