﻿/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   OLYMPIA CRM+ v2 - Design System
   Premium web interface using CSS custom properties
   Elevated for S.M.A.R.T (Sales) Dashboard Redesign
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ TOKENS Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
:root {
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-jakarta: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Department accent colours */
  --smart-500: #16a34a;
  --smart-600: #15803d;
  --smart-100: #dcfce7;

  --enroll-500: #2563eb;
  --enroll-600: #1d4ed8;
  --enroll-100: #dbeafe;

  --media-500: #a855f7;
  --media-600: #9333ea;
  --media-100: #f3e8ff;

  --admin-500: #dc2626;
  --admin-600: #b91c1c;
  --admin-100: #fee2e2;

  --databank-500: #7c3aed;
  --databank-600: #6d28d9;

  /* Neutral palette */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;

  /* Surfaces */
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow: 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, .18);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* Animation */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --fast: 150ms;
  --med: 250ms;
  --slow: 400ms;

  /* S.M.A.R.T Glassmorphism specific */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  --smart-primary: #059669;
  --smart-primary-light: #e6f4ea;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ RESET Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--gray-100);
  color: var(--gray-900);
  min-height: 100vh;
  overflow-x: hidden;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  outline: none;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ SCREENS Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.screen {
  display: none;
  min-height: 100vh;
}

.screen.active {
  display: block;
}

.screen.hidden {
  display: none !important;
}

.hidden {
  display: none !important;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ WELCOME SCREEN Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
#screen-welcome {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #0f172a 100%);
}

.welcome-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 20%, rgba(37, 99, 235, .15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(168, 85, 247, .12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 60% 10%, rgba(22, 163, 74, .10) 0%, transparent 70%);
  animation: bg-pulse 8s ease-in-out infinite alternate;
}

@keyframes bg-pulse {
  from {
    opacity: 1;
  }

  to {
    opacity: .75;
  }
}

/* Subtle grid overlay */
#screen-welcome::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.welcome-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  animation: fade-up .7s var(--ease) both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: fade-up .7s var(--ease) .1s both;
}

.logo-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 32px rgba(168, 85, 247, .5);
  animation: ring-glow 3s ease-in-out infinite alternate;
}

.welcome-logo-img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.15));
  animation: logo-glow 3s ease-in-out infinite alternate;
}

@keyframes logo-glow {
  from {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
  }

  to {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.25));
  }
}

@keyframes ring-glow {
  from {
    box-shadow: 0 0 24px rgba(37, 99, 235, .5);
  }

  to {
    box-shadow: 0 0 48px rgba(168, 85, 247, .7);
  }
}

.welcome-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}

.welcome-title .plus {
  color: #a855f7;
}

.welcome-subtitle {
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
  margin-top: 4px;
}

/* Department Cards Grid */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  animation: fade-up .7s var(--ease) .2s both;
}

.dept-card {
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease), background var(--med) var(--ease);
  cursor: pointer;
  text-align: left;
  color: white;
  position: relative;
  overflow: hidden;
}

.dept-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .1) 0%, transparent 60%);
  transition: opacity var(--med) var(--ease);
}

.dept-card:hover::before {
  opacity: 1;
}

.dept-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-xl);
}

.dept-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.dept-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2;
  color: white;
}

.dept-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .5px;
}

.dept-desc {
  font-size: .8rem;
  color: rgba(255, 255, 255, .6);
}

.dept-arrow {
  font-size: 1.4rem;
  margin-top: auto;
  opacity: .5;
  transition: opacity var(--fast);
}

.dept-card:hover .dept-arrow {
  opacity: 1;
}

/* Department card accent colours */
.card-smart {
  border-color: rgba(22, 163, 74, .35);
}

.card-smart:hover {
  border-color: rgba(22, 163, 74, .7);
  box-shadow: 0 20px 60px rgba(22, 163, 74, .2);
}

.card-enroll {
  border-color: rgba(37, 99, 235, .35);
}

.card-enroll:hover {
  border-color: rgba(37, 99, 235, .7);
  box-shadow: 0 20px 60px rgba(37, 99, 235, .2);
}

.card-media {
  border-color: rgba(168, 85, 247, .35);
}

.card-media:hover {
  border-color: rgba(168, 85, 247, .7);
  box-shadow: 0 20px 60px rgba(168, 85, 247, .2);
}

.card-admin {
  border-color: rgba(220, 38, 38, .35);
}

.card-admin:hover {
  border-color: rgba(220, 38, 38, .7);
  box-shadow: 0 20px 60px rgba(220, 38, 38, .2);
}

.card-databank {
  border-color: rgba(124, 58, 237, .35);
}

.card-databank:hover {
  border-color: rgba(124, 58, 237, .7);
  box-shadow: 0 20px 60px rgba(124, 58, 237, .2);
}

/* Last row: 2 cards centered */
.dept-grid>*:nth-child(4) {
  grid-column: 1 / 2;
}

.dept-grid>*:nth-child(5) {
  grid-column: 3 / 4;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ MODAL OVERLAY Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in var(--med) var(--ease);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-box {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 40px;
  min-width: 380px;
  max-width: 580px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: slide-up var(--med) var(--ease);
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gray-100);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  color: var(--gray-500);
  transition: background var(--fast), color var(--fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

/* Login Form */
.login-header {
  height: 6px;
  border-radius: var(--r-full) var(--r-full) 0 0;
  margin: -40px -40px 28px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.login-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.login-hint {
  color: var(--gray-500);
  font-size: .88rem;
  margin-bottom: 24px;
}

.field-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  display: block;
  margin-bottom: 6px;
  margin-top: 16px;
}

.field-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .95rem;
  color: var(--gray-900);
  transition: border-color var(--fast), box-shadow var(--fast);
  background: var(--surface);
}

.field-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
}

.pw-wrap {
  position: relative;
}

.pw-wrap .field-input {
  padding-right: 44px;
}

.pw-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  font-size: 1rem;
  color: var(--gray-400);
  transition: color var(--fast);
}

.pw-toggle:hover {
  color: var(--gray-700);
}

.login-btns {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ BUTTONS Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.btn-primary {
  padding: 11px 24px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: .95rem;
  color: white;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transition: opacity var(--fast), transform var(--fast), box-shadow var(--fast);
  box-shadow: 0 2px 8px rgba(99, 102, 241, .35);
  flex: 1;
}

.btn-primary:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 4px 14 rgba(99, 102, 241, .45);
}

.btn-ghost {
  padding: 11px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: background var(--fast), color var(--fast);
  flex: 1;
}

.btn-ghost:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.btn-ghost-sm {
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background var(--fast), color var(--fast);
}

.btn-ghost-sm:hover {
  background: rgba(255, 255, 255, .2);
  color: white;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ DEPARTMENT HEADERS Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.dept-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.smart-header {
  background: linear-gradient(90deg, #15803d, #16a34a);
}

.enroll-header {
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
}

.media-header {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
}

.admin-header {
  background: linear-gradient(90deg, #b91c1c, #dc2626);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2.2;
  color: white;
}

.header-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: .5px;
}

.header-sub {
  font-size: .8rem;
  color: rgba(255, 255, 255, .65);
  margin-top: 2px;
}

.badge-connected {
  background: rgba(255, 255, 255, .15);
  color: #86efac;
  border-radius: var(--r-full);
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 600;
  border: 1px solid rgba(134, 239, 172, .3);
}

.user-badge {
  background: rgba(255, 255, 255, .2);
  color: white;
  border-radius: var(--r-full);
  padding: 4px 14px;
  font-size: .8rem;
  font-weight: 600;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ DASHBOARD BODY Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.dash-body {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ STATS ROW Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.stats-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  min-width: 130px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--med), box-shadow var(--med);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stat-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 4px;
}

.stat-sub {
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ CAMPAIGNS PANEL Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.campaigns-panel {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.panel-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.panel-badge {
  background: var(--gray-100);
  border-radius: var(--r-full);
  padding: 2px 10px;
  font-size: .75rem;
  margin-left: 8px;
}

.campaigns-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.campaign-chip {
  background: linear-gradient(135deg, #f3e8ff, #e0f2fe);
  border: 1px solid #e9d5ff;
  border-radius: var(--r-full);
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 600;
  color: #6d28d9;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ ACTIONS CARD Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.actions-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 14px;
}

.actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 11px 22px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: .9rem;
  color: white;
  transition: opacity var(--fast), transform var(--fast), box-shadow var(--fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.action-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}

.smart-btn {
  background: linear-gradient(135deg, var(--smart-500), var(--smart-600));
}

.enroll-btn {
  background: linear-gradient(135deg, var(--enroll-500), var(--enroll-600));
}

.media-btn {
  background: linear-gradient(135deg, var(--media-500), var(--media-600));
}

.admin-btn {
  background: linear-gradient(135deg, var(--admin-500), var(--admin-600));
}

.blue-btn {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.purple-btn {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
}

.green-btn {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ FILTER PILLS Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-right: 4px;
}

.pill {
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--gray-600);
  background: var(--surface);
  transition: background var(--fast), color var(--fast), border-color var(--fast), transform var(--fast);
}

.pill:hover {
  transform: translateY(-1px);
}

.pill.active,
.pill:hover {
  color: white;
  border-color: transparent;
}

.pill-all.active,
.pill-all:hover {
  background: var(--gray-700);
}

.pill-reject.active,
.pill-reject:hover {
  background: #dc2626;
}

.pill-potential.active,
.pill-potential:hover {
  background: #2563eb;
}

.pill-followup.active,
.pill-followup:hover {
  background: #7c3aed;
}

.pill-register.active,
.pill-register:hover {
  background: #16a34a;
}

.pill-notgen.active,
.pill-notgen:hover {
  background: #d97706;
}

.pill-generated.active,
.pill-generated:hover {
  background: #2563eb;
}

.pill-completed.active,
.pill-completed:hover {
  background: #16a34a;
}

.pill-noresponse.active,
.pill-noresponse:hover {
  background: #64748b;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ SEARCH BAR Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.search-bar-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: .9rem;
  background: var(--surface);
  color: var(--gray-900);
  transition: border-color var(--fast), box-shadow var(--fast);
}

.search-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .12);
}

.btn-export {
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-size: .85rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  transition: opacity var(--fast), transform var(--fast);
  white-space: nowrap;
}

.btn-export:hover {
  opacity: .9;
  transform: translateY(-1px);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ DATA TABLE Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.table-wrapper {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: auto;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.data-table thead {
  background: var(--gray-50);
}

.data-table th {
  padding: 13px 14px;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .4px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr {
  transition: background var(--fast);
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.status-REJECT {
  background: #fee2e2;
  color: #b91c1c;
}

.status-POTENTIAL {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-FOLLOW\\ UP {
  background: #ede9fe;
  color: #6d28d9;
}

.status-REGISTER {
  background: #dcfce7;
  color: #15803d;
}

.offer-not-generated {
  background: #fef3c7;
  color: #b45309;
}

.offer-generated {
  background: #dbeafe;
  color: #1d4ed8;
}

.offer-completed {
  background: #dcfce7;
  color: #15803d;
}

/* Row action buttons */
.row-btn {
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-size: .75rem;
  font-weight: 700;
  transition: opacity var(--fast), transform var(--fast);
  margin: 0 2px;
  color: white;
}

.row-btn:hover {
  opacity: .85;
  transform: translateY(-1px);
}

.btn-edit {
  background: #2563eb;
}

.btn-delete {
  background: #dc2626;
}

.btn-offer {
  background: #7c3aed;
}

.btn-dl {
  background: #0f766e;
}

.btn-complete {
  background: #16a34a;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ EMPTY STATE Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.empty-state {
  padding: 48px;
  text-align: center;
  color: var(--gray-400);
  font-size: .95rem;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ ADMIN GRID Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
}

.admin-panel {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.log-list {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-item {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  font-size: .8rem;
}

.log-item .log-meta {
  color: var(--gray-400);
  font-size: .73rem;
}

.log-item .log-action {
  font-weight: 600;
  color: var(--gray-700);
}

.user-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
}

.user-item {
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--gray-50);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-name {
  font-weight: 700;
  font-size: .9rem;
}

.user-dept {
  font-size: .78rem;
  color: var(--gray-500);
}

.user-role {
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
}

.role-admin {
  background: var(--admin-100);
  color: var(--admin-600);
}

.role-user {
  background: var(--gray-100);
  color: var(--gray-500);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ MODAL FORMS Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-section-title {
  grid-column: 1 / -1;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin-top: 8px;
}

select.field-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2394a3b8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.field-hint {
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.form-actions {
  grid-column: 1/-1;
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.cpr-display {
  background: var(--gray-50);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #7c3aed;
  text-align: center;
  border: 1.5px dashed #c4b5fd;
  grid-column: 1 / -1;
}

.cpr-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ TEMPLATE MANAGER Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.tpl-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--gray-50);
  border: 1px solid var(--border);
  transition: background var(--fast);
}

.tpl-row:hover {
  background: var(--gray-100);
}

.tpl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tpl-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

.tpl-info {
  flex: 1;
  min-width: 0;
}

.tpl-name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tpl-meta {
  font-size: .76rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.tpl-drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--med), background var(--med);
  cursor: pointer;
}

.tpl-drop-zone.dragover {
  border-color: #6366f1;
  background: rgba(99, 102, 241, .06);
}

.tpl-drop-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  color: var(--gray-400);
}

.tpl-drop-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2;
}

.tpl-drop-label {
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: 6px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ TOAST Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: var(--gray-900);
  color: white;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: transform var(--med) var(--ease), opacity var(--med);
  max-width: 360px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: #15803d;
}

.toast.error {
  background: #b91c1c;
}

.toast.warning {
  background: #b45309;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ LOADING Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(15, 23, 42, .85);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: white;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, .2);
  border-top-color: #a855f7;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ SCROLLBAR Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ RESPONSIVE Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 900px) {
  .dept-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dept-grid>*:nth-child(4),
  .dept-grid>*:nth-child(5) {
    grid-column: auto;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  .dept-grid {
    grid-template-columns: 1fr;
  }

  .dash-body {
    padding: 16px;
    gap: 14px;
  }

  .dept-header {
    padding: 14px 16px;
  }

  .welcome-title {
    font-size: 2rem;
  }

  .modal-box {
    padding: 24px;
    min-width: auto;
  }

  .login-header {
    margin: -24px -24px 20px;
  }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ S.M.A.R.T REDESIGN STYLES Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */

.smart-portal-screen {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  min-height: 100vh;
}

.smart-portal-layout {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.smart-portal-sidebar {
  width: 280px;
  background: #064e3b;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 100;
  flex-shrink: 0;
}

.sidebar-toggle-btn {
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  cursor: pointer;
  z-index: 50;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.sidebar-toggle-btn:hover {
  background: #f9fafb;
  color: #16a34a;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.brand-logo {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

.brand-title {
  font-family: var(--font-jakarta);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.brand-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
  position: relative;
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--smart-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jakarta);
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.profile-name {
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
}

.profile-role {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.logout-icon-btn {
  background: none;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--fast);
  padding: 4px;
}

.logout-icon-btn:hover {
  color: #ef4444;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: auto;
}

.nav-tab-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  transition: all var(--fast) var(--ease);
  width: 100%;
}

.nav-tab-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.nav-tab-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  box-shadow: inset 3px 0 0 var(--smart-500);
}

.sidebar-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.actions-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.btn-sidebar-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  background: var(--smart-500);
  border-radius: var(--r-md);
  transition: all var(--fast);
}

.btn-sidebar-action:hover {
  background: var(--smart-600);
  transform: translateY(-1px);
}

.btn-sidebar-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.btn-sidebar-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.sidebar-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.badge-connected-green {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(110, 231, 183, 0.1);
  border: 1px solid rgba(110, 231, 183, 0.2);
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.smart-portal-main {
  flex: 1;
  padding: 40px;
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.smart-panel-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: panel-fade-in 0.4s var(--ease) both;
}

@keyframes panel-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.panel-header.flex-header {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.panel-title {
  font-family: var(--font-jakarta);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.5px;
}

.panel-subtitle {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Stats Styling */
.smart-stats-row {
  display: flex;
  gap: 18px;
  width: 100%;
  flex-wrap: wrap;
}

.smart-stats-row .stat-card {
  flex: 1;
  min-width: 170px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: all var(--med) var(--ease);
}

.smart-stats-row .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.smart-stats-row .stat-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gray-300);
}

.smart-stats-row .stat-card.card-total-leads::after {
  background: #6366f1;
}

.smart-stats-row .stat-card.card-potential::after {
  background: #3b82f6;
}

.smart-stats-row .stat-card.card-follow-up::after {
  background: #8b5cf6;
}

.smart-stats-row .stat-card.card-registered::after {
  background: #10b981;
}

.smart-stats-row .stat-card.card-rejected::after {
  background: #ef4444;
}

.smart-stats-row .stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.smart-stats-row .stat-value {
  font-family: var(--font-jakarta);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  margin: 0;
}

.smart-stats-row .stat-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: auto;
}

/* Widgets grid */
.dash-widgets-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .dash-widgets-grid {
    grid-template-columns: 1fr;
  }
}

.dash-widget-card {
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.widget-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 14px;
}

.widget-title {
  font-family: var(--font-jakarta);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.widget-desc {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* Campaigns and Chips */
.campaigns-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campaigns-list .campaign-chip {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--fast) var(--ease);
  width: 100%;
}

.campaigns-list .campaign-chip:hover {
  border-color: var(--smart-500);
  background: #fbfdfb;
  transform: translateX(2px);
}

.quick-help-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.help-item {
  display: flex;
  gap: 12px;
  align-items: start;
}

.help-icon {
  font-size: 1.1rem;
  padding-top: 2px;
}

.help-text {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* Kanban board grid */
.kanban-lanes-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 500px;
}

@media (max-width: 1200px) {
  .kanban-lanes-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .kanban-lanes-container {
    grid-template-columns: 1fr;
  }
}

.kanban-lane {
  background: #f1f5f9;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--gray-200);
  padding: 14px 14px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 480px;
  max-height: 70vh;
  overflow: hidden;
}

.lane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
  background: #f1f5f9;
}

.lane-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lane-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.lane-header-potential .lane-indicator {
  background: #3b82f6;
}

.lane-header-followup .lane-indicator {
  background: #8b5cf6;
}

.lane-header-register .lane-indicator {
  background: #10b981;
}

.lane-header-reject .lane-indicator {
  background: #ef4444;
}

.lane-name {
  font-family: var(--font-jakarta);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.lane-count-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
  background: var(--gray-200);
  padding: 2px 8px;
  border-radius: var(--r-full);
}

.lane-cards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
  padding-bottom: 14px;
}

/* Kanban Cards */
.kanban-card {
  background: white;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
  position: relative;
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--gray-300);
}

.kanban-card-title {
  font-family: var(--font-jakarta);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gray-900);
}

.kanban-card-meta {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.3;
}

.kanban-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-50);
  padding-top: 8px;
  margin-top: 4px;
}

.kanban-card-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--r-sm);
  background: var(--gray-100);
  color: var(--gray-600);
}

.kanban-card-owner {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

.kanban-card-actions {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--fast);
  position: absolute;
  right: 8px;
  top: 8px;
}

.kanban-card:hover .kanban-card-actions {
  opacity: 1;
}

.kanban-card-actions .row-btn {
  padding: 3px 6px;
  font-size: 0.7rem;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 4px;
}

.kanban-card-actions .row-btn:hover {
  background: var(--gray-200);
}

/* Contacts Directory Grid */
.leads-panel-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.leads-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 20px;
  flex-wrap: wrap;
}

.search-wrap {
  position: relative;
  width: 300px;
}

.smart-search-input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--gray-50);
  font-size: 0.88rem;
  transition: all var(--fast) var(--ease);
}

.smart-search-input:focus {
  background: var(--surface);
  border-color: var(--smart-500);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.search-icon-inside {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--gray-400);
  pointer-events: none;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pills-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.smart-table-wrapper {
  max-height: 520px;
  overflow-y: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.smart-table {
  border-collapse: collapse;
  width: 100%;
}

.smart-table thead th {
  position: sticky;
  top: 0;
  background: var(--gray-50);
  z-index: 5;
  border-bottom: 2.5px solid var(--border);
  padding: 14px 16px;
}

.smart-table tbody tr {
  transition: all var(--fast) var(--ease);
}

.smart-table tbody tr:hover {
  background: rgba(22, 163, 74, 0.03) !important;
}

.smart-table td {
  padding: 14px 16px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--gray-100);
}

.smart-table tbody tr:last-child td {
  border-bottom: none;
}

.student-avatar-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.avatar-initials {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--smart-primary-light);
  color: var(--smart-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  font-family: var(--font-jakarta);
}

.student-name-text {
  font-weight: 700;
  color: var(--gray-900);
}

.student-meta-sub {
  font-size: 0.73rem;
  color: var(--gray-400);
  margin-top: 2px;
  font-weight: 500;
}

.smart-actions-cell {
  text-align: right;
  white-space: nowrap;
}

.smart-actions-cell .row-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.82rem;
  transition: all var(--fast) var(--ease);
  box-shadow: none;
}

.smart-actions-cell .row-btn.btn-edit:hover {
  background: var(--smart-500);
  color: white;
}

.smart-actions-cell .row-btn.btn-delete:hover {
  background: #dc2626;
  color: white;
}



/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ KANBAN DRAG & DROP STYLES Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.kanban-card[draggable="true"] {
  cursor: grab;
}

.kanban-card[draggable="true"]:active {
  cursor: grabbing;
}

.kanban-card.dragging {
  opacity: 0.6;
}

.lane-cards-list.drag-over {
  background-color: rgba(22, 163, 74, 0.05);
  /* soft green */
  outline: 2px dashed var(--smart-500) !important;
  outline-offset: 2px;
  border-radius: var(--r-md);
  transition: background-color 0.2s ease, outline 0.2s ease;
}

/* Date filter pills active state */
.pill.pill-date.active,
.pill.pill-date:hover {
  background: var(--smart-500) !important;
  color: white !important;
  border-color: transparent !important;
}

/* Colorless SVG Icon Styles */
.icon-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  display: inline-block;
  vertical-align: middle;
}

.stat-icon-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  display: inline-block;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  /* fallback */
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
  color: white;
}

.logout-icon-btn {
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--fast);
  padding: 4px;
  border-radius: var(--r-sm);
}

.logout-icon-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.tab-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.tab-icon-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.action-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.action-icon-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.search-icon-inside {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* No Response status badge */
.status-NO\\ RESPONSE {
  background: #f1f5f9;
  color: #475569;
}

/* COL Checklist specific badges & select controls */
.col-status-notgen {
  background: #f1f5f9;
  color: #64748b;
}

.col-status-gen {
  background: #dbeafe;
  color: #1d4ed8;
}

.col-status-completed {
  background: #dcfce7;
  color: #15803d;
}

.col-sent-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-md);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.col-sent-badge.sent-yes {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.col-sent-badge.sent-no {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Compact layout style modifications for method selector in checklist table */
.col-method-select {
  height: auto !important;
  border-color: var(--gray-300) !important;
  border-radius: var(--r-md) !important;
  background-color: white !important;
  color: var(--gray-700) !important;
  font-weight: 500 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.col-method-select:focus {
  border-color: var(--smart-500) !important;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ TABLE ALIGNMENT & ARRANGEMENT UTILITIES Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.align-left {
  text-align: left !important;
}

.align-center {
  text-align: center !important;
  display: table-cell;
}

.align-right {
  text-align: right !important;
}

/* Ensure flex parents within aligned cells are positioned correctly */
td.align-center>div,
td.align-center>span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

td.align-right>div,
td.align-right>span {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
}

/* Make table columns feel more balanced and prevent layout shifts */
.data-table th,
.data-table td {
  vertical-align: middle !important;
  text-overflow: ellipsis;
}

@media (max-width: 1400px) {

  .smart-table td,
  .smart-table thead th {
    padding: 10px 8px !important;
    font-size: 0.8rem !important;
  }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ E.N.R.O.L.L HORIZONTAL TABS Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.enroll-tabs-bar {
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
  padding: 0 32px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.enroll-nav-tab {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--fast);
  font-family: var(--font-display);
}

.enroll-nav-tab:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.enroll-nav-tab.active {
  color: white;
  border-bottom-color: white;
}

.enroll-panel-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: panel-fade-in 0.4s var(--ease) both;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ COLUMN PICKER SYSTEM Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.table-header-picker-wrap {
  position: relative;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

.column-picker-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 6px;
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--fast) var(--ease);
}

.column-picker-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--gray-900);
}

.column-picker-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 190px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slide-up 180ms var(--ease);
}

.column-picker-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.column-picker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-700);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--r-sm);
  transition: background var(--fast);
}

.column-picker-item:hover {
  background: var(--gray-50);
}

.column-picker-item input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--smart-500);
  cursor: pointer;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ BULK CHECK & SAVED LISTS Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.bulk-check-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 1024px) {
  .bulk-check-layout {
    grid-template-columns: 1fr;
  }
}

.bulk-input-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bulk-textarea {
  width: 100%;
  min-height: 160px;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: monospace;
  font-size: 0.88rem;
  resize: vertical;
  background: var(--surface);
  transition: border-color var(--fast);
}

.bulk-textarea:focus {
  border-color: var(--smart-500);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

/* Badges for Bulk Check Results */
.badge-bulk {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-md);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.badge-bulk-both {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.badge-bulk-smart {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-bulk-enroll {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.badge-bulk-notfound {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* Saved Lists block */
.saved-lists-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.saved-lists-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
}

.saved-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: all var(--fast);
}

.saved-list-item:hover {
  border-color: var(--smart-300);
  background: white;
}

.saved-list-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.saved-list-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-900);
}

.saved-list-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.saved-list-count {
  font-size: 0.72rem;
  background: var(--gray-200);
  color: var(--gray-700);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  font-weight: 600;
}

.saved-list-actions {
  display: flex;
  gap: 6px;
}

.saved-list-btn-load {
  background: var(--smart-500);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-sm);
}

.saved-list-btn-load:hover {
  background: var(--smart-600);
}

.saved-list-btn-delete {
  background: var(--gray-200);
  color: var(--gray-600);
  font-size: 0.75rem;
  padding: 4px 6px;
  border-radius: var(--r-sm);
}

.saved-list-btn-delete:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* Save current list inline modal/form */
.save-list-form {
  background: var(--gray-50);
  padding: 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

/* Custom Confirmation Modal styling overrides for #modal-box */
.modal-box.modal-confirm {
  max-width: 440px;
  padding: 32px;
}

.modal-box.modal-confirm .modal-close {
  display: none;
}

.smart-actions-cell .row-btn.btn-bulkcheck:hover,
.kanban-card-actions .row-btn.btn-bulkcheck:hover,
#checklist-table .row-btn.btn-bulkcheck:hover {
  background: var(--smart-500) !important;
  color: white !important;
}

/* Checklist Bulk Actions Bar */
.checklist-bulk-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--smart-primary-light);
  border: 1px solid rgba(22, 163, 74, 0.25);
  padding: 12px 20px;
  border-radius: var(--r-md);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  animation: slideDownChecklist 0.25s var(--ease) both;
  gap: 16px;
  flex-wrap: wrap;
}

@keyframes slideDownChecklist {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bulk-bar-left {
  display: flex;
  align-items: center;
}

.bulk-bar-count {
  font-family: var(--font-jakarta);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--smart-primary);
}

.bulk-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bulk-bar-method-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bulk-bar-method-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
}

.checklist-bulk-bar .btn-primary {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  height: 34px;
  border-radius: var(--r-sm);
  cursor: pointer;
  box-shadow: none;
  flex: none;
}

.checklist-bulk-bar .bulk-bar-btn-primary {
  background: linear-gradient(135deg, var(--smart-500), var(--smart-600)) !important;
  border: none !important;
}

.checklist-bulk-bar .bulk-bar-btn-secondary {
  background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
  border: none !important;
}

.checklist-bulk-bar .bulk-bar-btn-cancel {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  height: 34px;
  border-radius: var(--r-sm);
  cursor: pointer;
  flex: none;
}

/* E.N.R.O.L.L. Bulk Actions Bar Overrides */
#enroll-bulk-actions-bar {
  background: var(--enroll-100) !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
}

#enroll-bulk-actions-bar .bulk-bar-count {
  color: var(--enroll-600) !important;
}

#enroll-bulk-actions-bar .bulk-bar-btn-primary {
  background: linear-gradient(135deg, var(--enroll-500), var(--enroll-600)) !important;
}

#enroll-bulk-actions-bar .bulk-bar-btn-secondary {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}

/* Compact styling for Checklist Table to prevent horizontal scroll */
#checklist-table th,
#checklist-table td {
  padding: 8px 6px !important;
  font-size: 0.82rem !important;
}

#checklist-table th {
  font-size: 0.75rem !important;
}

/* Grouped Programme Box Styles */
.programme-group-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.programme-group-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: transform var(--fast), box-shadow var(--fast);
}

.programme-group-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.programme-group-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 12px;
  margin-bottom: 12px;
  gap: 12px;
}

.programme-group-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-900);
  line-height: 1.4;
}

.programme-group-badge {
  background: var(--enroll-100);
  color: var(--enroll-600);
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.programme-group-select-all-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 4px 6px;
  background: var(--gray-50);
  border-radius: var(--r-sm);
  width: fit-content;
}

.programme-group-select-all-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  user-select: none;
}

.programme-group-student-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 300px;
  padding-right: 4px;
}

.programme-group-student-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--gray-50);
  border: 1px solid transparent;
  transition: background var(--fast), border var(--fast);
  gap: 12px;
}

.programme-group-student-item:hover {
  background: var(--surface);
  border-color: var(--border);
}

.programme-group-student-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.programme-group-student-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.programme-group-student-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.programme-group-student-meta {
  font-size: 0.73rem;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.programme-group-student-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Add custom version suffix to force styles to reload if caching is aggressive */
/* Sidebar Collapsed State */
.smart-portal-sidebar.collapsed {
  width: 84px !important;
  min-width: 84px !important;
  padding: 28px 12px;
}

.smart-portal-sidebar.collapsed .sidebar-profile {
  padding: 14px 0;
  justify-content: center;
  background: transparent;
  border-color: transparent;
}

.smart-portal-sidebar.collapsed .nav-tab-item {
  justify-content: center;
  padding: 12px 0;
}

.smart-portal-sidebar.collapsed .btn-sidebar-action {
  justify-content: center;
  padding: 12px 0;
}

.smart-portal-sidebar.collapsed .tab-icon-wrap,
.smart-portal-sidebar.collapsed .action-icon-wrap {
  margin-right: 0;
}

.smart-portal-sidebar.collapsed .sidebar-header {
  justify-content: center;
}
.finance-portal-sidebar {
  width: 320px;
  background: white;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-shrink: 0;
  transition: width 0.3s ease, min-width 0.3s ease;
  position: relative;
  z-index: 50;
}

.finance-portal-sidebar.collapsed {
  width: 84px !important;
  min-width: 84px !important;
}

.finance-portal-sidebar.collapsed .sidebar-full-content {
  display: none !important;
}

.finance-portal-sidebar.collapsed .sidebar-collapsed-content {
  display: flex !important;
}

.finance-toggle-btn {
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  cursor: pointer;
  z-index: 60;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}
.finance-toggle-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}


