/* EdChimp Portal — Shared Shell Styles */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Nunito Sans', sans-serif; background: #f7f8fa; color: #1a2b40; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

:root {
  --cyan: #14c6ef;
  --cyan-muted: rgba(20,198,239,.12);
  --dark-blue: #315a72;
  --navy: #112240;
  --dark-navy: #060e1d;
  --gray: #6b7280;
  --light-bg: #f7f8fa;
  --white: #ffffff;
  --border: #e5e7eb;
  --sidebar-w: 240px;
  --topbar-h: 56px;
  --green: #1ebe5b;   --green-muted: rgba(30,190,91,.12);
  --amber: #f59e0b;   --amber-muted: rgba(245,158,11,.12);
  --red: #dc2626;     --red-muted: rgba(220,38,38,.12);
  --blue: #3b82f6;    --blue-muted: rgba(59,130,246,.12);
  --purple: #8b5cf6;  --purple-muted: rgba(139,92,246,.12);
}

/* ── LAYOUT ── */
.portal-layout { display: flex; min-height: 100vh; }

/* ── SIDEBAR ── */
.sidebar { width: var(--sidebar-w); background: var(--dark-navy); display: flex; flex-direction: column; position: fixed; top:0; left:0; bottom:0; z-index:200; overflow-y:auto; }
.sidebar-logo { padding: 16px 20px 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.sidebar-logo img { height: 34px; width: auto; object-fit: contain; }
.role-badge { margin: 12px 16px; background: var(--cyan-muted); border: 1px solid rgba(20,198,239,.3); border-radius: 20px; padding: 4px 12px; font-size: 11px; font-weight: 700; color: var(--cyan); letter-spacing: .5px; text-transform: uppercase; text-align: center; }
.nav-section-label { padding: 16px 20px 6px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.3); }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 20px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.65); cursor: pointer; transition: background .15s, color .15s; position: relative; }
.nav-item:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.9); }
.nav-item.active { background: rgba(20,198,239,.15); color: var(--cyan); font-weight: 700; }
.nav-item.active::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--cyan); border-radius: 0 2px 2px 0; }
.nav-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.nav-badge { margin-left: auto; background: var(--cyan); color: var(--dark-navy); font-size: 10px; font-weight: 800; border-radius: 10px; padding: 2px 7px; min-width: 20px; text-align: center; }
.sidebar-footer { margin-top: auto; padding: 16px; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; gap: 10px; }
.user-avatar { width: 34px; height: 34px; background: var(--cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--dark-navy); flex-shrink: 0; }
.user-info { overflow: hidden; }
.user-name { font-size: 13px; font-weight: 700; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-org { font-size: 11px; color: rgba(255,255,255,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── MAIN AREA ── */
.main-area { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh; }

/* ── TOPBAR ── */
.topbar { height: var(--topbar-h); background: var(--white); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; position: sticky; top: 0; z-index: 100; gap: 16px; }
.topbar-left { display: flex; align-items: center; gap: 14px; }
.hamburger { background: none; border: none; font-size: 18px; color: var(--gray); padding: 4px; display: none; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray); }
.breadcrumb .crumb-active { color: var(--dark-blue); font-weight: 700; }
.breadcrumb .sep { color: #ccc; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-search { display: flex; align-items: center; gap: 8px; background: var(--light-bg); border: 1px solid var(--border); border-radius: 8px; padding: 7px 14px; min-width: 220px; }
.topbar-search input { border: none; background: none; font-size: 13px; color: var(--dark-blue); outline: none; width: 100%; }
.topbar-search input::placeholder { color: var(--gray); }
.icon-btn { width: 34px; height: 34px; border: none; background: var(--light-bg); border-radius: 8px; font-size: 15px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; transition: background .15s; }
.icon-btn:hover { background: var(--border); }
.icon-btn .badge-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: var(--red); border-radius: 50%; border: 2px solid white; }
.user-chip { display: flex; align-items: center; gap: 8px; background: var(--light-bg); border: 1px solid var(--border); border-radius: 8px; padding: 5px 10px 5px 6px; cursor: pointer; transition: background .15s; }
.user-chip:hover { background: var(--border); }
.chip-avatar { width: 26px; height: 26px; background: var(--cyan); color: var(--dark-navy); border-radius: 50%; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.chip-name { font-size: 13px; font-weight: 600; color: var(--dark-blue); }
.chip-arrow { font-size: 10px; color: var(--gray); }

/* ── PAGE CONTENT ── */
.page-content { padding: 28px 32px; flex: 1; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.page-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.page-title { font-size: 22px; font-weight: 800; color: var(--dark-blue); margin-bottom: 2px; }
.page-subtitle { font-size: 13px; color: var(--gray); }
.page-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn { border-radius: 7px; padding: 9px 18px; font-size: 13px; font-weight: 700; border: none; cursor: pointer; transition: opacity .15s; display: inline-flex; align-items: center; gap: 6px; }
.btn:hover { opacity: .85; }
.btn-primary { background: var(--cyan); color: var(--dark-navy); }
.btn-secondary { background: var(--white); color: var(--dark-blue); border: 1.5px solid var(--border); }
.btn-ghost { background: transparent; color: var(--dark-blue); border: 1.5px solid var(--border); }
.btn-danger { background: var(--red); color: white; }
.btn-sm { padding: 6px 13px; font-size: 12px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }

/* ── STAT CARDS ── */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 28px; }
.stat-grid-3 { grid-template-columns: repeat(3,1fr); }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; display: flex; align-items: flex-start; gap: 16px; position: relative; overflow: hidden; }
.stat-card::after { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: var(--accent, var(--cyan)); }
.stat-icon { width: 44px; height: 44px; background: var(--icon-bg, var(--cyan-muted)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.stat-body { flex: 1; min-width: 0; }
.stat-value { font-size: 26px; font-weight: 800; color: var(--dark-blue); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 12px; font-weight: 600; color: var(--gray); margin-bottom: 6px; }
.stat-trend { font-size: 11px; font-weight: 700; }
.trend-up { color: var(--green); }
.trend-down { color: var(--red); }
.trend-neutral { color: var(--gray); }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
.badge-green { background: var(--green-muted); color: var(--green); }
.badge-amber { background: var(--amber-muted); color: var(--amber); }
.badge-red { background: var(--red-muted); color: var(--red); }
.badge-blue { background: var(--blue-muted); color: var(--blue); }
.badge-purple { background: var(--purple-muted); color: var(--purple); }
.badge-gray { background: #f3f4f6; color: var(--gray); }
.badge-cyan { background: var(--cyan-muted); color: var(--cyan); }
.badge-navy { background: rgba(17,34,64,.1); color: var(--navy); }

/* ── CARD ── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); gap: 12px; flex-wrap: wrap; }
.card-title { font-size: 15px; font-weight: 700; color: var(--dark-blue); }
.card-subtitle { font-size: 12px; color: var(--gray); margin-top: 2px; }
.card-body { padding: 20px; }

/* ── TABLE ── */
.table-toolbar { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.search-box { display: flex; align-items: center; gap: 8px; background: var(--light-bg); border: 1px solid var(--border); border-radius: 7px; padding: 7px 12px; flex: 1; min-width: 160px; max-width: 260px; }
.search-box span { font-size: 13px; color: var(--gray); }
.search-box input { border: none; background: none; font-size: 13px; outline: none; width: 100%; color: var(--dark-blue); }
.search-box input::placeholder { color: var(--gray); }
.tab-group { display: flex; gap: 2px; flex-wrap: wrap; }
.tab-btn { padding: 6px 14px; border: 1.5px solid var(--border); background: var(--white); border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--gray); cursor: pointer; transition: all .15s; white-space: nowrap; }
.tab-btn.active { background: var(--cyan); color: var(--dark-navy); border-color: var(--cyan); }
.tab-btn:hover:not(.active) { background: var(--light-bg); color: var(--dark-blue); }
.toolbar-actions { display: flex; gap: 8px; margin-left: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead tr { background: var(--light-bg); }
.data-table th { padding: 11px 16px; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--gray); text-align: left; white-space: nowrap; border-bottom: 1px solid var(--border); }
.data-table td { padding: 13px 16px; font-size: 13px; color: var(--dark-blue); border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(247,248,250,.7); }
.sn-cell .sn { font-weight: 700; }
.sn-cell .se { font-size: 11px; color: var(--gray); margin-top: 1px; }
.sn-cell .sid { font-size: 11px; color: var(--gray); }
.table-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 10px; }
.pagination-info { font-size: 12px; color: var(--gray); }
.pagination { display: flex; gap: 4px; }
.page-btn { width: 30px; height: 30px; border-radius: 6px; border: 1.5px solid var(--border); background: var(--white); font-size: 12px; font-weight: 600; color: var(--gray); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.page-btn.active { background: var(--cyan); color: var(--dark-navy); border-color: var(--cyan); }
.page-btn:hover:not(.active) { background: var(--light-bg); }

/* ── TABS BAR ── */
.tabs-bar { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 20px; flex-wrap: wrap; }
.tab-link { padding: 10px 20px; font-size: 13px; font-weight: 600; color: var(--gray); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .15s; white-space: nowrap; }
.tab-link.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.tab-link:hover:not(.active) { color: var(--dark-blue); }

/* ── FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: 12px; font-weight: 700; color: var(--dark-blue); }
.req { color: var(--red); margin-left: 2px; }
.form-input { border: 1.5px solid var(--border); border-radius: 7px; padding: 9px 12px; font-size: 13px; font-family: inherit; color: var(--dark-blue); background: var(--white); outline: none; }
.form-input:focus { border-color: var(--cyan); }
.form-input::placeholder { color: #9ca3af; }
.form-select { border: 1.5px solid var(--border); border-radius: 7px; padding: 9px 12px; font-size: 13px; font-family: inherit; color: var(--dark-blue); background: var(--white); outline: none; }

/* ── EMPTY STATE ── */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px; gap: 10px; text-align: center; }
.empty-icon { font-size: 40px; margin-bottom: 4px; }
.empty-title { font-size: 15px; font-weight: 700; color: var(--dark-blue); }
.empty-text { font-size: 13px; color: var(--gray); line-height: 1.6; max-width: 280px; }

/* ── NOTIFICATIONS DRAWER ── */
.notif-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .2s; }
.notif-overlay.open { opacity: 1; pointer-events: all; }
.notif-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 360px; background: var(--white); z-index: 301; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; box-shadow: -4px 0 24px rgba(0,0,0,.12); }
.notif-drawer.open { transform: translateX(0); }
.notif-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.notif-title { font-size: 15px; font-weight: 700; color: var(--dark-blue); }
.notif-close { background: none; border: none; font-size: 18px; color: var(--gray); cursor: pointer; }
.notif-list { flex: 1; overflow-y: auto; padding: 8px 0; }
.notif-item { display: flex; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--border); transition: background .15s; }
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--light-bg); }
.notif-item.unread { background: rgba(20,198,239,.04); }
.notif-icon { width: 38px; height: 38px; background: var(--light-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.notif-body { flex: 1; }
.notif-event { font-size: 13px; font-weight: 700; color: var(--dark-blue); margin-bottom: 3px; }
.notif-desc { font-size: 12px; color: var(--gray); line-height: 1.55; }
.notif-time { font-size: 11px; color: #9ca3af; margin-top: 5px; }

/* ── WELCOME BANNER ── */
.welcome-banner { background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%); border-radius: 14px; padding: 28px 32px; margin-bottom: 24px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.welcome-banner::before { content:''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; background: rgba(20,198,239,.08); border-radius: 50%; }
.welcome-banner::after { content:''; position: absolute; right: 60px; bottom: -80px; width: 180px; height: 180px; background: rgba(20,198,239,.05); border-radius: 50%; }
.welcome-greeting { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.65); margin-bottom: 4px; }
.welcome-name { font-size: 24px; font-weight: 800; color: white; margin-bottom: 6px; }
.welcome-meta { font-size: 12px; color: rgba(255,255,255,.5); }
.welcome-meta span { color: var(--cyan); font-weight: 700; }
.welcome-actions { display: flex; gap: 10px; position: relative; z-index: 1; }

/* ── QUICK ACTIONS ── */
.quick-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; }
.quick-action-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 18px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: all .2s; }
.quick-action-card:hover { border-color: var(--cyan); box-shadow: 0 4px 14px rgba(20,198,239,.15); }
.quick-action-icon { font-size: 24px; }
.quick-action-label { font-size: 12px; font-weight: 700; color: var(--dark-blue); text-align: center; }

/* ── ACTIVITY ITEM ── */
.activity-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.activity-item:last-child { border-bottom: none; }
.activity-icon { width: 36px; height: 36px; background: var(--light-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.activity-body { flex: 1; }
.activity-title { font-size: 13px; font-weight: 700; color: var(--dark-blue); margin-bottom: 2px; }
.activity-meta { font-size: 12px; color: var(--gray); }
.activity-time { font-size: 11px; color: #9ca3af; margin-top: 4px; }

/* ── PIPELINE STEPPER ── */
.pipeline-stepper { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-bottom: 24px; overflow-x: auto; }
.stepper-label { font-size: 13px; font-weight: 700; color: var(--dark-blue); margin-bottom: 20px; }
.stepper-track { display: flex; align-items: flex-start; gap: 0; min-width: max-content; }
.stepper-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; min-width: 80px; position: relative; }
.stepper-step:not(:last-child)::after { content:''; position: absolute; top: 16px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 2px; background: var(--border); }
.stepper-step.done::after { background: var(--cyan); }
.stepper-dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; border: 2px solid var(--border); background: var(--white); color: var(--gray); position: relative; z-index: 1; }
.stepper-step.done .stepper-dot { background: var(--cyan); border-color: var(--cyan); color: var(--dark-navy); }
.stepper-step.current .stepper-dot { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-muted); }
.stepper-step-label { font-size: 11px; font-weight: 600; color: var(--gray); text-align: center; }
.stepper-step.done .stepper-step-label, .stepper-step.current .stepper-step-label { color: var(--dark-blue); }
.stepper-step-date { font-size: 10px; color: var(--gray); text-align: center; }

/* ── HERO BANNER (for partner/student portals) ── */
.hero-banner { background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%); border-radius: 14px; padding: 28px 32px; margin-bottom: 24px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.hero-banner::before { content:''; position:absolute; right:-40px; top:-40px; width:200px; height:200px; background:rgba(20,198,239,.07); border-radius:50%; }
.hero-banner-body { position: relative; z-index: 1; }
.hero-portal-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.hero-uni-name { font-size: 22px; font-weight: 800; color: white; margin-bottom: 6px; }
.hero-meta { font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.hero-meta strong { color: var(--cyan); }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-tag { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 20px; padding: 4px 12px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.8); }
.hero-banner-actions { display: flex; gap: 10px; position: relative; z-index: 1; flex-wrap: wrap; }

/* ── FUNNEL ── */
.funnel-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.funnel-bar:last-child { border-bottom: none; }
.funnel-label { font-size: 13px; font-weight: 600; color: var(--dark-blue); min-width: 130px; }
.funnel-track { flex: 1; height: 8px; background: var(--light-bg); border-radius: 4px; margin: 0 16px; overflow: hidden; }
.funnel-fill { height: 100%; background: var(--cyan); border-radius: 4px; }
.funnel-count { font-size: 12px; font-weight: 700; color: var(--dark-blue); min-width: 30px; text-align: right; }

/* ── PROFILE COMPLETION ── */
.profile-card { background: var(--white); border: 1.5px solid var(--amber); border-radius: 12px; padding: 20px 24px; margin-bottom: 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.profile-icon { font-size: 32px; }
.profile-body { flex: 1; }
.profile-title { font-size: 15px; font-weight: 700; color: var(--dark-blue); margin-bottom: 8px; }
.profile-bar { background: var(--light-bg); border-radius: 4px; height: 8px; overflow: hidden; margin-bottom: 8px; }
.profile-fill { height: 100%; background: var(--amber); border-radius: 4px; }
.profile-meta { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.profile-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-tag { background: var(--amber-muted); border: 1px solid rgba(245,158,11,.2); border-radius: 4px; padding: 3px 10px; font-size: 11px; font-weight: 600; color: var(--amber); }
.profile-pct { font-size: 28px; font-weight: 800; color: var(--amber); }

/* ── UNIVERSITY CARD ── */
.uni-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 24px; }
.uni-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow .2s; cursor: pointer; }
.uni-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); }
.uni-card-header { background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.uni-flag { font-size: 28px; margin-bottom: 4px; }
.uni-name { font-size: 15px; font-weight: 800; color: white; }
.uni-location { font-size: 12px; color: rgba(255,255,255,.65); }
.uni-card-body { padding: 16px; }
.uni-program { font-size: 13px; font-weight: 600; color: var(--dark-blue); margin-bottom: 10px; }
.uni-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.uni-tag { background: var(--light-bg); border: 1px solid var(--border); border-radius: 4px; padding: 3px 8px; font-size: 11px; font-weight: 600; color: var(--gray); }
.uni-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.uni-fee { font-size: 14px; font-weight: 800; color: var(--dark-blue); }
.uni-fee-label { font-size: 11px; color: var(--gray); }

/* ── PAGE NAV (for non-sidebar pages) ── */
.page-nav { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.page-nav-btn { padding: 10px 18px; border: none; background: none; font-size: 13px; font-weight: 600; color: var(--gray); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .15s; white-space: nowrap; }
.page-nav-btn.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.page-nav-btn:hover:not(.active) { color: var(--dark-blue); background: var(--light-bg); }

/* ── TWO COL ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.col-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }

/* ── PIPELINE STAGES ── */
.pipeline-overview { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.stage-pill { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; min-width: 70px; }
.stage-count { font-size: 18px; font-weight: 800; color: var(--dark-blue); }
.stage-name { font-size: 10px; font-weight: 600; color: var(--gray); text-align: center; white-space: nowrap; }
.stage-pill.highlight { border-color: var(--cyan); background: var(--cyan-muted); }
.stage-pill.highlight .stage-count { color: var(--cyan); }

/* ── TIER BANNER ── */
.tier-banner { background: linear-gradient(135deg, #1a2b40 0%, #112240 100%); border-radius: 12px; padding: 20px 24px; margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.tier-badge { background: var(--cyan); color: var(--dark-navy); border-radius: 10px; padding: 8px 16px; display: flex; flex-direction: column; align-items: center; }
.tier-badge-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .8; }
.tier-badge-num { font-size: 28px; font-weight: 800; line-height: 1; }
.tier-info { flex: 1; }
.tier-title { font-size: 15px; font-weight: 700; color: white; margin-bottom: 4px; }
.tier-meta { font-size: 12px; color: rgba(255,255,255,.55); }
.tier-progress-section { flex: 1; }
.tier-progress-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 6px; display: flex; justify-content: space-between; }
.tier-progress-bar { height: 8px; background: rgba(255,255,255,.15); border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.tier-progress-fill { height: 100%; background: var(--cyan); border-radius: 4px; }
.tier-progress-note { font-size: 11px; color: rgba(255,255,255,.4); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) { .stat-grid { grid-template-columns: repeat(2,1fr); } .uni-grid { grid-template-columns: repeat(2,1fr); } .quick-actions { grid-template-columns: repeat(2,1fr); } .two-col, .col-2-1 { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .sidebar { transform: translateX(-100%); transition: transform .25s; } .sidebar.open { transform: translateX(0); } .main-area { margin-left: 0; } .hamburger { display: flex; } .topbar-search { min-width: 120px; } .page-content { padding: 16px; } .three-col { grid-template-columns: 1fr; } .notif-drawer { width: 100%; } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } .uni-grid { grid-template-columns: 1fr; } .quick-actions { grid-template-columns: 1fr 1fr; } }
