/* =========================
   WijVeilenSamen - COMPLETE style.css
   (origineel +: 1 doorlopende achtergrond + iets donkerder + feller groen/oranje)
   ========================= */

/* ============ ROOT / RESET ============ */
:root{
  /* achtergrond iets donkerder */
  --bg:#EDF1F3;
  --panel:#FFFFFF;
  --panel-soft:#EEF2F3;
  --line:#DEE5E9;

  --text:#2E2E2E;
  --muted:#5B6771;

  /* feller merk-kleuren */
  --brand:#1aa7a5;
  --brand-dark:#167E7C;
  --brand-soft:#D9F7F6;

  --accent:#f67a15;
  --accent-soft:#FFE9D6;

  --danger:#DC2626;

  --radius:16px;
  --radius-sm:12px;

  --shadow:0 10px 25px rgba(16,24,40,.08);
  --shadow-sm:0 6px 16px rgba(16,24,40,.08);
  --shadow-hover:0 16px 36px rgba(16,24,40,.12);

  --ring-brand:0 0 0 4px rgba(34,179,176,.16);
  --ring-accent:0 0 0 4px rgba(255,138,42,.22);

  --glow-brand: rgba(34,179,176,.18);
  --glow-accent: rgba(255,138,42,.18);

  --maxw:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* ✅ 1 doorlopende achtergrond: links groen → rechts oranje, zonder “herstart”-lijnen */
  background:
    radial-gradient(900px 340px at 10% -10%, rgba(34,179,176,.16), transparent 60%),
    radial-gradient(900px 340px at 90% -10%, rgba(255,138,42,.14), transparent 60%),
    linear-gradient(90deg,
      rgba(34,179,176,.08) 0%,
      rgba(255,255,255,0) 40%,
      rgba(255,255,255,0) 60%,
      rgba(255,138,42,.08) 100%
    ),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 60%);
  background-repeat:no-repeat;
  background-attachment:fixed;

  color: var(--text);
}
a{color:inherit;text-decoration:none}
a:hover{ color: var(--brand-dark); }
img{max-width:100%;display:block}
::selection{ background: rgba(255,138,42,.32); }

/* ============ LAYOUT HELPERS ============ */
.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding:20px 16px;
}

.card{
  background:var(--panel);
  border:1px solid rgba(230,235,238,.95);
  border-radius:var(--radius);
  box-shadow: 0 10px 26px rgba(16,24,40,.07);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  position:relative;
}
.card::before{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  top:0;
  height:4px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(34,179,176,.85), rgba(255,138,42,.85));
  opacity:.30;
}
.card:hover{
  box-shadow: var(--shadow-hover);
  border-color: rgba(34,179,176,.26);
  transform: translateY(-1px);
}
.card-pad{ padding:16px; }

.muted-line{
  color:var(--muted);
  font-size:13px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background: linear-gradient(180deg, #ffffff, var(--panel-soft));
  border:1px solid rgba(230,235,238,.95);
  color: var(--muted);
  font-weight:800;
  font-size:12px;
}
.badge-accent{
  background: linear-gradient(180deg, #fff, var(--accent-soft));
  border-color: rgba(255,138,42,.46);
  color: #7A4A18;
}

/* Inputs */
.input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(230,235,238,.95);
  background:#fff;
  outline:none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus{
  border-color: rgba(34,179,176,.60);
  box-shadow: var(--ring-brand);
}
select.input{ appearance:auto; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 12px;
  border-radius:12px;
  border:1px solid rgba(230,235,238,.95);
  background: var(--panel);
  color: var(--text);
  font-weight:900;
  cursor:pointer;
  transition: transform .05s ease, background .15s ease, border-color .15s ease, opacity .15s ease, box-shadow .15s ease;
}
.btn:hover{ background: var(--panel-soft); }
.btn:active{ transform: translateY(1px); }
.btn:focus{
  outline:none;
  box-shadow: var(--ring-brand);
  border-color: rgba(34,179,176,.50);
}

.btn-primary{
  background: var(--brand);
  border-color: rgba(34,179,176,.45);
  color:#fff;
  box-shadow: 0 12px 18px rgba(34,179,176,.22);
}
.btn-primary:hover{ background: var(--brand-dark); }
.btn-primary:focus{ box-shadow: var(--ring-brand), 0 12px 18px rgba(34,179,176,.22); }

.btn-accent{
  background: var(--accent);
  border-color: rgba(255,138,42,.55);
  color:#1f1f1f;
  box-shadow: 0 12px 18px rgba(255,138,42,.22);
}
.btn-accent:hover{ background:#F37712; }
.btn-accent:focus{ box-shadow: var(--ring-accent), 0 12px 18px rgba(255,138,42,.22); }

.btn-ghost{ background: transparent; }
.btn-ghost:hover{ background: var(--panel-soft); }

.btn-wide{ width:100%; }
.btn-small{ padding:8px 10px; border-radius:12px; font-weight:900; }

/* Links */
.link{ color: var(--brand-dark); font-weight:900; }
.link:hover{ text-decoration:underline; }

/* Notices */
.notice{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(230,235,238,.95);
  background: linear-gradient(90deg, rgba(34,179,176,.10), #ffffff 55%);
  margin:10px 0;
}
.notice-warn{
  background: linear-gradient(90deg, rgba(255,138,42,.18), #ffffff 60%);
  border-color: rgba(255,138,42,.46);
}
.notice-ok{
  background: linear-gradient(90deg, rgba(34,179,176,.16), #ffffff 60%);
  border-color: rgba(34,179,176,.30);
}

/* ============ HEADER / TOPBAR ============ */
.topbar{
  background:
    radial-gradient(700px 120px at 8% 0%, rgba(34,179,176,.22), transparent 60%),
    radial-gradient(700px 120px at 92% 0%, rgba(255,138,42,.20), transparent 60%),
    linear-gradient(90deg, rgba(34,179,176,.16), rgba(255,255,255,.92) 42%, rgba(255,138,42,.16));
  border-bottom:1px solid rgba(230,235,238,.95);
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(160%) blur(10px);
}

.topbar .inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.left,
.right{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 10px;
  border-radius:var(--radius-sm);
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.brand:hover{
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 20px rgba(16,24,40,.06);
  transform: translateY(-1px);
}

.logo-slot{
  width:40px;
  height:40px;
  border-radius:14px;
  background: linear-gradient(135deg, var(--brand), #7BE6E3);
  display:grid;
  place-items:center;
  flex:0 0 40px;
  box-shadow: 0 10px 18px rgba(34,179,176,.26);
}

.logo-mark{
  width:22px;
  height:22px;
  position:relative;
}
.logo-mark .c1,
.logo-mark .c2{
  position:absolute;
  width:14px;
  height:14px;
  border-radius:999px;
  top:4px;
}
.logo-mark .c1{ left:2px; background: rgba(255,255,255,.95); }
.logo-mark .c2{ left:9px; background: rgba(255,138,42,.95); mix-blend-mode:screen; }

.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{ font-weight:900; letter-spacing:.2px; }
.brand-sub{ margin-top:2px; font-size:12px; color:var(--muted); }

/* Admin link */
.navlink{
  padding:8px 12px;
  border-radius:12px;
  color:var(--muted);
  font-weight:800;
  transition: background .15s ease, color .15s ease;
}
.navlink:hover{ background:rgba(255,255,255,.78); color:var(--text); }

/* User pill */
.user-pill{
  font-size:13px;
  color:var(--text);
  background: linear-gradient(90deg, rgba(34,179,176,.18), #ffffff 55%, rgba(255,138,42,.16));
  border:1px solid rgba(34,179,176,.22);
  padding:7px 10px;
  border-radius:999px;
  font-weight:900;
}

/* Mobile menu button (optioneel) */
.menu-toggle{
  display:none;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(230,235,238,.95);
  background: var(--panel);
  cursor:pointer;
  padding:10px;
}
.menu-toggle span{
  display:block;
  height:2px;
  background: var(--text);
  border-radius:999px;
  margin:5px 0;
  opacity:.85;
}

/* ============ NOTIFICATIONS (header) ============ */
.notif-wrap{position:relative}
.notif-btn{
  background:var(--panel);
  border:1px solid rgba(230,235,238,.95);
  border-radius:12px;
  padding:9px 10px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:900;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.notif-btn:hover{
  background: var(--panel-soft);
  border-color: rgba(255,138,42,.36);
  box-shadow: 0 10px 18px rgba(16,24,40,.06);
}
.notif-btn:focus{
  outline:none;
  box-shadow: var(--ring-accent);
  border-color: rgba(255,138,42,.55);
}

.notif-badge{
  display:none;
  background:var(--danger);
  color:#fff;
  border-radius:999px;
  padding:2px 7px;
  font-size:11px;
  font-weight:900;
}

/* Dropdown */
.notif-drop{
  display:none;
  position:absolute;
  right:0;
  top:46px;
  width:360px;
  max-width:calc(100vw - 32px);
  background:var(--panel);
  border:1px solid rgba(230,235,238,.95);
  border-radius:16px;
  box-shadow: var(--shadow);
  z-index:9999;
  overflow:hidden;
}
.notif-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  border-bottom:1px solid rgba(230,235,238,.95);
  background:
    linear-gradient(90deg, rgba(34,179,176,.16), #ffffff 55%, rgba(255,138,42,.16));
}
.notif-title{ font-weight:900; }
.notif-linkbtn{
  background:none;
  border:0;
  color:var(--brand-dark);
  cursor:pointer;
  font-weight:900;
}
.notif-items{ max-height:380px; overflow:auto; }
.notif-empty{ padding:14px; color:var(--muted); }
.notif-item{ padding:12px 14px; border-bottom:1px solid rgba(230,235,238,.95); }
.notif-item.unread{
  background: linear-gradient(90deg, rgba(34,179,176,.14), #ffffff 55%);
  border-left: 4px solid rgba(255,138,42,.65);
}
.notif-item.clickable{ cursor:pointer; }
.notif-item.clickable:hover{ background:#f6fbfb; }
.notif-item-title{ font-weight:900; }
.notif-item-body{ margin-top:4px; color:var(--muted); }
.notif-item-time{ font-size:12px; color:var(--muted); margin-top:6px; }
.notif-foot{
  padding:12px 14px;
  border-top:1px solid rgba(230,235,238,.95);
  background: var(--panel-soft);
}
.notif-foot a{ color:var(--brand-dark); font-weight:900; }

/* ============ FOOTER ============ */
.site-footer{
  margin-top:26px;
  border-top:1px solid rgba(230,235,238,.95);
  background: rgba(255,255,255,.78);
}
.footer-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:18px 16px;
  color:var(--muted);
  font-size:14px;
  text-align:center;
}

/* ============ TABLES (dashboard / bids / admin) ============ */
.table-wrap{
  overflow:auto;
  border:1px solid rgba(230,235,238,.95);
  border-radius:14px;
  background:#fff;
}
.table{
  width:100%;
  border-collapse:collapse;
  min-width:520px;
  background:#fff;
}
.table th, .table td{
  padding:10px 12px;
  border-bottom:1px solid rgba(230,235,238,.95);
  text-align:left;
  vertical-align:top;
  font-size:13px;
}
.table th{
  background:#fbfcfc;
  font-weight:900;
  color:#3C4750;
}
.table tr:last-child td{ border-bottom:0; }

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background: linear-gradient(180deg, #fff, var(--panel-soft));
  border:1px solid rgba(230,235,238,.95);
  color: var(--text);
  font-weight:900;
  font-size:12px;
}

/* ============ AUTH (login/register) ============ */
.auth-page{ padding-top:22px; }
.auth-wrap{ max-width:520px; margin:0 auto; padding:18px; }
.auth-head{ margin-bottom:12px; }
.auth-title{ margin:0; font-size:24px; }
.auth-sub{ margin:8px 0 0; color:var(--muted); line-height:1.45; }
.auth-form{ display:flex; flex-direction:column; gap:10px; margin-top:12px; }
.auth-foot{ margin-top:14px; color:var(--muted); font-weight:800; }
.auth-grid2{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }

/* ============ HOME (index.php) ============ */
.hero{
  overflow:hidden;
  border:1px solid rgba(230,235,238,.95);

  /* ✅ geen eigen gradient meer (voorkomt lijnen), laat body doorschijnen */
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(8px) saturate(140%);
}

.hero-inner{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:16px;
  padding:18px;
}

.hero-title{ margin:0; font-size:32px; letter-spacing:.2px; }
.hero-sub{ margin:8px 0 0; color:var(--muted); line-height:1.45; max-width:52ch; }
.hero-stats{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }

.hero-side{ display:none; }
.hero-pill{ display:none; }

.toolbar{ margin-top:14px; }
.toolbar-form{
  padding:14px;
  display:grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 0.9fr auto;
  gap:12px;
  align-items:end;

  /* ✅ geen eigen gradient meer (voorkomt lijnen) */
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(8px) saturate(140%);
}

.label{
  display:block;
  font-size:12px;
  color:var(--muted);
  font-weight:900;
  margin:0 0 6px;
}

.resultsbar{ margin-top:14px; }
.resultsbar-inner{
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;

  /* ✅ geen eigen gradient meer (voorkomt lijnen) */
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px) saturate(140%);
}

/* Layout met sidebar (desktop zichtbaar) */
.layout{
  margin-top:14px;
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:14px;
  align-items:start;
}

.sidebar{
  padding:14px;

  /* ✅ geen eigen gradient meer (voorkomt lijnen) */
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px) saturate(140%);
}

.sidebar-head{ margin-bottom:10px; }
.sidebar-title{ font-weight:900; }
.sidebar-sub{ color:var(--muted); font-size:13px; margin-top:2px; }

.catlist{ display:flex; flex-direction:column; gap:6px; }

.catlink{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(230,235,238,.95);
  background: var(--panel);
  color: var(--text);
  font-weight:900;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.catlink:hover{
  background: var(--panel-soft);
  border-color: rgba(255,138,42,.40);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(16,24,40,.06);
}
.catlink.active{
  border-color: rgba(255,138,42,.62);
  background: linear-gradient(90deg, rgba(255,138,42,.18), #ffffff 60%);
  box-shadow: 0 10px 22px rgba(255,138,42,.12);
}

/* Weergave: list / 2 / 4 */
.auctions-grid{
  display:grid;
  gap:14px;
}
.auctions-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auctions-grid.cols-4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
.auctions-grid.cols-1{ grid-template-columns: 1fr; }

/* cards */
.auction-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.auction-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,138,42,.30);
}

.thumb{
  display:block;
  width:100%;
  aspect-ratio: 16 / 10;
  background: var(--panel-soft);
  border-bottom:1px solid rgba(230,235,238,.95);
  overflow:hidden;
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .35s ease;
}
.auction-card:hover .thumb img{ transform: scale(1.02); }

.thumb-empty{
  height:100%;
  display:grid;
  place-items:center;
  color:var(--muted);
  font-weight:900;
  font-size:13px;
}

.auction-body{
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.auction-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.auction-title{
  margin:4px 0 0;
  font-size:18px;
  line-height:1.2;
}

.auction-time{
  text-align:right;
  min-width:140px;
}

.timer{
  font-weight:900;
  color: var(--brand-dark);
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(34,179,176,.16), #ffffff 55%, rgba(255,138,42,.18));
  border:1px solid rgba(255,138,42,.34);
}
.timer::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,138,42,.24);
}

.auction-price{
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
}
.price-strong{
  font-weight:900;
  font-size:18px;
  color: var(--brand-dark);
}

.auction-meta{
  border-top:1px solid rgba(230,235,238,.95);
  padding-top:10px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.meta-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
}

.meta-label{ color:var(--muted); font-weight:900; }
.meta-value{ color:var(--text); font-weight:900; text-align:right; }
.auction-actions{ margin-top:2px; }

/* ============ AUCTION (auction.php) ============ */
.auction-page{ padding-top:18px; }

.auction-toprow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:12px;
  background: var(--panel);
  border:1px solid rgba(230,235,238,.95);
  font-weight:900;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.back-link:hover{
  background: var(--panel-soft);
  border-color: rgba(255,138,42,.40);
  box-shadow: 0 10px 18px rgba(16,24,40,.06);
}

.auction-top-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.auction-grid{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap:14px;
  align-items:start;
}

.auction-info{ padding:14px; }
.auction-info-title{ font-weight:900; margin-bottom:6px; }
.auction-info-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }

.auction-main{ padding:14px; overflow:hidden; }
.auction-head{ margin-bottom:10px; }
.auction-h1{ margin:6px 0 0; font-size:24px; line-height:1.15; }
.auction-badges{ margin-top:10px; display:flex; gap:10px; flex-wrap:wrap; }

.card-sep{ margin-top:12px; padding-top:12px; border-top:1px solid rgba(230,235,238,.95); }
.auction-desc{ margin-top:12px; color:var(--text); line-height:1.55; }

/* Gallery */
.galleryWrap{ margin-top:12px; }
.galleryMain{
  position:relative;
  border:1px solid rgba(230,235,238,.95);
  border-radius:16px;
  overflow:hidden;
  background: var(--panel-soft);
}
.galleryMain img{
  width:100%;
  height:420px;
  object-fit:contain;
  display:block;
  background:#fff;
}

.gbtn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:rgba(0,0,0,.45);
  color:#fff;
  width:42px;
  height:42px;
  border-radius:999px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}
.gbtn:hover{ background:rgba(0,0,0,.60); }
.gprev{ left:10px; }
.gnext{ right:10px; }

.thumbs{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.thumbs .thumb{
  width:74px;
  height:54px;
  border-radius:12px;
  overflow:hidden;
  border:2px solid transparent;
  cursor:pointer;
  background:#fff;
  padding:0;
}
.thumbs .thumb img{ width:100%; height:100%; object-fit:cover; }
.thumbs .thumb.active{ border-color: var(--accent); }

.auction-box{ padding:14px; }
.auction-box-title{ font-weight:900; }
.auction-price{ margin:6px 0 0; }

.bidform{ margin-top:12px; display:flex; flex-direction:column; gap:10px; }

.costbox{
  margin-top:8px;
  border:1px solid rgba(230,235,238,.95);
  border-radius:16px;
  padding:12px;
  background: linear-gradient(90deg, rgba(34,179,176,.10), #ffffff 55%, rgba(255,138,42,.12));
  display:none;
}

.costrow{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin:6px 0;
  font-size:13px;
  font-weight:900;
}
.costrow.total{
  padding-top:8px;
  border-top:1px solid rgba(230,235,238,.95);
  margin-top:10px;
}

.bid-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px;
}

.bids-card{ padding:14px; }
.bids-head{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:8px; }
.bids-title{ margin:0; font-size:18px; }

/* ============ DASHBOARD ============ */
.dashboard-page{ padding-top:18px; }
.dash-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.dash-title{ margin:0; font-size:26px; }
.dash-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.dash-card{ padding:14px; }
.dash-card-head{ margin-bottom:8px; }
.dash-h2{ margin:0; font-size:18px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px){
  .toolbar-form{ grid-template-columns: 1fr 1fr; }
  .resultsbar .field{ min-width: 0; }
}

@media (max-width: 980px){
  .layout{ grid-template-columns: 1fr; }
  .sidebar{ display:none; }
  .hero-inner{ flex-direction:column; }
  .auction-top{ flex-direction:column; }
  .auction-time{ text-align:left; min-width:0; }

  .auctions-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auctions-grid.cols-1{ grid-template-columns: 1fr; }
  .auctions-grid.cols-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .resultsbar-inner{
    flex-direction:column;
    align-items:stretch;
  }

  .auction-grid{ grid-template-columns: 1fr; }
  .galleryMain img{ height:260px; }
  .table{ min-width:0; }
}

@media (max-width:760px){
  .topbar .inner{ flex-wrap:wrap; }
  .left, .right{ width:100%; }
  .right{ justify-content:flex-start; flex-wrap:wrap; }

  .brand{ width:100%; justify-content:flex-start; }

  .menu-toggle{
    margin-left:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
}

@media (max-width: 700px){
  .auth-grid2{ grid-template-columns: 1fr; }
  .dash-head{ align-items:flex-start; }
}

/* Sort/Weergave stijl zoals voorbeeld */
.toolbar-bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.toolbar-bottom .right-controls{
  margin-left:auto;
  display:flex;
  gap:16px;
  align-items:flex-end;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.view-toggle{ display:flex; gap:8px; align-items:center; }

.view-btn{
  width:42px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  cursor:pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.view-btn:hover{
  border-color: rgba(255,138,42,.34);
  box-shadow: 0 10px 18px rgba(16,24,40,.06);
}
.view-btn:active{ transform: translateY(1px); }
.view-btn svg{ width:18px; height:18px; fill: currentColor; opacity:.85; }
.view-btn.active{
  border-color: rgba(255,138,42,.55);
  box-shadow: 0 10px 22px rgba(255,138,42,.12);
}
.view-text{ font-size:12px; font-weight:800; opacity:.8; }

@media (max-width: 980px){
  .view-text{ display:none; }
}

/* =========================
   UITGELICHT (index.php)
   ========================= */
.featured-wrap{ position: relative; }
.feat-nav{ padding-right: 10px; }
.feat-rail{ padding-right: 10px; }

.feat-card{ overflow: hidden; }
.feat-content{ padding: 4px 14px 14px; }

.feat-card .muted-line,
.feat-card .feat-name,
.feat-card .feat-meta{
  padding-left: 14px;
  padding-right: 14px;
}
.feat-card .feat-meta{ padding-bottom: 14px; }

.feat-rail{
  padding-left: 14px;
  padding-right: 14px;
}

/* Sortering/weergave rechts houden */
.list-top-controls{
  display:flex;
  justify-content:flex-end;
  margin: 10px 0 14px;
}

@media (max-width: 980px){
  .list-top-controls{ justify-content:flex-end; }
  .top-controls{ width:auto; justify-content:flex-end; }
}

/* ===== FIX: Titel niet per letter afbreken ===== */
.auction-title{
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: auto;
  white-space: normal;
  line-height: 1.2;
  margin: 4px 0 0;
}

/* 4-koloms: titel max 2 regels met ... */
.auctions-grid.cols-4 .auction-title{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.auction-top > div{ min-width: 0; }
.auction-time{ min-width: 0; white-space: nowrap; }

/* =========================
   HEADER ICON-ONLY + DROPDOWN MOBIEL
   ========================= */
.notif-btn{
  width:42px;
  height:42px;
  padding:0;
  justify-content:center;
  gap:0;
}
.notif-btn span:not(:first-child):not(.notif-badge){ display:none; }

.notif-wrap{ position:relative; }
.notif-badge{
  display:inline-flex;
  position:absolute;
  top:-6px;
  right:-6px;
}

@media (max-width: 980px){
  .notif-drop{
    position:fixed;
    left:12px;
    right:12px;
    width:auto;
    max-width:none;
    top: calc(12px + 56px);
    z-index:9999;
    overflow:hidden;
  }
  .notif-items{
    max-height:60vh;
    overflow:auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 981px){
  .notif-drop{
    left:auto;
    right:0;
    top:46px;
    position:absolute;
  }
}

/* 4-koloms strak */
.auction-card{ display:flex; flex-direction:column; }
.auction-body{ display:flex; flex-direction:column; flex:1; min-height:0; }
.auction-actions{ margin-top:auto; }

.auctions-grid.cols-4 .auction-top{
  flex-direction:column;
  align-items:stretch;
  gap:8px;
}
.auctions-grid.cols-4 .auction-time{
  text-align:left;
  min-width:0;
  white-space:nowrap;
  display:flex;
  justify-content:space-between;
  gap:10px;
}

/* =========================
   TOPBAR MEER KLEUR (OVERRIDE)
   (blijft ok, maar niet “hard”; past bij de body)
   ========================= */
.topbar{
  background:
    radial-gradient(800px 140px at 8% 0%, rgba(34,179,176,.26), transparent 60%),
    radial-gradient(800px 140px at 92% 0%, rgba(255,138,42,.24), transparent 60%),
    linear-gradient(90deg,
      rgba(34,179,176,.20),
      rgba(255,255,255,.92) 45%,
      rgba(255,138,42,.20)
    ) !important;

  border-bottom: 1px solid rgba(230,235,238,.95) !important;
  backdrop-filter: saturate(170%) blur(10px) !important;
}

.topbar .inner{
  background: transparent !important;
}

.navlink:hover{
  background: rgba(255,138,42,.12) !important;
  color: var(--text) !important;
}

.toolbar + .featured-wrap{
  margin-top: 14px;
}

@media (max-width: 980px){
  .topbar{
    backdrop-filter: none !important;
    background:
      radial-gradient(700px 140px at 10% 0%, rgba(34,179,176,.28), transparent 60%),
      radial-gradient(700px 140px at 90% 0%, rgba(255,138,42,.26), transparent 60%),
      linear-gradient(90deg,
        rgba(34,179,176,.22),
        rgba(255,255,255,.94) 45%,
        rgba(255,138,42,.22)
      ) !important;
  }
}

/* Duidelijkere scheiding voor "Afgelopen veilingen" */
.section-split{
  margin: 18px 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(34,179,176,.16), rgba(255,255,255,1));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.section-split h2{
  margin:0;
  font-size:18px;
  font-weight:900;
}

.section-split .sub{
  color: var(--muted);
  font-size:12px;
  font-weight:800;
}

.section-split .btn{
  white-space:nowrap;
}

/* Kaartjes compacter: verberg Levering + Min. verhoging op overzichten (homepage + opgeslagen) */
.auction-card .auction-meta,
.auction-card .meta-row {
  display: none !important;
}

/* Aftelklok netjes uitlijnen in veilingkaarten */
.auction-card .auction-time {
  text-align: left;
}

.auction-card .auction-time .timer {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.chat-unread-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  padding:0 6px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  background:#e11d48;
  color:#fff;
  margin-left:8px;
}
