/* ============================================================
   PDF → PPTX · Dashboard
   Kurumsal · sade · awwwards-grade typography
   ============================================================ */

:root {
  --bg: #f6f6f7;
  --surface: #ffffff;
  --surface-alt: #f3f4f6;
  --surface-hover: #fafafa;
  --border: #e6e6e9;
  --border-strong: #d4d4d8;
  --text: #0a0a0a;
  --text-muted: #71717a;
  --text-faint: #a1a1aa;
  --accent: #0a0a0a;
  --accent-hover: #27272a;
  --focus: #0a0a0a;
  --success-bg: #ecfdf5;
  --success-fg: #047857;
  --warn-bg:    #fffbeb;
  --warn-fg:    #b45309;
  --danger-bg:  #fef2f2;
  --danger-fg:  #b91c1c;
  --info-bg:    #eff6ff;
  --info-fg:    #1d4ed8;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --shadow-xs: 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-sm: 0 2px 6px rgba(10, 10, 10, 0.04), 0 1px 2px rgba(10,10,10,0.03);
  --shadow:    0 8px 20px -8px rgba(10, 10, 10, 0.10), 0 2px 6px -2px rgba(10,10,10,0.04);
  --t-fast: 120ms;
}

* { box-sizing: border-box; }
/* author CSS'in `display: flex/inline-block` set ettiği elementlerde de
   `hidden` attribute'unun çalışmasını garantiler (specificity boost). */
[hidden][hidden] { display: none; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
button { font-family: inherit; }
::selection { background: #0a0a0a; color: #fff; }

/* ----- Header --------------------------------------------- */
.app-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.app-header .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.brand-mark-text {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.brand-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.011em;
  line-height: 1.2;
}
.brand-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
}
.header-meta {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ----- Layout --------------------------------------------- */
.app-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 6px;
}
.page-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 28px;
}
.section-title {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.section-title h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.section-title .section-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ----- Card ----------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card-body { padding: 26px 28px; }
.card-body + .card-body { border-top: 1px solid var(--border); }

/* ----- Tabs (underlined editorial) ------------------------ */
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.tab {
  border: 0; background: transparent;
  padding: 14px 2px;
  margin-bottom: -1px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.tab:hover { color: var(--text); }
.tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.tab .ico { width: 15px; height: 15px; }
.tab-count {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  margin-left: 4px;
}
.tab.active .tab-count { background: var(--accent); color: #fff; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ----- Done (completed) cards ---------------------------- */
.done-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.done-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  gap: 10px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.done-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.done-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px;
}
.done-card-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.done-card-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 11px;
  color: var(--text-muted);
}
.done-card-meta b {
  font-weight: 500; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.done-card-actions {
  display: flex; gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

/* ----- Modal --------------------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0.45);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  z-index: 100;
  animation: fadein 0.15s;
}
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-width: 540px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.modal-title {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  word-break: break-word;
}
.modal-close {
  border: 0; background: transparent;
  width: 32px; height: 32px;
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.modal-close:hover { background: var(--surface-alt); color: var(--text); }
.modal-body {
  padding: 18px 24px;
  overflow-y: auto;
  font-size: 13px;
}
.modal-footer {
  padding: 14px 24px 18px;
  border-top: 1px solid var(--border);
  display: flex; gap: 10px; justify-content: flex-end;
}
.detail-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 10px; column-gap: 16px;
}
.detail-grid dt {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.detail-grid dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}
.detail-grid dd code {
  font-size: 12px;
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 4px;
}
.detail-error {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--danger-bg);
  color: var(--danger-fg);
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
}

/* ----- Fields --------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label,
.field-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.input, .select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}
.select { appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.input-with-icon { position: relative; }
.input-with-icon .input { padding-left: 38px; }
.input-with-icon .ico {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--text-muted); pointer-events: none;
}

/* ----- Searchable Combobox -------------------------------- */
.combobox { position: relative; }
.combobox-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--t-fast);
}
.combobox-trigger:hover { border-color: var(--border-strong); }
.combobox[data-state="open"] .combobox-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}
.combobox-trigger .placeholder { color: var(--text-faint); }
.combobox-trigger .chevron {
  width: 14px; height: 14px; color: var(--text-muted);
  transition: transform var(--t-fast);
}
.combobox[data-state="open"] .combobox-trigger .chevron { transform: rotate(180deg); }
.combobox-value-id {
  display: inline-block;
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
  color: var(--text-faint);
  font-size: 12px;
}

.combobox-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 30;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
}
.combobox[data-state="open"] .combobox-panel { display: block; }
.combobox-search {
  position: relative;
  border-bottom: 1px solid var(--border);
  padding: 8px 8px 8px 36px;
}
.combobox-search .ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; color: var(--text-muted);
}
.combobox-search input {
  width: 100%;
  border: 0; outline: 0;
  background: transparent;
  font-size: 13px;
  padding: 4px 0;
  color: var(--text);
  font-family: inherit;
}
.combobox-search input::placeholder { color: var(--text-faint); }
.combobox-options {
  list-style: none;
  margin: 0; padding: 4px;
  max-height: 280px;
  overflow-y: auto;
}
.combobox-options::-webkit-scrollbar { width: 8px; }
.combobox-options::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
.combobox-option {
  display: flex; align-items: baseline; gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: background var(--t-fast);
}
.combobox-option .opt-id {
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: var(--text-faint);
  min-width: 44px;
}
.combobox-option:hover,
.combobox-option[aria-selected="true"] {
  background: var(--surface-alt);
}
.combobox-option mark {
  background: rgba(10,10,10,0.08);
  color: inherit;
  padding: 1px 2px;
  border-radius: 2px;
}
.combobox-empty {
  padding: 14px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

/* ----- Buttons -------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:disabled { background: var(--text-faint); border-color: var(--text-faint); cursor: not-allowed; }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-alt); border-color: var(--border-strong); }
.btn-sm { padding: 6px 11px; font-size: 12px; }

/* ----- Toolbar row ---------------------------------------- */
.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr auto;
  gap: 14px;
  margin-bottom: 22px;
  align-items: end;
}
@media (max-width: 820px) {
  .toolbar { grid-template-columns: 1fr; }
}

/* ----- Book grid ------------------------------------------ */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.book-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.book-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.book-cover {
  aspect-ratio: 3 / 4;
  background: var(--surface-alt);
  position: relative;
  overflow: hidden;
}
.book-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.book-cover .placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--text-faint);
  font-size: 28px;
}
.book-meta {
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.book-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.book-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}
.book-foot .book-id { font-variant-numeric: tabular-nums; }
.book-foot .book-date { color: var(--text-faint); }
.book-card .btn { width: 100%; justify-content: center; }

/* ----- States --------------------------------------------- */
.state {
  padding: 60px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; color: var(--text-muted);
  font-size: 13px;
}
.spinner {
  width: 22px; height: 22px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ----- Pagination ----------------------------------------- */
.pagination {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-top: 22px;
  color: var(--text-muted); font-size: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.pagination button {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer; color: var(--text);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination button:not(:disabled):hover { background: var(--surface-alt); border-color: var(--border-strong); }
.pagination .page-info { font-variant-numeric: tabular-nums; }

/* ----- Dropzone ------------------------------------------- */
.dropzone {
  display: block;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  background: var(--surface);
}
.dropzone:hover, .dropzone.dragover {
  border-color: var(--accent);
  background: var(--surface-alt);
}
.dropzone .ico {
  width: 28px; height: 28px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.dropzone .title {
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}
.dropzone .hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.dropzone input[type=file] { display: none; }
.dropzone .file-name {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text);
  background: var(--surface-alt);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ----- Flash ---------------------------------------------- */
.flash {
  display: none;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.flash.show { display: block; animation: fadein 0.18s; }
.flash.ok    { background: var(--success-bg); color: var(--success-fg); border-color: #a7f3d0; }
.flash.err   { background: var(--danger-bg);  color: var(--danger-fg);  border-color: #fecaca; }
.flash.info  { background: var(--info-bg);    color: var(--info-fg);    border-color: #bfdbfe; }

/* ----- Jobs table ----------------------------------------- */
.jobs-section { margin-top: 48px; }
.jobs-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
table.jobs { width: 100%; border-collapse: collapse; font-size: 13px; }
table.jobs th {
  text-align: left;
  padding: 12px 18px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
table.jobs td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}
table.jobs tr:last-child td { border-bottom: 0; }
table.jobs tr:hover td { background: var(--surface-hover); }

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--surface-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.status-DONE .badge       { background: var(--success-bg); color: var(--success-fg); border-color: #a7f3d0; }
.status-FAILED .badge     { background: var(--danger-bg);  color: var(--danger-fg);  border-color: #fecaca; }
.status-PENDING .badge    { background: var(--warn-bg);    color: var(--warn-fg);    border-color: #fde68a; }
.status-UPLOADING .badge,
.status-CONVERTING .badge,
.status-DOWNLOADING .badge,
.status-FIXING .badge     { background: var(--info-bg);    color: var(--info-fg);    border-color: #bfdbfe; }

.progress {
  width: 160px;
  height: 4px;
  background: var(--surface-alt);
  border-radius: 999px;
  overflow: hidden;
}
.progress .bar { height: 100%; background: var(--accent); transition: width 0.4s; }
.progress-cell small {
  display: block; margin-top: 4px;
  color: var(--text-muted); font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.muted { color: var(--text-muted); }
.empty { padding: 60px 24px; text-align: center; color: var(--text-muted); font-size: 13px; }
.error-msg { color: var(--danger-fg); font-size: 12px; max-width: 280px; line-height: 1.4; }

.dl-link {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.dl-link:hover {
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.dl-link .ico { width: 12px; height: 12px; }

/* ----- Logout (header) ----------------------------------- */
.btn-logout {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.btn-logout:hover { background: var(--surface-alt); border-color: var(--border-strong); }

/* ============================================================
   Auth (login page) — split-layout, editorial
   ============================================================ */
.auth-body {
  margin: 0;
  background: var(--bg);
  min-height: 100vh;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

/* ---------- Sol panel: dark + görsel + brand ---------- */
.auth-aside {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
  display: flex; align-items: stretch;
  isolation: isolate;
}
/* Görsel — `app/static/login-bg.jpg` */
.auth-aside::before {
  content: "";
  position: absolute; inset: 0;
  background: url("/static/login-bg.jpg") center/cover no-repeat;
  opacity: 0.62;
  z-index: 0;
  filter: saturate(0.9);
}
/* Üzerine derinlik veren gradient overlay (kart kontrastı için) */
.auth-aside::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg,
      rgba(10,10,10,0.20) 0%,
      rgba(10,10,10,0.55) 55%,
      rgba(10,10,10,0.80) 100%);
  z-index: 1;
}
/* Hafif film grain hissi — pure CSS, görsel olmasa bile zarafet */
.auth-aside-grain {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 1px;
  mix-blend-mode: overlay;
}

.auth-aside-content {
  position: relative; z-index: 3;
  flex: 1;
  padding: 64px 56px 48px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  max-width: 640px;
  animation: aside-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes aside-rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-brand-block {
  display: flex; flex-direction: column; gap: 22px;
}
.auth-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.auth-eyebrow-dark { color: var(--text-muted); }

.auth-headline {
  margin: 0;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.12;
  max-width: 520px;
  color: #fff;
}
.auth-headline em {
  font-style: normal;
  background: linear-gradient(120deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 440px;
}

.auth-aside-foot {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.auth-foot-dot { opacity: 0.5; }

/* Brand mark light variant (dark panel için) */
.brand-mark.light {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.00);
}
.brand-mark.light .brand-mark-text {
  background: transparent;
  color: #fff;
  font-size: 14px;
}

/* ---------- Sağ panel: form ---------- */
.auth-main {
  display: grid;
  place-items: center;
  padding: 40px 32px;
  background: var(--surface);
  animation: form-fade 0.5s 0.15s both cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes form-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.auth-main-inner {
  width: 100%;
  max-width: 380px;
}
.auth-eyebrow-dark { margin: 0 0 12px; }
.auth-title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
}
.auth-desc {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 13px;
}
.auth-form {
  display: flex; flex-direction: column; gap: 16px;
}
.input-lg {
  padding: 13px 14px;
  font-size: 15px;
}
.btn-lg {
  padding: 12px 18px;
  font-size: 14px;
}
.auth-footer-note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
}

/* ---------- Mobil: panelleri dik istifle ---------- */
@media (max-width: 880px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { min-height: 240px; }
  .auth-aside-content {
    padding: 32px 28px;
    max-width: none;
  }
  .auth-headline { font-size: 24px; max-width: none; }
  .auth-tagline { font-size: 13px; }
  .auth-aside-foot { display: none; }
  .auth-main { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .auth-tagline { display: none; }
}
