/* ============================================================
   WH Corporate Approval Plugin — Premium Design System v2.0
   Dark Glassmorphism Theme
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --wh-bg:            #0b0f1a;
  --wh-surface:       rgba(255,255,255,0.04);
  --wh-surface-hover: rgba(255,255,255,0.08);
  --wh-border:        rgba(255,255,255,0.10);
  --wh-border-focus:  rgba(99,102,241,0.70);

  --wh-primary:       #6366f1;
  --wh-primary-dark:  #4f46e5;
  --wh-primary-glow:  rgba(99,102,241,0.30);

  --wh-accent-a:      #06b6d4;  /* Accenture tab */
  --wh-accent-b:      #f59e0b;  /* Bosch tab */
  --wh-accent-n:      #10b981;  /* Novo-Nordisk tab */

  --wh-text:          #f1f5f9;
  --wh-text-muted:    #94a3b8;
  --wh-text-dim:      #64748b;

  --wh-success:       #10b981;
  --wh-success-bg:    rgba(16,185,129,0.12);
  --wh-error:         #ef4444;
  --wh-error-bg:      rgba(239,68,68,0.12);
  --wh-warning:       #f59e0b;
  --wh-warning-bg:    rgba(245,158,11,0.12);

  --wh-radius-sm:     6px;
  --wh-radius:        12px;
  --wh-radius-lg:     20px;
  --wh-shadow:        0 8px 32px rgba(0,0,0,0.40);
  --wh-shadow-glow:   0 0 40px rgba(99,102,241,0.15);

  --wh-transition:    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base Reset ── */
.wh-corp-wrap,
.wh-corp-wrap * {
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
}

.wh-corp-wrap {
  color: var(--wh-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   AUTH PAGES (Login / Register)
   ============================================================ */

.wh-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--wh-bg);
  position: relative;
  overflow: hidden;
}

/* Animated gradient orbs */
.wh-auth-page::before {
  content: '';
  position: fixed;
  top: -30%;
  left: -20%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: wh-orb1 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.wh-auth-page::after {
  content: '';
  position: fixed;
  bottom: -30%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: wh-orb2 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes wh-orb1 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(80px,40px) scale(1.15); }
}
@keyframes wh-orb2 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-60px,-30px) scale(1.10); }
}

/* Auth Card */
.wh-auth-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--wh-shadow), var(--wh-shadow-glow);
  position: relative;
  z-index: 1;
  animation: wh-card-in 0.5s ease both;
}

@keyframes wh-card-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo / Brand */
.wh-auth-brand {
  text-align: center;
  margin-bottom: 32px;
}
.wh-auth-brand .wh-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--wh-primary), var(--wh-accent-a));
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 0 24px var(--wh-primary-glow);
}
.wh-auth-brand h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--wh-text);
}
.wh-auth-brand p {
  margin: 0;
  font-size: 13px;
  color: var(--wh-text-muted);
}

/* ── Progress Steps ── */
.wh-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.wh-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.wh-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(50% + 16px);
  width: calc(100% - 8px);
  height: 2px;
  background: var(--wh-border);
  z-index: 0;
}
.wh-step:not(:last-child).wh-step--done::after {
  background: var(--wh-primary);
  transition: background 0.3s;
}
.wh-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--wh-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--wh-text-muted);
  background: var(--wh-surface);
  z-index: 1;
  transition: var(--wh-transition);
}
.wh-step--active .wh-step-dot {
  border-color: var(--wh-primary);
  background: var(--wh-primary);
  color: #fff;
  box-shadow: 0 0 12px var(--wh-primary-glow);
}
.wh-step--done .wh-step-dot {
  border-color: var(--wh-success);
  background: var(--wh-success);
  color: #fff;
}
.wh-step-label {
  font-size: 10px;
  color: var(--wh-text-dim);
  font-weight: 500;
  text-align: center;
  width: 70px;
  white-space: nowrap;
}
.wh-step--active .wh-step-label { color: var(--wh-primary); }
.wh-step--done .wh-step-label   { color: var(--wh-success); }

/* ── Form Panels ── */
.wh-form-panel {
  display: none;
  animation: wh-panel-in 0.35s ease both;
}
.wh-form-panel.wh-panel-active {
  display: block;
}
@keyframes wh-panel-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Form Groups ── */
.wh-form-group {
  margin-bottom: 20px;
  position: relative;
}

.wh-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wh-text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.wh-label .req { color: var(--wh-error); margin-left: 2px; }

.wh-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--wh-text);
  outline: none;
  transition: var(--wh-transition);
}
.wh-input::placeholder { color: var(--wh-text-dim); }
.wh-input:focus {
  border-color: var(--wh-primary);
  background: rgba(99,102,241,0.06);
  box-shadow: 0 0 0 3px var(--wh-primary-glow);
}
.wh-input.wh-input--error {
  border-color: var(--wh-error);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}
.wh-input.wh-input--success {
  border-color: var(--wh-success);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}

/* OTP Row */
.wh-otp-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.wh-otp-row .wh-input { flex: 1; }

/* ── Buttons ── */
.wh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--wh-radius-sm);
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--wh-transition);
  text-decoration: none;
  white-space: nowrap;
}
.wh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.wh-btn--primary {
  width: 100%;
  background: linear-gradient(135deg, var(--wh-primary), var(--wh-primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px var(--wh-primary-glow);
}
.wh-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--wh-primary-glow);
}
.wh-btn--primary:active { transform: translateY(0); }

.wh-btn--outline {
  background: transparent;
  border: 1px solid var(--wh-primary);
  color: var(--wh-primary);
  padding: 10px 16px;
  font-size: 13px;
}
.wh-btn--outline:hover {
  background: var(--wh-primary-glow);
}
.wh-btn--outline:disabled {
  border-color: var(--wh-text-dim);
  color: var(--wh-text-dim);
}

.wh-btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

/* Spinner inside button */
.wh-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wh-spin 0.7s linear infinite;
  display: none;
}
.wh-btn--loading .wh-spinner { display: inline-block; }
.wh-btn--loading .wh-btn-text { display: none; }

@keyframes wh-spin { to { transform: rotate(360deg); } }

/* ── Alerts ── */
.wh-alert {
  padding: 12px 16px;
  border-radius: var(--wh-radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: wh-alert-in 0.3s ease both;
}
@keyframes wh-alert-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wh-alert--error   { background: var(--wh-error-bg);   color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.wh-alert--success { background: var(--wh-success-bg); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.wh-alert--warning { background: var(--wh-warning-bg); color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }
.wh-alert--info    { background: rgba(99,102,241,0.1); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.3); }
.wh-alert-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── Divider ── */
.wh-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--wh-text-dim);
  font-size: 12px;
}
.wh-divider::before,
.wh-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--wh-border);
}

/* ── Auth Links ── */
.wh-auth-links {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--wh-text-muted);
}
.wh-auth-links a {
  color: var(--wh-primary);
  text-decoration: none;
  font-weight: 600;
}
.wh-auth-links a:hover { text-decoration: underline; }

/* OTP status indicator */
.wh-otp-status {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wh-otp-status--verified { color: var(--wh-success); }
.wh-otp-status--pending  { color: var(--wh-text-dim); }

.wh-resend-timer {
  font-size: 12px;
  color: var(--wh-text-dim);
  margin-top: 6px;
}
.wh-resend-timer a {
  color: var(--wh-primary);
  text-decoration: none;
  cursor: pointer;
}

/* Success Step */
.wh-success-step {
  text-align: center;
  padding: 20px 0;
}
.wh-success-icon {
  width: 72px;
  height: 72px;
  background: var(--wh-success-bg);
  border: 2px solid var(--wh-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  animation: wh-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes wh-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.wh-success-step h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.wh-success-step p  { color: var(--wh-text-muted); font-size: 14px; margin: 0 0 24px; }

/* ============================================================
   DASHBOARD
   ============================================================ */

.wh-dash-page {
  min-height: 100vh;
  background: var(--wh-bg);
  color: var(--wh-text);
  padding: 0;
}

/* Top Nav Bar */
.wh-topbar {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wh-border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.wh-topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.wh-topbar-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--wh-primary), var(--wh-accent-a));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}
.wh-topbar-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--wh-text);
}
.wh-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wh-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wh-avatar-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wh-primary), #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.wh-topbar-username {
  font-size: 14px;
  font-weight: 600;
  color: var(--wh-text);
}
.wh-topbar-logout {
  font-size: 13px;
  color: var(--wh-text-dim);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-sm);
  transition: var(--wh-transition);
}
.wh-topbar-logout:hover {
  color: var(--wh-error);
  border-color: var(--wh-error);
}

/* Dashboard Body */
.wh-dash-body {
  display: flex;
  min-height: calc(100vh - 64px);
}

/* Sidebar */
.wh-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid var(--wh-border);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
}
.wh-sidebar-profile {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--wh-border);
  margin-bottom: 24px;
}
.wh-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wh-primary), #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 12px;
  box-shadow: 0 0 24px var(--wh-primary-glow);
}
.wh-sidebar-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--wh-text);
  margin: 0 0 4px;
}
.wh-sidebar-email {
  font-size: 12px;
  color: var(--wh-text-muted);
  margin: 0 0 12px;
  word-break: break-all;
}
.wh-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wh-platform-badge--accenture  { background: rgba(6,182,212,0.15);  color: var(--wh-accent-a); border: 1px solid rgba(6,182,212,0.3); }
.wh-platform-badge--bosch       { background: rgba(245,158,11,0.15); color: var(--wh-accent-b); border: 1px solid rgba(245,158,11,0.3); }
.wh-platform-badge--novo-nordisk{ background: rgba(16,185,129,0.15); color: var(--wh-accent-n); border: 1px solid rgba(16,185,129,0.3); }
.wh-platform-badge--unknown     { background: rgba(148,163,184,0.1); color: var(--wh-text-dim);  border: 1px solid var(--wh-border); }

/* Sidebar Nav */
.wh-sidenav { list-style: none; margin: 0; padding: 0; flex: 1; }
.wh-sidenav li { margin-bottom: 4px; }
.wh-sidenav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--wh-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--wh-radius-sm);
  transition: var(--wh-transition);
}
.wh-sidenav a:hover {
  background: var(--wh-surface-hover);
  color: var(--wh-text);
}
.wh-sidenav a.active {
  background: rgba(99,102,241,0.15);
  color: var(--wh-primary);
  font-weight: 600;
}
.wh-sidenav a .nav-icon { font-size: 18px; width: 20px; text-align: center; }
.wh-sidenav .wh-logout-link { color: var(--wh-error); }
.wh-sidenav .wh-logout-link:hover { background: rgba(239,68,68,0.1); }

/* Main Content Area */
.wh-main {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  min-width: 0;
}
.wh-main-header {
  margin-bottom: 32px;
}
.wh-main-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--wh-text);
  margin: 0 0 6px;
}
.wh-main-subtitle {
  font-size: 14px;
  color: var(--wh-text-muted);
  margin: 0;
}

/* Stats Grid */
.wh-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.wh-stat-card {
  background: var(--wh-surface);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--wh-transition);
}
.wh-stat-card:hover {
  border-color: var(--wh-border-focus);
  transform: translateY(-3px);
  box-shadow: var(--wh-shadow);
}
.wh-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wh-primary), var(--wh-accent-a));
}
.wh-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--wh-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}
.wh-stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--wh-text);
  margin: 0 0 4px;
  line-height: 1;
}
.wh-stat-sub {
  font-size: 12px;
  color: var(--wh-text-muted);
}
.wh-stat-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  opacity: 0.12;
}

/* ── Platform Tabs ── */
.wh-platform-tabs {
  display: flex;
  gap: 4px;
  background: var(--wh-surface);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius);
  padding: 6px;
  margin-bottom: 28px;
  width: fit-content;
  flex-wrap: wrap;
}
.wh-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--wh-radius-sm);
  cursor: pointer;
  background: transparent;
  color: var(--wh-text-muted);
  transition: var(--wh-transition);
  white-space: nowrap;
}
.wh-tab-btn:hover { color: var(--wh-text); background: var(--wh-surface-hover); }
.wh-tab-btn.active[data-tab="accenture"]   { background: rgba(6,182,212,0.15);  color: var(--wh-accent-a); }
.wh-tab-btn.active[data-tab="bosch"]       { background: rgba(245,158,11,0.15); color: var(--wh-accent-b); }
.wh-tab-btn.active[data-tab="novo-nordisk"]{ background: rgba(16,185,129,0.15); color: var(--wh-accent-n); }
.wh-tab-btn .tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.wh-tab-btn[data-tab="accenture"]   .tab-dot { background: var(--wh-accent-a); }
.wh-tab-btn[data-tab="bosch"]       .tab-dot { background: var(--wh-accent-b); }
.wh-tab-btn[data-tab="novo-nordisk"].tab-dot { background: var(--wh-accent-n); }

/* Tab panels */
.wh-tab-panel { display: none; animation: wh-panel-in 0.3s ease both; }
.wh-tab-panel.active { display: block; }

/* ── Services Grid ── */
.wh-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.wh-service-card {
  background: var(--wh-surface);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--wh-transition);
  position: relative;
  cursor: pointer;
}
.wh-service-card:hover {
  border-color: var(--wh-border-focus);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), var(--wh-shadow-glow);
}
.wh-service-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(6,182,212,0.2));
  display: block;
}
.wh-service-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wh-service-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--wh-text);
  margin: 0 0 8px;
  line-height: 1.4;
}
.wh-service-desc {
  font-size: 12px;
  color: var(--wh-text-muted);
  margin: 0 0 12px;
  flex: 1;
  line-height: 1.5;
}
.wh-service-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--wh-text);
  margin: 0 0 14px;
}
.wh-service-price del {
  font-size: 14px;
  font-weight: 400;
  color: var(--wh-text-dim);
  margin-right: 6px;
}
.wh-service-footer {
  display: flex;
  gap: 8px;
}
.wh-service-btn-view {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-sm);
  background: transparent;
  color: var(--wh-text-muted);
  text-align: center;
  text-decoration: none;
  transition: var(--wh-transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wh-service-btn-view:hover {
  border-color: var(--wh-primary);
  color: var(--wh-primary);
}
.wh-service-btn-order {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--wh-primary), var(--wh-primary-dark));
  color: #fff;
  border: none;
  border-radius: var(--wh-radius-sm);
  cursor: pointer;
  transition: var(--wh-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.wh-service-btn-order:hover {
  box-shadow: 0 4px 16px var(--wh-primary-glow);
  transform: translateY(-1px);
}

/* ── Order Modal ── */
.wh-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.70);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.wh-modal-overlay.wh-modal-open {
  opacity: 1;
  pointer-events: all;
}
.wh-modal {
  background: #131929;
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--wh-shadow);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.wh-modal-overlay.wh-modal-open .wh-modal {
  transform: scale(1) translateY(0);
}
.wh-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.wh-modal-title { font-size: 20px; font-weight: 700; margin: 0; }
.wh-modal-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--wh-border);
  border-radius: 50%;
  background: transparent;
  color: var(--wh-text-muted);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--wh-transition);
  flex-shrink: 0;
}
.wh-modal-close:hover { border-color: var(--wh-error); color: var(--wh-error); }
.wh-modal-product-summary {
  background: var(--wh-surface);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}
.wh-modal-product-name { font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.wh-modal-product-price { font-size: 24px; font-weight: 800; color: var(--wh-primary); margin: 0; }

/* Order Confirmation (inside modal) */
.wh-order-confirm {
  text-align: center;
  padding: 20px 0;
}
.wh-order-confirm .wh-success-icon { margin-bottom: 20px; }
.wh-vendor-details {
  background: var(--wh-success-bg);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--wh-radius-sm);
  padding: 16px;
  margin-top: 16px;
  text-align: left;
}
.wh-vendor-details h4 { font-size: 13px; color: var(--wh-success); margin: 0 0 10px; font-weight: 700; }
.wh-vendor-detail-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.wh-vendor-detail-row span:first-child { color: var(--wh-text-muted); }
.wh-vendor-detail-row span:last-child  { color: var(--wh-text); font-weight: 600; font-family: monospace; }
.wh-redeem-link {
  display: block;
  margin-top: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--wh-success), #059669);
  color: #fff;
  border-radius: var(--wh-radius-sm);
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: var(--wh-transition);
}
.wh-redeem-link:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(16,185,129,0.3); }

/* ── Profile Page inside dashboard ── */
.wh-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.wh-profile-field {
  background: var(--wh-surface);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-sm);
  padding: 16px 18px;
}
.wh-profile-field-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--wh-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.wh-profile-field-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--wh-text);
}

/* ── Orders Table ── */
.wh-orders-table {
  width: 100%;
  border-collapse: collapse;
}
.wh-orders-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--wh-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--wh-border);
}
.wh-orders-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
  color: var(--wh-text);
}
.wh-orders-table tr:hover td { background: var(--wh-surface-hover); }
.wh-order-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.wh-order-status--completed { background: var(--wh-success-bg); color: var(--wh-success); }
.wh-order-status--pending   { background: var(--wh-warning-bg); color: var(--wh-warning); }
.wh-order-status--processing{ background: rgba(99,102,241,0.1); color: var(--wh-primary); }

/* ── Empty State ── */
.wh-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--wh-text-muted);
}
.wh-empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.wh-empty-state h4 { font-size: 18px; font-weight: 700; color: var(--wh-text); margin: 0 0 8px; }
.wh-empty-state p  { font-size: 14px; margin: 0; }

/* ── Pending / Access Denied ── */
.wh-access-denied {
  text-align: center;
  padding: 80px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.wh-access-denied .lock-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.6;
}
.wh-access-denied h2 { font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.wh-access-denied p  { color: var(--wh-text-muted); margin: 0 0 24px; font-size: 15px; }

/* ── Admin Page ── */
.wh-admin-wrap { max-width: 1100px; }
.wh-admin-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid #2d3748;
  margin-bottom: 28px;
}
.wh-admin-tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #94a3b8;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.wh-admin-tab.active, .wh-admin-tab:hover { color: var(--wh-primary); border-bottom-color: var(--wh-primary); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .wh-dash-body { flex-direction: column; }
  .wh-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--wh-border); padding: 20px; }
  .wh-sidebar-profile { display: flex; align-items: center; gap: 16px; text-align: left; padding: 0 0 16px; }
  .wh-sidenav { display: flex; flex-wrap: wrap; gap: 4px; }
  .wh-main { padding: 24px 16px; }
  .wh-profile-grid { grid-template-columns: 1fr; }
  .wh-topbar { padding: 0 16px; }
}

@media (max-width: 600px) {
  .wh-auth-card { padding: 32px 24px; }
  .wh-platform-tabs { width: 100%; }
  .wh-tab-btn { flex: 1; justify-content: center; padding: 10px 12px; font-size: 12px; }
  .wh-stats-grid { grid-template-columns: 1fr 1fr; }
  .wh-topbar-username { display: none; }
}

/* ── Notifications ── */
.wh-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wh-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--wh-surface);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius);
  transition: var(--wh-transition);
}
.wh-notif-item:hover {
  background: var(--wh-surface-hover);
  border-color: var(--wh-primary);
}
.wh-notif-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.wh-notif-body { flex: 1; }
.wh-notif-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--wh-text);
  margin-bottom: 4px;
}
.wh-notif-msg {
  font-size: 13px;
  color: var(--wh-text-muted);
  margin-bottom: 4px;
}
.wh-notif-time {
  font-size: 12px;
  color: var(--wh-text-dim);
}

/* ── Coupons ── */
.wh-coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.wh-coupon-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.08));
  border: 1px dashed rgba(99,102,241,0.5);
  border-radius: var(--wh-radius);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: var(--wh-transition);
}
.wh-coupon-card::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 70%);
  border-radius: 50%;
}
.wh-coupon-card:hover {
  border-color: var(--wh-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.2);
}
.wh-coupon-badge {
  display: inline-block;
  background: var(--wh-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.wh-coupon-code {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--wh-text);
  font-family: monospace;
  margin-bottom: 8px;
}
.wh-coupon-desc {
  font-size: 13px;
  color: var(--wh-text-muted);
  margin-bottom: 8px;
}
.wh-coupon-exp {
  font-size: 12px;
  color: var(--wh-text-dim);
  margin-bottom: 16px;
}
.wh-coupon-copy {
  display: block;
  width: 100%;
  padding: 10px;
  background: rgba(99,102,241,0.15);
  border: 1px solid var(--wh-primary);
  border-radius: var(--wh-radius-sm);
  color: var(--wh-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--wh-transition);
  text-align: center;
}
.wh-coupon-copy:hover,
.wh-coupon-copy--done {
  background: var(--wh-primary);
  color: #fff;
}

/* ── Service Page Platform Header ── */
.wh-platform-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wh-border);
}
.wh-platform-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--wh-text);
  margin: 0 0 6px;
}
.wh-platform-desc {
  font-size: 14px;
  color: var(--wh-text-muted);
  margin: 0;
}
.wh-service-platform-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.wh-sidenav-service-link {
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(6,182,212,0.1));
  border: 1px solid rgba(99,102,241,0.4) !important;
  border-radius: var(--wh-radius-sm);
  margin-top: 8px;
}
.wh-sidenav-service-link:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.35), rgba(6,182,212,0.2)) !important;
  color: #fff !important;
}

/* ============================================================
   CART DRAWER & BADGES & MULTI-ORDER CONFIRMATION
   ============================================================ */

/* Topbar Cart Trigger Button */
.wh-topbar-cart-toggle {
  background: var(--wh-surface);
  border: 1px solid var(--wh-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--wh-transition);
  color: var(--wh-text);
  padding: 0;
  outline: none;
  margin-right: 8px;
}
.wh-topbar-cart-toggle:hover {
  background: var(--wh-surface-hover);
  border-color: var(--wh-border-focus);
  box-shadow: 0 0 12px var(--wh-primary-glow);
  transform: translateY(-2px);
}
.wh-topbar-cart-toggle .cart-icon {
  font-size: 18px;
}
.wh-topbar-cart-toggle .cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--wh-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--wh-bg);
  animation: wh-badge-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes wh-badge-pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* Sidebar Cart Badge */
.cart-badge-inline {
  background: var(--wh-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Cart Drawer Container */
.wh-cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: rgba(11, 15, 26, 0.85); /* Glassmorphic dark */
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid var(--wh-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6), var(--wh-shadow-glow);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.wh-cart-drawer.open {
  right: 0;
}
.wh-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.wh-cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer Header */
.wh-cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--wh-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wh-cart-drawer-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--wh-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.wh-cart-drawer-close {
  background: transparent;
  border: none;
  color: var(--wh-text-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: var(--wh-transition);
  padding: 0;
  outline: none;
}
.wh-cart-drawer-close:hover {
  color: var(--wh-error);
  transform: rotate(90deg);
}

/* Drawer Body & Cart List */
.wh-cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wh-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  color: var(--wh-text-muted);
}
.wh-cart-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.wh-cart-empty h4 {
  margin: 0 0 8px;
  color: var(--wh-text);
}

/* Cart Item Card */
.wh-cart-item {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius);
  padding: 16px;
  position: relative;
  transition: var(--wh-transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.wh-cart-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Left thumb border based on platform */
.wh-cart-item--accenture { border-left: 3px solid var(--wh-accent-a); }
.wh-cart-item--bosch { border-left: 3px solid var(--wh-accent-b); }
.wh-cart-item--novo-nordisk { border-left: 3px solid var(--wh-accent-n); }

.wh-cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--wh-radius-sm);
  object-fit: cover;
  border: 1px solid var(--wh-border);
  flex-shrink: 0;
}
.wh-cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wh-cart-item-name {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wh-text);
  line-height: 1.4;
  padding-right: 20px;
}
.wh-cart-item-platform-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 8px;
}
.wh-cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--wh-text);
}

/* Qty Adjustment Control */
.wh-cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.wh-cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--wh-border);
  background: var(--wh-surface);
  color: var(--wh-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: var(--wh-transition);
  user-select: none;
  outline: none;
}
.wh-cart-qty-btn:hover {
  background: var(--wh-surface-hover);
  border-color: var(--wh-border-focus);
}
.wh-cart-qty-val {
  font-size: 14px;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

/* Delete button */
.wh-cart-item-remove {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--wh-text-dim);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: var(--wh-transition);
  outline: none;
}
.wh-cart-item-remove:hover {
  color: var(--wh-error);
  transform: scale(1.15);
}

/* Drawer Footer */
.wh-cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--wh-border);
  background: rgba(11, 15, 26, 0.95);
}
.wh-cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--wh-text);
}
.wh-cart-subtotal-row span:last-child {
  font-size: 18px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.1);
}

/* Add to Cart button styles on cards */
.wh-service-btn-add-to-cart {
  background: linear-gradient(135deg, var(--wh-primary), var(--wh-primary-dark));
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--wh-radius-sm);
  cursor: pointer;
  transition: var(--wh-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  outline: none;
}
.wh-service-btn-add-to-cart:hover {
  box-shadow: 0 0 16px var(--wh-primary-glow);
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.wh-service-btn-add-to-cart:active {
  transform: translateY(0);
}

/* Multi-order Details Styles */
.wh-confirm-multi-order-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius);
  padding: 14px;
  margin-bottom: 12px;
  text-align: left;
}
.wh-confirm-multi-plat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.wh-confirm-multi-plat-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.wh-confirm-multi-order-id {
  font-size: 12px;
  color: var(--wh-text-muted);
}
.wh-confirm-multi-item-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.04);
}
.wh-confirm-multi-item-row:last-child {
  border-bottom: none;
}
.wh-confirm-multi-item-name {
  color: var(--wh-text);
  font-weight: 500;
  font-size: 13px;
}
.wh-confirm-multi-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wh-confirm-multi-item-ref {
  color: var(--wh-text-dim);
  font-size: 11px;
}
.wh-confirm-multi-redeem-btn {
  display: inline-block;
  background: var(--wh-primary);
  color: #fff !important;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--wh-transition);
}
.wh-confirm-multi-redeem-btn:hover {
  background: var(--wh-primary-dark);
}


