/* ==========================================================================
   campus.adauthik.az — Əsas Stil Faylı
   Glassmorphism + Yaşıl Gradient + Dark/Light Tema + iOS-vari komponentlər
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;

  /* Light tema */
  --bg-grad-1: #eafff3;
  --bg-grad-2: #d3f5e0;
  --bg-grad-3: #bfeccd;
  --accent: #17a76a;
  --accent-dark: #0e8a56;
  --accent-light: #34d399;
  --accent-soft: rgba(23,167,106,.12);
  --text-primary: #0f2419;
  --text-secondary: #4b6357;
  --text-muted: #85998e;
  --glass-bg: rgba(255,255,255,.55);
  --glass-bg-strong: rgba(255,255,255,.72);
  --glass-border: rgba(255,255,255,.6);
  --glass-shadow: 0 8px 32px rgba(15,60,40,.12);
  --card-bg: rgba(255,255,255,.65);
  --input-bg: rgba(255,255,255,.7);
  --input-border: rgba(15,60,40,.14);
  --divider: rgba(15,60,40,.08);
  --danger: #e5484d;
  --danger-soft: rgba(229,72,77,.12);
  --warning: #f5a623;
  --warning-soft: rgba(245,166,35,.14);
  --success: #17a76a;
  --success-soft: rgba(23,167,106,.14);
  --lock-bg: #e4e9e6;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

html[data-theme="dark"]{
  --bg-grad-1: #071812;
  --bg-grad-2: #0a2318;
  --bg-grad-3: #0d2e1e;
  --accent: #2ee69b;
  --accent-dark: #1fb87c;
  --accent-light: #5ff2b4;
  --accent-soft: rgba(46,230,155,.14);
  --text-primary: #eafff4;
  --text-secondary: #a9c9ba;
  --text-muted: #6f8c7d;
  --glass-bg: rgba(20,35,29,.55);
  --glass-bg-strong: rgba(20,35,29,.78);
  --glass-border: rgba(255,255,255,.08);
  --glass-shadow: 0 8px 32px rgba(0,0,0,.4);
  --card-bg: rgba(22,38,31,.65);
  --input-bg: rgba(255,255,255,.06);
  --input-border: rgba(255,255,255,.12);
  --divider: rgba(255,255,255,.08);
  --danger: #ff6b70;
  --danger-soft: rgba(255,107,112,.14);
  --warning: #ffc55c;
  --warning-soft: rgba(255,197,92,.14);
  --success: #2ee69b;
  --success-soft: rgba(46,230,155,.14);
  --lock-bg: rgba(255,255,255,.06);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text-primary);
  background:
    radial-gradient(circle at 12% 8%, var(--bg-grad-3), transparent 45%),
    radial-gradient(circle at 88% 18%, var(--bg-grad-2), transparent 50%),
    radial-gradient(circle at 50% 100%, var(--bg-grad-2), transparent 60%),
    linear-gradient(160deg, var(--bg-grad-1), var(--bg-grad-2) 55%, var(--bg-grad-3));
  background-attachment: fixed;
  min-height:100vh;
  -webkit-font-smoothing: antialiased;
  transition: background .35s ease, color .35s ease;
}
a{ color: inherit; text-decoration:none; }
button{ font-family: inherit; }
ul{ margin:0; padding:0; list-style:none; }
img{ max-width:100%; display:block; }

::selection{ background: var(--accent-soft); }

/* Scrollbar */
::-webkit-scrollbar{ width:8px; height:8px; }
::-webkit-scrollbar-thumb{ background: var(--accent-soft); border-radius:8px; }

/* ---------- Glass komponentlər ---------- */
.glass{
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}
.glass-strong{
  background: var(--glass-bg-strong);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}
.card{
  background: var(--card-bg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
}

/* ---------- Tema düyməsi (iOS switch) ---------- */
.theme-toggle{
  display:flex; align-items:center; gap:8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 6px;
  cursor:pointer;
  width: 64px; height: 34px;
  position: relative;
  backdrop-filter: blur(16px);
}
.theme-toggle .knob{
  position:absolute;
  top:3px; left:3px;
  width: 26px; height: 26px;
  border-radius:50%;
  background: linear-gradient(145deg, var(--accent-light), var(--accent));
  display:flex; align-items:center; justify-content:center;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  color:#fff; font-size:13px;
}
html[data-theme="dark"] .theme-toggle .knob{ transform: translateX(30px); }
.theme-toggle i{ font-size:14px; }

/* ---------- Düymələr ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active{ transform: scale(.97); }
.btn-primary{
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(23,167,106,.35);
}
.btn-primary:hover{ box-shadow: 0 10px 26px rgba(23,167,106,.45); }
.btn-primary:disabled{ opacity:.5; cursor:not-allowed; box-shadow:none; }
.btn-secondary{
  background: var(--input-bg);
  color: var(--text-primary);
  border: 1px solid var(--input-border);
}
.btn-danger{
  background: linear-gradient(135deg, #ff8a8f, var(--danger));
  color: #fff;
}
.btn-ghost{
  background: transparent;
  color: var(--text-secondary);
}
.btn-sm{ padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-block{ width:100%; }
.btn-icon{ padding: 10px; border-radius: 12px; }

/* ---------- Form elementləri ---------- */
.field{ margin-bottom: 18px; }
.field label{
  display:block; margin-bottom:7px; font-size:13.5px; font-weight:700;
  color: var(--text-secondary);
}
.field .hint{ font-size:12px; color: var(--text-muted); margin-top:5px; }
input[type=text], input[type=password], input[type=tel], input[type=number],
input[type=email], select, textarea{
  width:100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance:none; appearance:none;
}
select{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2385998e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
input:focus, select:focus, textarea:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
input.invalid, select.invalid{ border-color: var(--danger); }
.error-text{ color: var(--danger); font-size:12.5px; margin-top:6px; display:none; font-weight:600; }
.radio-group{ display:flex; gap:10px; flex-wrap:wrap; }
.radio-pill{
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--input-border);
  background: var(--input-bg); cursor:pointer; font-weight:600; font-size:14px;
  transition: all .18s ease; color: var(--text-secondary);
}
.radio-pill input{ display:none; }
.radio-pill.active{
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  color:#fff; border-color: transparent;
  box-shadow: 0 6px 16px rgba(23,167,106,.3);
}

/* FİN info işarəsi */
.info-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:18px; height:18px; border-radius:50%;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size:13px; font-weight:800; cursor:pointer; margin-left:4px; vertical-align:middle;
}

/* Telefon prefiks qrupu */
.phone-group{ display:flex; gap:8px; }
.phone-group select{ max-width:100px; flex-shrink:0; }
.phone-group input{ flex:1; }

/* İmtiyazlı tələbə toggle */
.priv-toggle{
  display:flex; align-items:center; gap:12px; cursor:pointer;
  padding:14px 16px; border-radius: var(--radius-sm);
  border:1.5px solid var(--input-border); background: var(--input-bg);
  font-weight:700; font-size:14.5px; transition: all .2s ease;
}
.priv-toggle input{ display:none; }
.priv-toggle-box{
  width:34px; height:34px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background: var(--lock-bg); color: var(--text-muted); transition: all .2s ease;
}
.priv-toggle input:checked ~ .priv-toggle-box{
  background: linear-gradient(135deg, #ffd166, #f5a623); color:#fff;
}
.priv-toggle:has(input:checked){ border-color: var(--warning); background: var(--warning-soft); }

/* Fayl yükləmə qutusu */
.upload-box{
  border: 2px dashed var(--input-border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align:center;
  cursor:pointer;
  transition: border-color .2s ease, background .2s ease;
  background: var(--input-bg);
}
.upload-box:hover{ border-color: var(--accent); background: var(--accent-soft); }
.upload-box.has-file{ border-style: solid; border-color: var(--accent); }
.upload-box input[type=file]{ display:none; }
.upload-preview{ width:88px; height:88px; border-radius:16px; object-fit:cover; margin:0 auto 10px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.upload-icon{ width:34px; height:34px; margin:0 auto 10px; color: var(--accent); }

/* ---------- Status badge ---------- */
.badge{
  display:inline-flex; align-items:center; gap:6px;
  padding: 7px 14px; border-radius: 999px; font-size:13px; font-weight:700;
}
.badge-pending{ background: var(--warning-soft); color: var(--warning); }
.badge-approved{ background: var(--success-soft); color: var(--success); }
.badge-rejected{ background: var(--danger-soft); color: var(--danger); }
.badge-dot{ width:7px; height:7px; border-radius:50%; background:currentColor; }
.badge-pending .badge-dot{ animation: pulse 1.6s infinite; }

@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 currentColor; opacity:1; }
  70%{ box-shadow: 0 0 0 6px transparent; opacity:.4; }
  100%{ opacity:1; }
}

/* ---------- Seat-map (otaq seçimi) ---------- */
.seatmap-wrap{ display:flex; gap:26px; flex-wrap:wrap; }
.seatmap-legend{ display:flex; flex-direction:column; gap:12px; min-width:190px; }
.legend-item{ display:flex; align-items:center; gap:10px; font-size:13.5px; color: var(--text-secondary); font-weight:600; }
.legend-swatch{ width:22px; height:22px; border-radius:6px; flex-shrink:0; display:flex; align-items:center; justify-content:center; }

.room-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 10px;
  flex:1;
  min-width: 260px;
}
.room-seat{
  aspect-ratio: 1;
  border-radius: 10px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  cursor:pointer;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-secondary);
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  transition: transform .12s ease, box-shadow .12s ease;
  position: relative;
  gap:2px;
}
.room-seat:hover:not(.locked):not(.full){ transform: translateY(-2px); box-shadow: 0 6px 14px rgba(23,167,106,.2); }
.room-seat.available{ background: var(--success-soft); border-color: rgba(23,167,106,.35); color: var(--accent-dark); }
.room-seat.full{ background: var(--lock-bg); color: var(--text-muted); cursor:not-allowed; opacity:.65; }
.room-seat.locked{ background: var(--lock-bg); color: var(--text-muted); cursor:not-allowed; }
.room-seat.locked i{ font-size:15px; }
.room-seat.selected{
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  color:#fff; border-color: transparent;
  box-shadow: 0 8px 18px rgba(23,167,106,.4);
  transform: translateY(-2px) scale(1.03);
}
.room-seat .seat-sub{ font-size:9.5px; font-weight:600; opacity:.8; }

/* ---------- Building/blok kartları ---------- */
.block-card{
  padding: 18px; border-radius: var(--radius-md);
  background: var(--input-bg); border:1.5px solid var(--input-border);
  cursor:pointer; text-align:center; transition: all .2s ease;
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.block-card.active{ border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 6px 18px rgba(23,167,106,.2); }
.block-card.locked{ opacity:.55; filter: grayscale(.4); cursor:not-allowed; }

/* ---------- Layout util ---------- */
.container{ max-width: 1180px; margin:0 auto; padding: 0 24px; }
.flex{ display:flex; }
.flex-between{ display:flex; align-items:center; justify-content:space-between; }
.flex-center{ display:flex; align-items:center; justify-content:center; }
.gap-8{ gap:8px; } .gap-12{ gap:12px; } .gap-16{ gap:16px; } .gap-24{ gap:24px; }
.mt-8{margin-top:8px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-32{margin-top:32px;}
.mb-8{margin-bottom:8px;} .mb-16{margin-bottom:16px;} .mb-24{margin-bottom:24px;}
.text-muted{ color: var(--text-muted); }
.text-secondary{ color: var(--text-secondary); }
.text-sm{ font-size:13px; }
.text-center{ text-align:center; }
.hidden{ display:none !important; }
.w-full{ width:100%; }

/* ---------- Stat kartları (admin dashboard) ---------- */
.stats-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap:18px; }
.stat-card{
  padding:22px; border-radius: var(--radius-md);
  display:flex; flex-direction:column; gap:10px;
}
.stat-icon{
  width:44px; height:44px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: var(--accent-soft); color: var(--accent);
}
.stat-icon i{ font-size:22px; }
.stat-value{ font-size: 30px; font-weight:800; }
.stat-label{ color: var(--text-secondary); font-size:13.5px; font-weight:600; }

/* ---------- Sidebar (admin) ---------- */
.app-shell{ display:flex; min-height:100vh; }
.sidebar{
  width: 250px; flex-shrink:0;
  padding: 26px 18px;
  display:flex; flex-direction:column; gap:6px;
  position: sticky; top:0; height:100vh;
}
.sidebar-logo{ display:flex; align-items:center; gap:10px; padding: 6px 12px 22px; }
.sidebar-logo .mark{
  width:38px; height:38px; border-radius:12px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:16px;
  box-shadow: 0 6px 14px rgba(23,167,106,.35);
}
.sidebar-logo .name{ font-weight:800; font-size:15px; line-height:1.15; }
.sidebar-logo .name span{ display:block; font-size:11px; font-weight:600; color: var(--text-muted); }
.nav-item{
  display:flex; align-items:center; gap:12px;
  padding: 12px 14px; border-radius: 14px;
  color: var(--text-secondary); font-weight:700; font-size:14px;
  transition: all .18s ease; cursor:pointer;
}
.nav-item i{ font-size:17px; flex-shrink:0; }
.nav-item:hover{ background: var(--accent-soft); color: var(--accent-dark); }
.nav-item.active{ background: linear-gradient(135deg, var(--accent-light), var(--accent-dark)); color:#fff; box-shadow: 0 6px 16px rgba(23,167,106,.3); }
.main-content{ flex:1; padding: 26px 32px 60px; min-width:0; }
.topbar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:26px; gap:16px; flex-wrap:wrap; }
.page-title{ font-size:24px; font-weight:800; }
.page-subtitle{ color: var(--text-secondary); font-size:14px; margin-top:4px; }

/* ---------- Table ---------- */
.table-wrap{ overflow-x:auto; border-radius: var(--radius-md); }
table{ width:100%; border-collapse:collapse; font-size:14px; }
th{ text-align:left; padding:14px 16px; color: var(--text-muted); font-size:12px; text-transform:uppercase; letter-spacing:.04em; font-weight:800; border-bottom:1px solid var(--divider); }
td{ padding:14px 16px; border-bottom:1px solid var(--divider); vertical-align:middle; }
tr:last-child td{ border-bottom:none; }
tr:hover td{ background: rgba(23,167,106,.04); }

/* ---------- Progress steps (qeydiyyat) ---------- */
.steps-bar{ display:flex; align-items:center; gap:4px; margin-bottom: 30px; }
.step-dot{
  flex:1; height:5px; border-radius:99px; background: var(--divider); overflow:hidden; position:relative;
}
.step-dot .fill{ position:absolute; inset:0; background: linear-gradient(90deg, var(--accent-light), var(--accent-dark)); transform: scaleX(0); transform-origin:left; transition: transform .4s ease; }
.step-dot.done .fill, .step-dot.active .fill{ transform: scaleX(1); }

.step-panel{ display:none; }
.step-panel.active{ display:block; animation: fadeIn .35s ease; }
@keyframes fadeIn{ from{opacity:0; transform: translateY(8px);} to{opacity:1; transform:none;} }

/* ---------- Modal ---------- */
.modal-overlay{
  position:fixed; inset:0; background: rgba(6,20,14,.45);
  backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center;
  z-index: 200; padding:20px;
}
.modal-box{ width:100%; max-width:440px; padding:26px; }
.toast-wrap{ position:fixed; top:20px; right:20px; z-index:400; display:flex; flex-direction:column; gap:10px; }
.toast{
  padding:14px 18px; border-radius:14px; font-size:14px; font-weight:700;
  display:flex; align-items:center; gap:10px; min-width:260px;
  animation: slideIn .3s ease;
}
@keyframes slideIn{ from{ transform: translateX(30px); opacity:0;} to{transform:none; opacity:1;} }
.toast-success{ color:#fff; background: linear-gradient(135deg, var(--accent-light), var(--accent-dark)); }
.toast-error{ color:#fff; background: linear-gradient(135deg, #ff8a8f, var(--danger)); }

/* ---------- Responsive utility grids (istifadə: index/register/dashboard/faculties) ---------- */
.login-split{ display:grid; grid-template-columns: 1.05fr 1fr; }
.split-layout{ display:grid; grid-template-columns: 1fr 1.6fr; gap:22px; align-items:start; }
.form-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.top-nav{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.wizard-nav{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .app-shell{ flex-direction:column; }
  .sidebar{ width:100%; height:auto; position:relative; flex-direction:row; overflow-x:auto; padding:14px; }
  .sidebar-logo{ display:none; }
  .nav-item span{ display:none; }
  .main-content{ padding:16px; }
  .split-layout{ grid-template-columns: 1fr; }
}
@media (max-width: 780px){
  .login-split{ grid-template-columns: 1fr; }
  .brand-panel{ display:none !important; }
}
@media (max-width: 640px){
  .seatmap-wrap{ flex-direction:column; }
  .seatmap-legend{ flex-direction:row; flex-wrap:wrap; }
}
@media (max-width: 560px){
  .form-grid-2{ grid-template-columns: 1fr; }
}

/* ---------- Telefonlar üçün ümumi tənzimləmələr ---------- */
@media (max-width: 600px){
  .container{ padding:0 16px; }
  .glass-strong{ padding: 22px !important; border-radius: 20px; }
  .stat-value{ font-size:24px; }
  .page-title{ font-size:20px; }
  .btn{ padding:12px 18px; font-size:14px; }
  .btn-sm{ padding:8px 12px; font-size:12.5px; }
  table{ font-size:12.5px; }
  th, td{ padding:10px 10px; }
  .modal-box{ padding:20px; max-width:100%; }
  .room-grid{ grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); }

  /* iOS Safari input-a fokuslananda avtomatik zoom-un qarşısını alır */
  input[type=text], input[type=password], input[type=tel], input[type=number],
  input[type=email], select, textarea{ font-size:16px; }
}
@media (max-width: 480px){
  .flex-between{ flex-wrap: wrap; row-gap:8px; }
  .stat-value{ font-size:22px; }
  .brand-logo-chip img{ height:24px; }
  .brand-logo-chip.sm img{ height:20px; }
  html{ overflow-x:hidden; }
  body{ overflow-x:hidden; }
}
@media (max-width: 420px){
  .wizard-nav .btn{ flex:1 1 auto; padding:11px 14px; font-size:13px; }
  .radio-group{ gap:8px; }
  .radio-pill{ padding:8px 14px; font-size:13px; }
}

/* ---------- Loqo / Footer ---------- */
.brand-logo-chip{
  background:linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  border-radius:14px;
  padding:6px 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 14px rgba(15,60,40,.25);
  flex-shrink:0;
}
.brand-logo-chip img{ display:block; height:30px; width:auto; }
.brand-logo-chip.lg{ padding:10px 16px; border-radius:18px; }
.brand-logo-chip.lg img{ height:42px; }
.brand-logo-chip.sm{ padding:4px 8px; border-radius:10px; }
.brand-logo-chip.sm img{ height:22px; }

.site-footer{
  background:linear-gradient(135deg, var(--accent-dark), #0a4a30);
  padding:24px; margin-top:36px;
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.site-footer img{ height:36px; width:auto; }
.site-footer .copy{ color:rgba(255,255,255,.82); font-size:12px; font-weight:600; text-align:center; letter-spacing:.01em; }

.admin-footer{
  margin-top:28px; padding:14px 22px; border-radius: var(--radius-md);
  display:flex; align-items:center; justify-content:center; gap:12px;
  background:linear-gradient(135deg, var(--accent-dark), #0a4a30);
}
.admin-footer img{ height:20px; width:auto; }
.admin-footer .copy{ font-size:11.5px; color:rgba(255,255,255,.82); font-weight:600; }

/* ---------- Şəkil lightbox ---------- */
.lightbox-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.85); z-index:500;
  display:flex; align-items:center; justify-content:center; padding:30px;
  cursor:zoom-out;
}
.lightbox-overlay img{ max-width:100%; max-height:90vh; border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.lightbox-close{
  position:absolute; top:20px; right:24px; width:40px; height:40px; border-radius:50%;
  background:rgba(255,255,255,.15); color:#fff; display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:18px;
}
.zoomable{ cursor:zoom-in; }
