/* ============================================================
   İkizler Oto - Stok Takip Sistemi
   Ana CSS — Industrial/Refined tema
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Barlow+Condensed:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- Değişkenler ---- */
:root {
  --bg:          #0f1117;
  --bg2:         #161b27;
  --bg3:         #1e2535;
  --border:      #2a3347;
  --border-light:#334060;
  --text:        #e8ecf4;
  --text-muted:  #7a8aaa;
  --text-dim:    #4a5878;
  --accent:      #e8840a;
  --accent-h:    #f09933;
  --accent-glow: rgba(232,132,10,0.18);
  --green:       #22c55e;
  --green-dim:   rgba(34,197,94,0.12);
  --red:         #ef4444;
  --red-dim:     rgba(239,68,68,0.12);
  --blue:        #3b82f6;
  --blue-dim:    rgba(59,130,246,0.12);
  --yellow:      #facc15;
  --radius:      8px;
  --radius-lg:   14px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.25);
  --sidebar-w:   240px;
  --header-h:    62px;
  --font:        'Barlow', sans-serif;
  --font-cond:   'Barlow Condensed', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;
  --transition:  .18s cubic-bezier(.4,0,.2,1);
}

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

html { font-size: 15px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ============================================================
   GİRİŞ SAYFASI
   ============================================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, var(--border) 79px, var(--border) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, var(--border) 79px, var(--border) 80px);
  background-size: 80px 80px;
  padding: 20px;
}

.login-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow), 0 0 60px rgba(232,132,10,0.06);
  position: relative;
  overflow: hidden;
}

.login-box::before {
  content:'';
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.login-logo-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 22px;
}

.login-logo h1 {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .02em;
  line-height: 1.1;
}

.login-logo h1 span { color: var(--accent); }
.login-logo p { font-size: .75rem; color: var(--text-muted); margin-top: 1px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  transition: transform var(--transition);
}

.sidebar-brand {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
}

.sidebar-brand-icon {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sidebar-brand-text {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .04em;
  line-height: 1.15;
}

.sidebar-brand-text span { color: var(--accent); }
.sidebar-brand-text small { display: block; font-size: .65rem; font-weight: 500; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; }

.sidebar-nav {
  flex: 1;
  padding: 10px 8px;
  overflow-y: auto;
}

.sidebar-section-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 14px 10px 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  border: none; background: transparent; width: 100%; text-align: left;
}

.sidebar-link:hover {
  background: var(--bg3);
  color: var(--text);
}

.sidebar-link.active {
  background: var(--accent-glow);
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

.sidebar-link-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }

.sidebar-bottom {
  padding: 12px 8px;
  border-top: 1px solid var(--border);
}

.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius);
}

.sidebar-user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 700; color: #000;
  flex-shrink: 0;
}

.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: .8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: .65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }

/* Main */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.topbar {
  height: var(--header-h);
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  position: sticky;
  top: 0; z-index: 100;
}

.topbar-title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
  flex: 1;
}

.topbar-actions { display: flex; gap: 10px; align-items: center; }

/* Page content */
.page-content {
  padding: 28px;
  flex: 1;
}

/* ============================================================
   FORMLAR
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.col-2 { grid-column: span 2; }
.form-group.col-3 { grid-column: span 3; }
.form-group.col-full { grid-column: 1 / -1; }

label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

label span.req { color: var(--accent); margin-left: 2px; }

input[type="text"],
input[type="number"],
input[type="password"],
input[type="url"],
input[type="email"],
select,
textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: .9rem;
  padding: 9px 13px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

textarea { resize: vertical; min-height: 80px; }

.year-range {
  display: flex; gap: 8px; align-items: center;
}

.year-range input { flex: 1; }
.year-range span { color: var(--text-muted); font-size: .8rem; white-space: nowrap; }

/* ============================================================
   BUTONLAR
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none; outline: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0f1117;
}
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,132,10,0.35); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg3); color: var(--text); border-color: var(--border-light); }

.btn-danger {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(239,68,68,0.25);
}
.btn-danger:hover { background: var(--red); color: #fff; }

.btn-success {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.25);
}
.btn-success:hover { background: var(--green); color: #fff; }

.btn-blue {
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.25);
}
.btn-blue:hover { background: var(--blue); color: #fff; }

.btn-sm { padding: 5px 12px; font-size: .8rem; }
.btn-icon { padding: 7px; }
.btn-lg { padding: 12px 28px; font-size: 1rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ============================================================
   KARTLAR / PANEL
   ============================================================ */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}

.card-header-title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .04em;
  flex: 1;
}

.card-body { padding: 22px; }

/* Dashboard stat kartları */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative; overflow: hidden;
  transition: border-color var(--transition);
}
.stat-card:hover { border-color: var(--border-light); }

.stat-card::after {
  content:''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
}
.stat-card.orange::after { background: var(--accent); }
.stat-card.green::after  { background: var(--green); }
.stat-card.red::after    { background: var(--red); }
.stat-card.blue::after   { background: var(--blue); }

.stat-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.stat-value { font-family: var(--font-cond); font-size: 2rem; font-weight: 800; line-height: 1; }
.stat-value.orange { color: var(--accent); }
.stat-value.green  { color: var(--green); }
.stat-value.red    { color: var(--red); }
.stat-value.blue   { color: var(--blue); }
.stat-sub { font-size: .75rem; color: var(--text-muted); }

/* ============================================================
   TABLOLAR
   ============================================================ */
.table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

thead tr {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}

th {
  padding: 12px 14px;
  text-align: left;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg3); }

td {
  padding: 11px 14px;
  vertical-align: middle;
}

.td-thumb {
  width: 52px; height: 40px;
  object-fit: cover;
  border-radius: 5px;
  background: var(--bg3);
}

.td-thumb-placeholder {
  width: 52px; height: 40px;
  background: var(--bg3);
  border-radius: 5px;
  display: grid; place-items: center;
  color: var(--text-dim);
  font-size: .75rem;
}

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 20px;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.badge-green  { background: var(--green-dim);  color: var(--green); }
.badge-red    { background: var(--red-dim);    color: var(--red); }
.badge-blue   { background: var(--blue-dim);   color: var(--blue); }
.badge-orange { background: var(--accent-glow);color: var(--accent); }
.badge-gray   { background: var(--bg3);        color: var(--text-muted); border: 1px solid var(--border); }

.actions-cell { display: flex; gap: 6px; align-items: center; }

/* ============================================================
   FİLTRE ALANI
   ============================================================ */
.filter-bar {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
}

.filter-bar .form-group { gap: 4px; }
.filter-bar label { font-size: .65rem; }

/* ============================================================
   MODAL / POPUP
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  transition: transform .2s;
}
.modal-overlay.active .modal { transform: translateY(0); }

.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.modal-header h3 { font-family: var(--font-cond); font-weight: 700; font-size: 1.05rem; flex: 1; }
.modal-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.2rem; padding: 4px; transition: color var(--transition); }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 22px; }
.modal-footer { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ============================================================
   GÖRSEL YÜKLEYİCİ
   ============================================================ */
.image-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
  position: relative;
}
.image-upload-zone:hover, .image-upload-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-glow);
}
.image-upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}
.upload-icon { font-size: 2rem; margin-bottom: 8px; }
.upload-text { font-size: .875rem; color: var(--text-muted); }
.upload-text strong { color: var(--accent); }
.upload-hint { font-size: .75rem; color: var(--text-dim); margin-top: 4px; }

.image-previews {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px;
}
.image-preview-item {
  position: relative; width: 80px; height: 80px;
}
.image-preview-item img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--border);
}
.image-preview-item .remove-img {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: .65rem; display: grid; place-items: center;
  cursor: pointer; border: 2px solid var(--bg2);
  transition: transform var(--transition);
}
.image-preview-item .remove-img:hover { transform: scale(1.2); }

/* Gallery grid (detail page) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.gallery-item {
  position: relative; border-radius: 8px; overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg3);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-actions {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0; display: flex; align-items: center; justify-content: center;
  transition: opacity .2s;
}
.gallery-item:hover .gallery-item-actions { opacity: 1; }

/* ============================================================
   ALERT
   ============================================================ */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-size: .875rem;
  font-weight: 500;
}
.alert-success { background: var(--green-dim); border: 1px solid rgba(34,197,94,.25); color: var(--green); }
.alert-danger  { background: var(--red-dim);   border: 1px solid rgba(239,68,68,.25);  color: var(--red); }
.alert-info    { background: var(--blue-dim);  border: 1px solid rgba(59,130,246,.25); color: var(--blue); }
.alert-close   { margin-left: auto; background: none; border: none; color: inherit; cursor: pointer; font-size: 1.1rem; opacity: .7; }
.alert-close:hover { opacity: 1; }

/* ============================================================
   MİSC
   ============================================================ */
.page-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.page-header-icon {
  width: 42px; height: 42px;
  background: var(--accent-glow);
  border: 1px solid rgba(232,132,10,.25);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1.2rem;
  color: var(--accent);
}
.page-header h2 { font-family: var(--font-cond); font-weight: 800; font-size: 1.4rem; letter-spacing: .04em; }
.page-header p  { font-size: .8rem; color: var(--text-muted); }

.divider { height: 1px; background: var(--border); margin: 20px 0; }

.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }

.mono { font-family: var(--font-mono); font-size: .85em; }

.empty-state {
  padding: 60px 20px; text-align: center;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 12px; opacity: .3; }
.empty-state h4 { font-size: 1rem; margin-bottom: 4px; }
.empty-state p  { font-size: .85rem; }

.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Detail layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
}
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
}

.detail-field { margin-bottom: 16px; }
.detail-field-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.detail-field-value { font-size: .95rem; }

.history-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 12px; align-items: flex-start;
}
.history-item:last-child { border-bottom: none; }
.history-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 6px; }
.history-item.iade .history-dot { background: var(--red); }

/* Mobile hamburger */
.topbar-hamburger {
  display: none;
  background: none; border: none; color: var(--text);
  font-size: 1.3rem; cursor: pointer;
  padding: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 30px rgba(0,0,0,.5);
  }
  .main { margin-left: 0; }
  .topbar-hamburger { display: flex; }
  .page-content { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.col-2, .form-group.col-3 { grid-column: span 1; }
  .filter-bar { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .table-container { font-size: .8rem; }
  th, td { padding: 9px 10px; }
}

/* Sidebar overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 150;
}
.sidebar-overlay.active { display: block; }

/* Toast notification */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 2000; display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: .875rem;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow);
  animation: slideInRight .25s ease;
  min-width: 260px;
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.info    { border-left: 3px solid var(--blue); }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,.1); border: none; color: #fff;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer; display: grid; place-items: center;
}

/* Print */
@media print {
  .sidebar, .topbar, .filter-bar, .actions-cell, .btn { display: none !important; }
  .main { margin-left: 0; }
  body { background: #fff; color: #000; }
}
