/* ============================================================
   ONLINEMEERSUCCES.NL — WordPress Admin Huisstijl Demo
   Primair blauw: #276482 | Accent oranje: #FF6600
   Fonts: Poppins + Nunito
   ============================================================ */

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

:root {
  --oms-blue:         #276482;
  --oms-blue-dark:    #1a4a61;
  --oms-blue-mid:     #2e7396;
  --oms-blue-light:   #e8f4f8;
  --oms-orange:       #FF6600;
  --oms-orange-hover: #e55a00;
  --oms-orange-light: #fff3eb;
  --oms-bg:           #f0f0f1;
  --oms-white:        #ffffff;
  --oms-text:         #1e1e1e;
  --oms-text-muted:   #6b7280;
  --oms-border:       #e2e8f0;
  --oms-sidebar-w:    220px;
  --oms-adminbar-h:   36px;
  --oms-footer-h:     36px;
  --font-head:        'Poppins', sans-serif;
  --font-body:        'Nunito', sans-serif;
  --radius:           8px;
  --radius-sm:        5px;
  --shadow:           0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:        0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:        0 8px 32px rgba(0,0,0,0.14);
}

html, body { font-family: var(--font-body); font-size: 14px; background: var(--oms-bg); color: var(--oms-text); min-height: 100vh; }
a { color: var(--oms-blue); text-decoration: none; }
a:hover { color: var(--oms-orange); }

/* SCREENS */
.screen { display: none; }
.screen.active { display: block; }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
#screen-login { min-height: 100vh; }

.login-page {
  min-height: 100vh;
  background: var(--oms-blue);
  background-image: radial-gradient(circle at 15% 50%, rgba(255,102,0,0.15) 0%, transparent 45%),
                    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.06) 0%, transparent 40%),
                    radial-gradient(circle at 50% 90%, rgba(26,74,97,0.8) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-bg-text {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: var(--font-head);
  font-size: 120px;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.login-box {
  background: var(--oms-white);
  border-radius: 16px;
  padding: 44px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.login-brand {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--oms-blue);
}

.login-tagline {
  font-size: 12px;
  color: var(--oms-text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.login-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--oms-text); }

.input-with-icon { position: relative; }
.input-with-icon .wp-input { padding-right: 40px; }
.input-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); cursor: pointer; font-size: 16px; opacity: 0.5; }

.checkbox-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; color: var(--oms-text-muted); font-weight: 500; }

.login-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--oms-border);
}
.login-footer a { font-size: 12px; color: var(--oms-text-muted); }
.login-footer a:hover { color: var(--oms-orange); }

/* ============================================================
   OMS LOGO MARK
   ============================================================ */
.oms-logo-mark {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--oms-orange);
  color: white;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,102,0,0.35);
}
.oms-logo-mark.small { width: 24px; height: 24px; font-size: 11px; box-shadow: none; }
.oms-logo-mark.medium { width: 34px; height: 34px; font-size: 15px; box-shadow: 0 2px 8px rgba(255,102,0,0.25); }

/* ============================================================
   ADMIN BAR
   ============================================================ */
#wpadminbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--oms-adminbar-h);
  background: var(--oms-blue-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.adminbar-left, .adminbar-right { display: flex; align-items: center; gap: 2px; }

.adminbar-logo {
  display: flex; align-items: center; gap: 7px;
  color: var(--oms-white);
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  padding: 0 12px 0 4px;
  margin-right: 4px;
  border-right: 1px solid rgba(255,255,255,0.15);
  letter-spacing: 0.5px;
  cursor: pointer;
}

.adminbar-item {
  position: relative;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  padding: 0 9px;
  height: var(--oms-adminbar-h);
  display: flex; align-items: center; gap: 5px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-radius: 3px;
  white-space: nowrap;
}
.adminbar-item:hover { background: rgba(255,255,255,0.1); color: var(--oms-white); }
.adminbar-item.has-sub:hover .adminbar-submenu { display: block; }

.ab-badge {
  background: rgba(255,255,255,0.25);
  color: white; font-size: 10px; font-weight: 700;
  padding: 1px 5px; border-radius: 10px;
}
.ab-badge.orange { background: var(--oms-orange); }

.adminbar-submenu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: var(--oms-blue-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0 0 8px 8px;
  min-width: 170px;
  box-shadow: var(--shadow-md);
  z-index: 1100;
}
.adminbar-submenu.right { left: auto; right: 0; }
.adminbar-submenu a {
  display: block; padding: 8px 14px;
  color: rgba(255,255,255,0.8); font-size: 12px;
  transition: background 0.15s;
}
.adminbar-submenu a:hover { background: rgba(255,255,255,0.1); color: white; }
.submenu-header {
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4px;
}
.submenu-header strong { display: block; color: white; font-size: 12px; }
.submenu-header span { font-size: 11px; color: rgba(255,255,255,0.5); }

.user-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--oms-orange); color: white;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
}

/* ============================================================
   LAYOUT
   ============================================================ */
#wpwrap { display: flex; padding-top: var(--oms-adminbar-h); min-height: 100vh; }

/* ============================================================
   SIDEBAR
   ============================================================ */
#adminmenu {
  width: var(--oms-sidebar-w);
  background: var(--oms-blue);
  position: fixed;
  top: var(--oms-adminbar-h); left: 0; bottom: 0;
  display: flex; flex-direction: column;
  overflow-y: auto; overflow-x: hidden;
  z-index: 900;
  box-shadow: 2px 0 12px rgba(0,0,0,0.12);
}

.menu-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 6px;
  cursor: pointer;
}
.menu-logo-text { color: var(--oms-white); font-family: var(--font-head); font-weight: 700; font-size: 13px; line-height: 1; }
.menu-logo-sub { color: rgba(255,255,255,0.5); font-size: 11px; }

#adminmenu ul { list-style: none; flex: 1; padding: 0 8px; overflow-y: auto; overflow-x: hidden; }
#adminmenu { overflow-y: hidden; }

.menu-separator {
  padding: 14px 10px 4px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: rgba(255,255,255,0.35);
}

.menu-item > a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 6px;
  color: rgba(255,255,255,0.72); font-size: 13px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
  cursor: pointer; position: relative;
}
.menu-item > a:hover { background: rgba(255,255,255,0.1); color: var(--oms-white); }

.menu-item.active > a {
  background: var(--oms-orange);
  color: var(--oms-white); font-weight: 600;
  box-shadow: 0 2px 8px rgba(255,102,0,0.35);
}

.menu-icon { width: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; opacity: 0.8; }
.menu-item.active .menu-icon { opacity: 1; }
.menu-label { flex: 1; }

.menu-badge {
  background: rgba(255,255,255,0.2); color: white;
  font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 10px;
  min-width: 18px; text-align: center;
}
.menu-badge.orange { background: var(--oms-orange); }
.menu-item.active .menu-badge { background: rgba(255,255,255,0.3); }

.menu-arrow { font-size: 18px; color: rgba(255,255,255,0.35); transition: transform 0.2s; line-height: 1; }
.menu-item.open .menu-arrow { transform: rotate(90deg); }

.submenu { display: none; list-style: none; padding: 2px 0 4px 30px; }
.menu-item.open .submenu { display: block; }
.submenu li a {
  display: block; padding: 6px 10px; border-radius: 4px;
  color: rgba(255,255,255,0.6); font-size: 12.5px;
  transition: color 0.15s, background 0.15s;
}
.submenu li a:hover { color: var(--oms-white); background: rgba(255,255,255,0.08); }

.menu-footer {
  padding: 12px 14px; margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.menu-footer-info { display: flex; gap: 8px; align-items: center; }
.wp-version, .theme-name { font-size: 11px; color: rgba(255,255,255,0.3); }
.wp-version::after { content: '·'; margin-left: 8px; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
#wpcontent {
  margin-left: var(--oms-sidebar-w);
  flex: 1;
  padding: 24px 28px 60px;
  min-height: calc(100vh - var(--oms-adminbar-h));
}

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

/* PAGE HEADER */
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 20px;
}
.page-header h1 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--oms-text); }
.page-subtitle { display: block; font-size: 13px; color: var(--oms-text-muted); margin-top: 3px; }
.header-actions { display: flex; gap: 8px; align-items: center; }

/* NOTICES */
.notice {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--radius);
  margin-bottom: 20px; font-size: 13px;
  border-left: 4px solid;
}
.notice-info { background: var(--oms-blue-light); border-color: var(--oms-blue); color: var(--oms-blue-dark); }
.notice-warning { background: #fffbeb; border-color: #d97706; color: #92400e; }
.notice-success { background: #f0fdf4; border-color: #16a34a; color: #14532d; }
.notice a { font-weight: 600; }

/* BUTTONS */
.btn-primary {
  background: var(--oms-orange); color: white; border: none;
  padding: 9px 18px; border-radius: 6px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(255,102,0,0.3);
}
.btn-primary:hover { background: var(--oms-orange-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,102,0,0.4); }
.btn-primary.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-primary.btn-full { width: 100%; justify-content: center; padding: 12px; font-size: 14px; }

.btn-secondary {
  background: var(--oms-white); color: var(--oms-text);
  border: 1.5px solid var(--oms-border);
  padding: 8px 14px; border-radius: 6px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.15s;
}
.btn-secondary:hover { border-color: var(--oms-blue); color: var(--oms-blue); background: var(--oms-blue-light); }
.btn-secondary.btn-sm { padding: 6px 12px; font-size: 12px; }

.btn-outline {
  background: transparent; color: var(--oms-blue);
  border: 1.5px solid var(--oms-blue);
  padding: 7px 14px; border-radius: 6px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.15s;
}
.btn-outline:hover { background: var(--oms-blue); color: white; }
.btn-outline.btn-sm { padding: 6px 12px; }

.btn-link { background: none; border: none; color: var(--oms-blue); font-size: 12px; cursor: pointer; padding: 0 4px; }
.btn-link:hover { color: var(--oms-orange); }

/* STATS */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 24px;
}
.stat-card {
  background: var(--oms-white); border-radius: var(--radius);
  padding: 18px 20px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow); border: 1px solid var(--oms-border);
  transition: box-shadow 0.2s, transform 0.2s; cursor: pointer; position: relative;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon.blue   { background: rgba(39,100,130,0.12); color: var(--oms-blue); }
.stat-icon.orange { background: rgba(255,102,0,0.12);  color: var(--oms-orange); }
.stat-icon.green  { background: rgba(22,163,74,0.12);  color: #16a34a; }
.stat-icon.purple { background: rgba(124,58,237,0.12); color: #7c3aed; }
.stat-info { flex: 1; }
.stat-value { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--oms-text); line-height: 1; }
.stat-label { display: block; font-size: 12px; color: var(--oms-text-muted); margin-top: 3px; }
.stat-trend { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
.stat-trend.up      { background: #f0fdf4; color: #16a34a; }
.stat-trend.down    { background: #fff7ed; color: #d97706; }
.stat-trend.neutral { background: #f8fafc; color: var(--oms-text-muted); }

/* DASHBOARD GRID */
.dashboard-grid { display: grid; grid-template-columns: 1fr 330px; gap: 20px; margin-bottom: 20px; }
.widget-sidebar { display: flex; flex-direction: column; gap: 20px; }

/* WIDGETS */
.widget { background: var(--oms-white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--oms-border); overflow: hidden; }
.widget.full-width { margin-bottom: 0; }
.widget-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; border-bottom: 1px solid var(--oms-border);
  background: #fafbfc;
}
.widget-header h2 { font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--oms-text); }
.widget-link { font-size: 12px; color: var(--oms-blue); font-weight: 600; }
.widget-body { padding: 20px; }
.widget-body.p0 { padding: 0; }

/* TABLE */
.wp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.wp-table thead th {
  text-align: left; padding: 10px 14px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--oms-text-muted); border-bottom: 2px solid var(--oms-border);
  background: #fafbfc;
}
.wp-table thead th.check-col { width: 36px; }
.wp-table tbody tr { border-bottom: 1px solid var(--oms-border); transition: background 0.1s; }
.wp-table tbody tr:last-child { border-bottom: none; }
.wp-table tbody tr:hover { background: #f8fafc; }
.wp-table td { padding: 11px 14px; color: var(--oms-text); vertical-align: middle; }
.wp-table td a { font-weight: 500; color: var(--oms-blue); }
.wp-table td a:hover { color: var(--oms-orange); }
.row-title { font-weight: 600 !important; font-size: 13.5px; }
.row-actions { white-space: nowrap; }
.action-edit { font-size: 12px; color: var(--oms-blue); font-weight: 600; }
.row-actions-inline { font-size: 12px; color: var(--oms-text-muted); margin-top: 3px; display: none; }
.wp-table tbody tr:hover .row-actions-inline { display: block; }
.row-actions-inline a { color: var(--oms-text-muted); margin-right: 4px; }
.row-actions-inline a:hover { color: var(--oms-orange); }
.row-actions-inline a.trash:hover { color: #dc2626; }
.row-actions-inline a.activate-link { color: var(--oms-blue); font-weight: 600; }
.row-actions-inline a.update-link { color: #16a34a; font-weight: 600; }
.row-actions-inline a.deactivate { color: var(--oms-text-muted); }

/* STATUS BADGES */
.status { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.status.published { background: rgba(22,163,74,0.1); color: #16a34a; }
.status.draft     { background: rgba(107,114,128,0.1); color: #6b7280; }
.status.review    { background: rgba(245,158,11,0.12); color: #d97706; }

/* SUBSUBSUB NAV */
.subsubsub { font-size: 13px; margin-bottom: 12px; color: var(--oms-text-muted); }
.subsubsub a { color: var(--oms-text-muted); }
.subsubsub a.current { color: var(--oms-text); font-weight: 600; }
.subsubsub .count { color: var(--oms-text-muted); }

/* TABLENAV */
.tablenav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 8px; flex-wrap: wrap; }
.tablenav-left, .tablenav-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tablenav-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.displaying-num { font-size: 12px; color: var(--oms-text-muted); }

.wp-input, .wp-textarea, .wp-select {
  padding: 8px 12px; border: 1.5px solid var(--oms-border); border-radius: 6px;
  font-family: var(--font-body); font-size: 13px; color: var(--oms-text); background: var(--oms-white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wp-input:focus, .wp-textarea:focus, .wp-select:focus { outline: none; border-color: var(--oms-blue); box-shadow: 0 0 0 3px rgba(39,100,130,0.12); }
.wp-input.wide, .wp-select.wide { width: 100%; max-width: 400px; }
.wp-textarea { resize: vertical; }
.wp-select { cursor: pointer; }
.search-input { min-width: 200px; }

/* PAGINATION */
.pagination { display: flex; gap: 4px; align-items: center; }
.page-numbers {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border-radius: 5px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--oms-border); color: var(--oms-text);
  transition: all 0.15s;
}
.page-numbers:hover { border-color: var(--oms-blue); color: var(--oms-blue); }
.page-numbers.current { background: var(--oms-orange); border-color: var(--oms-orange); color: white; }
.page-numbers.dots { border: none; }

/* QUICK DRAFT */
.quick-draft { display: flex; flex-direction: column; gap: 10px; }

/* HEALTH */
.health-score { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.health-circle { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.health-circle.good { background: rgba(22,163,74,0.1); color: #16a34a; border: 3px solid #16a34a; }
.health-details p { font-size: 12.5px; color: var(--oms-text-muted); margin-bottom: 10px; line-height: 1.5; }
.health-items { display: flex; flex-direction: column; gap: 6px; }
.health-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.health-item.ok { color: #16a34a; }
.health-item.warning { color: #d97706; }

/* GLANCE */
.glance-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.glance-item { background: #f8fafc; border-radius: 6px; padding: 12px; text-align: center; border: 1px solid var(--oms-border); }
.glance-count { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--oms-blue); }
.glance-label { display: block; font-size: 11px; color: var(--oms-text-muted); margin-top: 2px; }
.theme-info { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--oms-text-muted); padding-top: 12px; border-top: 1px solid var(--oms-border); }

/* ACTIVITY */
.activity-list { display: flex; flex-direction: column; }
.activity-item { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--oms-border); }
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.activity-dot.published { background: #16a34a; }
.activity-dot.comment   { background: var(--oms-blue); }
.activity-dot.draft     { background: #9ca3af; }
.activity-dot.update    { background: var(--oms-orange); }
.activity-content { flex: 1; font-size: 13px; }
.activity-time { font-size: 11.5px; color: var(--oms-text-muted); white-space: nowrap; }

/* ============================================================
   EDITOR
   ============================================================ */
.editor-layout { display: grid; grid-template-columns: 1fr 280px; gap: 20px; }
.editor-main { display: flex; flex-direction: column; gap: 16px; }
.editor-sidebar { display: flex; flex-direction: column; gap: 16px; }

.editor-title-input {
  width: 100%; font-family: var(--font-head); font-size: 20px; font-weight: 600;
  border: 1.5px solid transparent; border-radius: 6px; padding: 10px 14px;
  background: #f8fafc;
}
.editor-title-input:focus { background: white; border-color: var(--oms-blue); }
.editor-title-input::placeholder { color: #aaa; font-weight: 400; }

.editor-permalink { font-size: 12px; color: var(--oms-text-muted); margin-top: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.editor-tabs { display: flex; gap: 4px; }
.editor-tab { background: transparent; border: 1.5px solid var(--oms-border); padding: 5px 12px; border-radius: 5px; font-size: 12px; font-weight: 600; cursor: pointer; color: var(--oms-text-muted); transition: all 0.15s; }
.editor-tab.active { background: var(--oms-blue); border-color: var(--oms-blue); color: white; }

.editor-toolbar {
  display: flex; align-items: center; gap: 3px; flex-wrap: wrap;
  padding: 10px 0 12px; border-bottom: 1.5px solid var(--oms-border); margin-bottom: 14px;
}
.toolbar-btn { background: transparent; border: 1.5px solid var(--oms-border); width: 30px; height: 28px; border-radius: 4px; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: all 0.15s; color: var(--oms-text); }
.toolbar-btn:hover { background: var(--oms-blue-light); border-color: var(--oms-blue); color: var(--oms-blue); }
.toolbar-sep { width: 1px; height: 20px; background: var(--oms-border); margin: 0 4px; }
.toolbar-select { padding: 4px 8px; border: 1.5px solid var(--oms-border); border-radius: 4px; font-size: 12px; cursor: pointer; }

.editor-content {
  min-height: 280px; padding: 4px 0;
  line-height: 1.8; color: var(--oms-text);
  outline: none;
}
.editor-content h2 { font-family: var(--font-head); font-size: 18px; font-weight: 600; margin: 16px 0 8px; color: var(--oms-text); }
.editor-content p { margin-bottom: 12px; }

.featured-image-placeholder { display: flex; flex-direction: column; gap: 12px; }
.featured-image-preview { background: #f8fafc; border: 2px dashed var(--oms-border); border-radius: 8px; padding: 30px; text-align: center; color: var(--oms-text-muted); font-size: 13px; }
.featured-image-preview p { margin-top: 8px; }

.publish-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.publish-meta-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--oms-text-muted); }
.publish-meta-item a { font-size: 11px; margin-left: 4px; }
.publish-actions { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--oms-border); }
.trash-link { font-size: 12px; color: #dc2626; }
.trash-link:hover { color: #b91c1c; }

.checkbox-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.checkbox-list label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.add-new-link { font-size: 12px; color: var(--oms-blue); font-weight: 600; }

.tags-input-area { display: flex; flex-direction: column; gap: 10px; }
.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip { background: var(--oms-blue-light); color: var(--oms-blue); padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.tag-chip a { color: var(--oms-blue); margin-left: 4px; font-weight: 700; }

.seo-score { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.seo-score-circle { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 16px; font-weight: 700; flex-shrink: 0; }
.seo-score-circle.good { background: rgba(22,163,74,0.12); color: #16a34a; border: 3px solid #16a34a; }
.seo-checks { display: flex; flex-direction: column; gap: 6px; }
.seo-check { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.seo-check.ok { color: #16a34a; }
.seo-check.warning { color: #d97706; }

/* ============================================================
   USERS
   ============================================================ */
.user-cell { display: flex; align-items: center; gap: 12px; }
.user-avatar-lg { width: 36px; height: 36px; border-radius: 50%; color: white; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); flex-shrink: 0; }
.current-user-badge { font-size: 11px; color: var(--oms-text-muted); font-weight: 500; }
.current-user td { background: #fffbeb; }
.role-badge { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.role-badge.admin  { background: rgba(39,100,130,0.12); color: var(--oms-blue); }
.role-badge.editor { background: rgba(255,102,0,0.1); color: var(--oms-orange); }
.role-badge.author { background: rgba(124,58,237,0.1); color: #7c3aed; }

/* ============================================================
   PLUGINS
   ============================================================ */
.plugin-active { }
.plugin-update-available td { background: #fffbeb !important; }
.plugin-title { min-width: 180px; }
.plugin-version { font-size: 11.5px; color: var(--oms-text-muted); margin-top: 3px; }
.update-available { color: #d97706; font-weight: 600; }
.plugin-desc { font-size: 13px; color: var(--oms-text-muted); line-height: 1.5; }
.plugin-author { font-size: 12px; color: var(--oms-text-muted); margin-top: 4px; }

.toggle { position: relative; display: inline-block; width: 38px; height: 20px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: #d1d5db; border-radius: 20px; transition: 0.2s; }
.toggle-slider::before { position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.2s; }
.toggle input:checked + .toggle-slider { background: var(--oms-orange); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); }

/* ============================================================
   SETTINGS
   ============================================================ */
.settings-nav { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 2px solid var(--oms-border); }
.settings-nav-item { padding: 10px 18px; font-size: 13px; font-weight: 600; color: var(--oms-text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.15s; cursor: pointer; }
.settings-nav-item:hover { color: var(--oms-blue); }
.settings-nav-item.active { color: var(--oms-blue); border-bottom-color: var(--oms-orange); }

.settings-table { width: 100%; border-collapse: collapse; }
.settings-table th { width: 220px; text-align: right; padding: 14px 20px 14px 0; font-size: 13px; font-weight: 600; color: var(--oms-text); vertical-align: top; padding-top: 16px; }
.settings-table td { padding: 10px 0; border-bottom: 1px solid var(--oms-border); }
.settings-table tr:last-child td { border-bottom: none; }
.description { font-size: 12px; color: var(--oms-text-muted); margin-top: 5px; }
.radio-group { display: flex; flex-direction: column; gap: 6px; }
.radio-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.settings-submit { padding-top: 20px; border-top: 1px solid var(--oms-border); margin-top: 10px; }

/* ============================================================
   MEDIA
   ============================================================ */
.media-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.media-view-toggle { display: flex; gap: 4px; }
.view-btn { background: var(--oms-white); border: 1.5px solid var(--oms-border); width: 34px; height: 34px; border-radius: 5px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.view-btn.active { background: var(--oms-blue); border-color: var(--oms-blue); color: white; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.media-item { background: var(--oms-white); border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--oms-border); cursor: pointer; transition: all 0.2s; }
.media-item:hover { border-color: var(--oms-blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.media-thumb { height: 110px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8); letter-spacing: 1px; }
.media-info { padding: 8px 10px; }
.media-name { display: block; font-size: 11.5px; font-weight: 600; color: var(--oms-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-size { display: block; font-size: 11px; color: var(--oms-text-muted); margin-top: 2px; }

/* ============================================================
   ADMIN FOOTER
   ============================================================ */
#wpfooter {
  position: fixed; bottom: 0; left: var(--oms-sidebar-w); right: 0;
  height: var(--oms-footer-h);
  background: var(--oms-white); border-top: 1px solid var(--oms-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; font-size: 12px; color: var(--oms-text-muted);
  z-index: 800;
}
#wpfooter a { color: var(--oms-blue); font-weight: 600; }

/* SCROLLBAR */
#adminmenu::-webkit-scrollbar { width: 4px; }
#adminmenu::-webkit-scrollbar-track { background: transparent; }
#adminmenu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

/* ============================================================
   WOOCOMMERCE SPECIFIEKE STIJLEN
   ============================================================ */

/* WooCommerce status badges */
.woo-status {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.woo-status.processing  { background: rgba(39,100,130,0.12); color: var(--oms-blue); }
.woo-status.completed   { background: rgba(22,163,74,0.1);   color: #16a34a; }
.woo-status.on-hold     { background: rgba(245,158,11,0.12); color: #d97706; }
.woo-status.cancelled   { background: rgba(220,38,38,0.1);   color: #dc2626; }
.woo-status.refunded    { background: rgba(107,114,128,0.1); color: #6b7280; }
.woo-status.pending     { background: rgba(124,58,237,0.1);  color: #7c3aed; }

/* Bestellingstatus overzicht widget */
.order-status-list { display: flex; flex-direction: column; gap: 8px; }
.order-status-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: #f8fafc; border-radius: 6px;
  border: 1px solid var(--oms-border); cursor: pointer; transition: all 0.15s;
}
.order-status-item:hover { border-color: var(--oms-blue); background: var(--oms-blue-light); }
.order-status-count { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--oms-text); }

/* Populaire producten widget */
.popular-products { display: flex; flex-direction: column; gap: 10px; }
.popular-product-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: 6px; cursor: pointer;
  transition: background 0.15s; border: 1px solid transparent;
}
.popular-product-item:hover { background: #f8fafc; border-color: var(--oms-border); }
.product-thumb-mini {
  width: 40px; height: 40px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,0.8); letter-spacing: 0.5px;
}
.product-mini-info { flex: 1; min-width: 0; }
.product-mini-name { display: block; font-size: 12.5px; font-weight: 600; color: var(--oms-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-mini-sales { display: block; font-size: 11px; color: var(--oms-text-muted); }
.product-mini-price { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--oms-blue); white-space: nowrap; }

/* Order detail layout */
.order-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.order-detail-main { display: flex; flex-direction: column; gap: 16px; }
.order-detail-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* Order items table */
.order-items-table tfoot .order-total-row td { padding: 8px 14px; border-top: 1px solid var(--oms-border); font-size: 13px; color: var(--oms-text-muted); }
.order-items-table tfoot .order-total-row.total td { font-size: 14px; color: var(--oms-text); border-top: 2px solid var(--oms-border); }
.order-product-cell { display: flex; align-items: center; gap: 12px; }

/* Order notes */
.order-notes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.order-note { padding: 10px 14px; border-radius: 6px; border-left: 3px solid; }
.order-note.system { background: #f8fafc; border-color: var(--oms-border); }
.order-note.customer { background: var(--oms-blue-light); border-color: var(--oms-blue); }
.note-meta { font-size: 11px; color: var(--oms-text-muted); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.note-type { background: var(--oms-blue); color: white; padding: 1px 6px; border-radius: 10px; font-size: 10px; font-weight: 600; }
.order-note.customer .note-type { background: var(--oms-orange); }
.order-note p { font-size: 13px; color: var(--oms-text); }
.add-note { border-top: 1px solid var(--oms-border); padding-top: 14px; }

/* Customer detail block */
.customer-detail-block { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--oms-border); }
.customer-detail-avatar { width: 40px; height: 40px; border-radius: 50%; color: white; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); flex-shrink: 0; }
.detail-group { margin-bottom: 10px; }
.detail-group label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--oms-text-muted); margin-bottom: 3px; }
.detail-group p { font-size: 13px; color: var(--oms-text); line-height: 1.5; }

/* Product stock badges */
.stock-badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.stock-badge.instock  { background: rgba(22,163,74,0.1); color: #16a34a; }
.stock-badge.outstock { background: rgba(220,38,38,0.1); color: #dc2626; }

/* Product type badges */
.product-type-badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; background: rgba(39,100,130,0.1); color: var(--oms-blue); }
.product-type-badge.subscription { background: rgba(124,58,237,0.1); color: #7c3aed; }

/* Product data tabs */
.product-data-tabs { display: flex; gap: 4px; }
.product-tab { display: none; }
.product-tab.active { display: block; }

/* Revenue bar in reports */
.revenue-bar { width: 120px; height: 8px; background: var(--oms-border); border-radius: 4px; overflow: hidden; }
.revenue-fill { height: 100%; border-radius: 4px; transition: width 0.3s; }

/* WooCommerce icon in heading */
.woo-icon-inline { font-size: 20px; margin-right: 4px; }

/* Products WooCommerce table thumbnail column */
.products-woo-table td:nth-child(2) { width: 50px; padding-right: 0; }
