:root {
  --primary: #274653;
  --primary-light: #3a6070;
  --primary-dark: #1e3440;
  --accent: #2c9d8f;
  --accent-light: #35b5a5;
  --warning: #e8c369;
  --danger: #e76f51;
  --info: #f3a262;
  --sidebar-w: 260px;
  --topbar-h: 64px;
  --bg: #F0F4F8;
  --card-bg: #FFFFFF;
  --text: #1A2B3C;
  --text-muted: #6B7E92;
  --border: #E2EAF0;
  --shadow: 0 2px 16px rgba(13, 59, 110, .08);
  --shadow-md: 0 4px 24px rgba(13, 59, 110, .13);
  --radius: 14px;
  --radius-sm: 8px;
}

[x-cloak] {
  display: none !important;
}

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

body {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--primary-dark);
  display: flex;
  flex-direction: column;
  z-index: 1040;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
  overflow-x: visible;
}

.sidebar-logo {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo img,
.sidebar-logo-img {
  width: 100px;
  height: auto;
  display: block;
  object-fit: contain;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.logo-text {
  color: #fff;
}

.logo-text h6 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  margin: 0;
  line-height: 1.2;
}

.logo-text small {
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
}

.sidebar-section {
  padding: 20px 12px 8px;
  font-size: .68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .35);
  /* color:#e76f51; */
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-item-s {
  margin: 2px 0;
}

.nav-link-s {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, .65);
  /* color:#e8c369; */
  font-size: .875rem;
  font-weight: 400;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: right;
}

.nav-link-s:hover {
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

.nav-link-s.active {
  background:var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(44, 157, 143, .3);
}

.nav-link-s i {
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.badge-s {
  margin-right: auto;
  margin-left: 0;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: .65rem;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 600;
}

.badge-s.accent {
  background: var(--accent);
}

.badge-s.danger {
  background: #e74c3c;
}

.badge-s.warning {
  background: #f39c12;
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  transition: background .2s;
}

.user-card:hover {
  background: rgba(255, 255, 255, .1);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-info .name {
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-info .role {
  color: rgba(255, 255, 255, .4);
  font-size: .7rem;
}

/* DROPDOWN MENU */
.dropdown-menu-profile {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: rgba(255, 255, 255, .4);
  font-size: .9rem;
  transition: color .2s;
}

.dropdown-trigger:hover {
  color: #fff;
}

.dropdown-content {
  position: fixed;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s;
  z-index: 2000;
}

.dropdown-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-size: .85rem;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: right;
  transition: background .2s;
  font-family: inherit;
}

.dropdown-item:hover {
  background: var(--bg);
}

.dropdown-item i {
  color: var(--text-muted);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* NOTIFICATIONS DROPDOWN */
.notif-dropdown {
  min-width: 360px;
  max-width: 360px;
  padding: 0;
  overflow: hidden;
}

.notif-dd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.notif-dd-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
  cursor: pointer;
  text-decoration: none;
}

.notif-dd-item:last-of-type {
  border-bottom: none;
}

.notif-dd-item:hover {
  background: var(--bg);
}

.notif-dd-unread {
  background: rgba(39, 70, 83, .04);
}

.notif-dd-unread:hover {
  background: rgba(39, 70, 83, .07);
}

.notif-dd-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.notif-dd-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 11px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  transition: background .15s;
}

.notif-dd-footer:hover {
  background: var(--border);
  color: var(--primary-dark);
}

.notif-dd-header-title {
  font-weight: 700;
  font-size: .9rem;
}

.notif-count-badge {
  background: var(--danger);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

.notif-empty {
  padding: 20px;
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
}

.notif-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  min-width: 320px;
  max-width: 400px;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  border: 1px solid var(--border);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.notif-toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-toast-icon i {
  font-size: 1.1rem;
}

.notif-toast-body {
  flex: 1;
  min-width: 0;
}

.notif-toast-title {
  font-size: .87rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.notif-toast-text {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
}

.notif-toast-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notif-toast-link {
  font-size: .75rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.notif-toast-close-text {
  background: none;
  border: none;
  cursor: pointer;
  font-size: .75rem;
  color: var(--text-muted);
  padding: 0;
}

.notif-toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 2px;
  flex-shrink: 0;
  line-height: 1;
  font-size: 1rem;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.sidebar-nav {
  padding: 8px 12px;
  flex: 1;
}

.notif-dd-body {
  flex: 1;
  min-width: 0;
}

.notif-dd-title {
  font-size: .8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.notif-dd-title.unread {
  font-weight: 700;
}

.notif-dd-title.read {
  font-weight: 500;
}

.notif-dd-text {
  font-size: .73rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.notif-dd-time {
  font-size: .68rem;
  color: var(--text-muted);
  margin-top: 3px;
  opacity: .7;
}

.notif-dd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* TOPBAR PROFILE */
.topbar-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all .2s;
}

.topbar-profile:hover {
  opacity: .8;
}

.topbar-profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.topbar-profile-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar-profile-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-profile-role {
  font-size: .7rem;
  color: var(--text-muted);
}

/* TOPBAR */
.topbar {
  position: fixed;
  top: 0;
  right: var(--sidebar-w);
  left: 0;
  height: var(--topbar-h);
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  z-index: 1030;
  box-shadow: var(--shadow);
}

.topbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
}

.page-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.page-breadcrumb {
  font-size: .75rem;
  color: var(--text-muted);
}

.topbar-actions {
  margin-right: auto;
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: all .2s;
}

.topbar-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid var(--card-bg);
}

.role-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  background: rgba(44, 157, 143, .1);
  color: var(--accent);
  border: 1px solid rgba(44, 157, 143, .2);
}

/* MAIN */
.main-content {
  margin-right: var(--sidebar-w);
  margin-top: var(--topbar-h);
  padding: 28px 24px;
  min-height: calc(100vh - var(--topbar-h));
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 1039;
}

/* CARDS */
.card-vep {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-header-vep {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title-vep {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title-vep i {
  color: var(--accent);
}

/* STAT CARDS */
.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
}

.stat-card.c-primary::before {
  background: var(--primary);
}

.stat-card.c-accent::before {
  background: var(--accent);
}

.stat-card.c-warning::before {
  background: var(--warning);
}

.stat-card.c-danger::before {
  background: var(--danger);
}

.stat-card.c-info::before {
  background: var(--info);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.si-primary {
  background: rgba(39, 70, 83, .1);
  color: var(--primary);
}

.si-accent {
  background: rgba(44, 157, 143, .1);
  color: var(--accent);
}

.si-warning {
  background: rgba(232, 195, 105, .15);
  color: var(--warning);
}

.si-danger {
  background: rgba(231, 111, 81, .1);
  color: var(--danger);
}

.si-info {
  background: rgba(243, 162, 98, .12);
  color: var(--info);
}

.c-indigo::before {
  background: #6366f1;
}

.c-teal::before {
  background: #14b8a6;
}

.si-indigo {
  background: rgba(99, 102, 241, .12);
  color: #6366f1;
}

.si-teal {
  background: rgba(20, 184, 166, .12);
  color: #14b8a6;
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-change {
  font-size: .72rem;
  margin-top: 8px;
  font-weight: 500;
}

.stat-change.up {
  color: var(--accent);
}

.stat-change.down {
  color: var(--danger);
}

/* SECTIONS */
.section-heading {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.section-sub {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* TABLE */
.table-vep {
  font-size: .85rem;
}

.table-vep thead th {
  background: #2c9d8f;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.0rem;
  letter-spacing: .0;
  border: none;
  padding: 20px 10px;
}

.table-vep thead th:first-child {
  border-radius: 0;
}

.table-vep thead tr {
  border-bottom: none;
}

.table-vep tbody td {
  padding: 12px 16px;
  vertical-align: middle;
  border-color: var(--border);
}

.table-vep tbody tr:hover {
  background: rgba(39, 70, 83, .03);
}

/* BADGES */
.bs {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  display: inline-block;
}

.bs-draft {
  background: #EEF0F2;
  color: #6B7E92;
}

.bs-active {
  background: rgba(44, 157, 143, .1);
  color: var(--accent);
}

.bs-progress {
  background: rgba(243, 162, 98, .12);
  color: var(--info);
}

.bs-completed {
  background: rgba(39, 70, 83, .1);
  color: var(--primary);
}

.bs-pending {
  background: rgba(232, 195, 105, .15);
  color: var(--warning);
}

.bs-rejected {
  background: rgba(231, 111, 81, .1);
  color: var(--danger);
}

/* PROGRESS */
.prog {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}

.prog-bar {
  height: 100%;
  border-radius: 3px;
}

/* APPROVAL */
.approval-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.approval-item:last-child {
  border-bottom: none;
}

.aicon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ainfo {
  flex: 1;
  min-width: 0;
}

.ainfo .atitle {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ainfo .ameta {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.aactions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.btn-approve {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: .75rem;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}

.btn-approve:hover {
  background: var(--accent-light);
}

.btn-reject {
  background: none;
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: .75rem;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.btn-reject:hover {
  background: var(--danger);
  color: #fff;
}

/* ACTIVITY */
.act-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.act-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.act-text {
  font-size: .83rem;
  color: var(--text);
  line-height: 1.5;
}

.act-time {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* FORMS */
.flabel {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  display: block;
}

.finput {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: .85rem;
  font-family: inherit;
  color: var(--text);
  background: var(--card-bg);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.finput:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(44, 157, 143, .1);
}

/* WIZARD */
.wizard {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 4px;
}

.wstep {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wnum {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.wnum.done {
  background: var(--accent);
  color: #fff;
}

.wnum.current {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(39, 70, 83, .15);
}

.wnum.pending {
  background: var(--border);
  color: var(--text-muted);
}

.wlabel {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.wlabel.current {
  color: var(--primary);
}

.wline {
  height: 2px;
  flex: 1;
  background: var(--border);
  margin: 0 8px;
}

.wline.done {
  background: var(--accent);
}

/* SATISFACTION */
.sat-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.sat-label {
  font-size: .8rem;
  color: var(--text-muted);
  width: 80px;
  flex-shrink: 0;
}

.sat-track {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.sat-fill {
  height: 100%;
  border-radius: 4px;
}

.sat-val {
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  width: 40px;
  text-align: right;
  flex-shrink: 0;
}

/* FILE UPLOAD */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--bg);
}

.upload-zone:hover {
  border-color: var(--accent);
  background: rgba(44, 157, 143, .03);
}

/* BUTTONS */
.btn-p {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
}

.btn-p:hover {
  background: var(--primary-light);
}

.btn-a {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
}

.btn-a:hover {
  background: var(--accent-light);
}

.btn-o {
  background: none;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
}

.btn-o:hover {
  background: var(--primary);
  color: #fff;
}

.btn-sm {
  padding: 5px 12px;
  font-size: .75rem;
}

.btn-xs {
  padding: 4px 10px;
  font-size: .75rem;
}

/* INITIATIVE CARD */
.init-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  transition: transform .2s, box-shadow .2s;
}

.init-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* IMPROVEMENT */
.imp-item {
  border-right: 3px solid;
  padding-right: 12px;
  margin-bottom: 14px;
}

/* SURVEY CARD */
.survey-q {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 8px;
  transition: border-color .2s;
}

.survey-q:hover {
  border-color: var(--accent);
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  z-index: 1035;
  padding: 8px 0 4px;
}

.mnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: .62rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 0;
  transition: color .2s;
}

.mnav-item i {
  font-size: 1.2rem;
}

.mnav-item.active {
  color: var(--accent);
}

/* EMPTY */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: .3;
  display: block;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fi {
  animation: fadeInUp .4s ease both;
}

.fi2 {
  animation: fadeInUp .4s .1s ease both;
}

.fi3 {
  animation: fadeInUp .4s .2s ease both;
}

.fi4 {
  animation: fadeInUp .4s .3s ease both;
}

/* RESPONSIVE */
@media(max-width:991px) {
  .sidebar {
    transform: translateX(100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .topbar {
    right: 0;
  }

  .topbar-toggle {
    display: flex;
  }

  .main-content {
    margin-right: 0;
  }

  .sidebar-overlay.show {
    display: block;
  }

  .mobile-nav {
    display: flex;
  }

  .main-content {
    padding-bottom: 80px;
  }

  .stat-value {
    font-size: 1.5rem;
  }
}

@media(max-width:576px) {
  .main-content {
    padding: 16px 12px;
  }

  .topbar {
    padding: 0 12px;
  }

  .page-breadcrumb {
    display: none;
  }

  .aactions {
    flex-direction: column;
  }
}

/* WIZARD EXTRA */
.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
}

.wstep-content {
  animation: fadeInUp .35s ease both;
}

/* TARGET CHIPS */
.target-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all .2s;
  user-select: none;
}

.target-chip input {
  display: none;
}

.target-chip:has(input:checked) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 600;
}

.target-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* REVIEW FIELDS */
.review-field {
  margin-bottom: 8px;
}

.review-key {
  font-size: .68rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 2px;
}

.review-val {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

/* OUTPUT ROW DELETE BTN */
.output-del {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: .8rem;
  transition: all .2s;
}

.output-del:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

/* SAVE SUCCESS TOAST */
.toast-vep {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  z-index: 9999;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity .3s;
}

.toast-vep.show {
  opacity: 1;
}

/* ========== UTILITY CLASSES FROM INLINE STYLES ========== */

/* Text Colors - High Frequency */
.text-danger { color: var(--danger); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-red-600 { color: #ef4444; }
.text-red-900 { color: #991b1b; }
.text-red-500 { color: #dc3545; }
.text-slate-600 { color: #64748b; }

/* Font Sizes */
.text-xs { font-size: .75rem; }
.text-xs-2 { font-size: .78rem; }
.text-xs-3 { font-size: .8rem; }
.text-xs-4 { font-size: .84rem; }
.text-xs-5 { font-size: .88rem; }
.text-sm { font-size: .9rem; }
.text-base { font-size: 1rem; }

/* Font Weights */
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* Padding - High Frequency */
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }

/* Margin */
.mt-0-5 { margin-top: 3px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mb-0-5 { margin-bottom: 3px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }

/* Gap (Flexbox) */
.gap-1 { gap: 6px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }

/* Display & Layout */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.grid { display: grid; }
.hidden { display: none; }
.inline-block { display: inline-block; }

/* Flex Alignment */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

/* Sizing */
.min-w-fit { min-width: fit-content; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Text Alignment & Direction */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.ltr { direction: ltr; }
.rtl { direction: rtl; }

/* Border & Border Radius */
.rounded { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: 10px; }
.border { border: 1px solid var(--border); }
.border-red-200 { border-color: #fecaca; }
.border-gray-300 { border-color: #d1d5db; }

/* Background Colors */
.bg-red-50 { background-color: #fef2f2; }
.bg-white { background-color: #ffffff; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-50 { background-color: #f9fafb; }

/* Combined Utility Classes - Common Combinations */

/* Error/Danger Messages */
.error-box {
  padding: 12px 16px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: .84rem;
  color: #991b1b;
}

/* Secondary Text */
.text-secondary {
  font-size: .8rem;
  color: var(--text-muted);
}

/* Small Secondary Text with Bold */
.text-secondary-bold {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 3px;
}

/* Error Field Text */
.error-text {
  font-size: .78rem;
  color: #dc3545;
  margin-top: 4px;
}

/* Survey Validation Error */
.validation-error {
  font-size: .75rem;
  color: #ef4444;
  margin-top: 4px;
}

/* Additional Utility Classes from Remaining Inline Styles */

/* Vertical & Horizontal Alignment */
.align-middle { vertical-align: middle; }
.text-center { text-align: center; }

/* More Font Sizes */
.text-xs-6 { font-size: .72rem; }
.text-xs-7 { font-size: .75rem; }
.text-xs-8 { font-size: .76rem; }
.text-sm-2 { font-size: .85rem; }
.text-sm-3 { font-size: .88rem; }
.text-lg-2 { font-size: .9rem; }
.text-xl-2 { font-size: 1.4rem; }

/* More Padding Combinations */
.p-3-4 { padding: 14px; }
.px-4-5 { padding-left: 18px; padding-right: 18px; }
.py-4-5 { padding-top: 18px; padding-bottom: 18px; }

/* Complex Flex Combinations */
.flex-center-gap-3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flex-wrap-gap-3 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.flex-gap-1 {
  display: flex;
  gap: 6px;
}

/* Sizing Classes */
.w-10 { width: 38px; }
.h-10 { height: 38px; }
.min-w-40 { min-width: 160px; }
.flex-1 { flex: 1; }
.flex-1-min-180 { flex: 1; min-width: 180px; }

/* Inline Block Badge Style */
.badge-inline {
  display: inline-block;
  padding: 2px 10px;
  background-color: rgba(255, 255, 255, .18);
  border-radius: 20px;
  font-size: .76rem;
  font-weight: 700;
}

/* Complex Box Style */
.box-flex-padding {
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.box-flex-padding-sm {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Display Properties */
.hidden { display: none; }

/* Flex with gap-1 */
.flex-gap-1 { gap: 6px; }

/* Additional Combinations */
.text-sm-semibold {
  font-weight: 600;
  font-size: .85rem;
}

/* Text with muted color and small size */
.text-muted-xs {
  font-size: .75rem;
  color: var(--text-muted);
}
.card-vep-institutional {
  padding:14px 18px;display:flex;align-items:center;gap:12px;
}