/* ============================================================
   SISTEMA ELECTORAL CTSP - TEMA INSTITUCIONAL ROYAL BLUE
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  
  /* CTSP Brand Colors */
  --primary: #001282;          /* Deep Royal Navy Blue (CTSP Logo) */
  --primary-dark: #000c5c;     /* Darker institutional navy */
  --primary-mid: #1a44db;      /* Vibrant Royal Blue */
  --primary-light: #edf2ff;    /* Soft Tint */
  --primary-border: #bfdbfe;   /* Accent Border */
  --accent: #2563eb;          /* High contrast accent */
  --accent-hover: #1d4ed8;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text-faint: #94a3b8;
  --bg-dark: #060e33;
  
  --gradient-primary: linear-gradient(135deg, #1a44db 0%, #001282 100%);
  --gradient-hero: linear-gradient(-45deg, #e0e9fe, #edf4ff, #ffffff, #e8effe);
  --transition: all 0.2s ease;
  
  --dark-btn: #001282;
  --dark-btn-hover: #0e2db5;
  
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 18, 130, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0, 18, 130, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 18, 130, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --backdrop-blur: blur(12px);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

*:focus-visible {
  outline: 3px solid rgba(0, 18, 130, 0.35);
  outline-offset: 2px;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* NAVBAR COMPONENT */
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 18, 130, 0.04);
}
.navbar-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; color: var(--text-main);
}
.navbar-brand-icon {
  width: 38px; height: 38px; border-radius: 8px; background: var(--gradient-primary); color: white;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 18, 130, 0.25);
}
.navbar-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.navbar-brand-sub { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

.navbar-nav {
  display: flex; align-items: center; gap: 8px;
}
.nav-link {
  display: flex; align-items: center; gap: 6px; padding: 8px 16px; 
  border-radius: 100px; font-size: 0.9rem; font-weight: 600; color: var(--text-main);
  transition: all 0.2s;
}
.nav-link:hover { background: var(--primary-light); color: var(--primary); }
.nav-link.active {
  background: var(--dark-btn); color: white;
  box-shadow: 0 2px 8px rgba(0, 18, 130, 0.25);
}
.nav-link svg { width: 16px; height: 16px; }

/* HERO SECTION */
.hero-section {
  text-align: center; padding: 80px 24px 64px; margin-bottom: 48px;
  background: linear-gradient(-45deg, #e0e9fe, #edf4ff, #ffffff, #e8effe);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  border-radius: 0 0 40px 40px;
  box-shadow: inset 0 -10px 30px rgba(0, 18, 130, 0.03);
}
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.03em; color: var(--bg-dark); }
.hero-subtitle { font-size: 1.35rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.hero-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* GRID CARDS (3 cols) */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 24px;
}
.info-card {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px 24px; box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.info-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-border); background: #fff;
}
.info-icon {
  color: var(--primary); font-size: 1.5rem; margin-bottom: 16px; height: 32px;
}
.info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--bg-dark); }
.info-card .info-date { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.info-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ACTION CARDS (2 cols) */
.action-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 24px; margin-bottom: 48px;
}
.action-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 40px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow-md); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden;
}
.action-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-primary); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left;
}
.action-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--primary-border); }
.action-card:hover::after { transform: scaleX(1); }
.action-icon {
  color: var(--primary); width: 48px; height: 48px; margin-bottom: 16px;
}
.action-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--bg-dark); }
.action-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 24px; }
.btn-dark {
  background: var(--dark-btn); color: white; padding: 12px 24px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer; width: 100%; transition: all 0.2s; display: inline-block; text-align: center;
  box-shadow: 0 4px 12px rgba(0, 18, 130, 0.2);
}
.btn-dark:hover { background: var(--dark-btn-hover); transform: translateY(-1px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-outline {
  background: #fff;
  color: var(--text-main);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--primary-light); border-color: var(--primary-border); color: var(--primary); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(0, 18, 130, 0.35);
}
.btn-primary:hover { 
  background: var(--dark-btn-hover);
  filter: brightness(1.05); 
  box-shadow: 0 6px 20px rgba(0, 18, 130, 0.25); 
}
.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}
.btn-gold:hover { filter: brightness(0.95); }
.btn-lg { padding: 12px 20px; font-size: 0.95rem; }

button,
input,
select,
textarea {
  min-height: 42px;
}

/* REQUISITOS BOX */
.req-box {
  background: var(--primary-light); border: 1px solid var(--primary-border); border-radius: var(--radius-lg); padding: 32px;
  margin-bottom: 64px;
}
.req-icon { color: var(--primary); margin-bottom: 12px; width: 24px; height: 24px; }
.req-title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--bg-dark); }
.req-list { list-style: none; }
.req-list li {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; font-size: 0.95rem; color: var(--text-main);
}
.req-list li svg { color: var(--primary); width: 20px; height: 20px; flex-shrink: 0; }

/* AUTH PAGES (Login) */
.auth-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 48px 40px;
  width: 100%; max-width: 450px; text-align: center; box-shadow: var(--shadow-xl);
}
.auth-icon { color: var(--primary); width: 48px; height: 48px; margin: 0 auto 16px; }
.auth-icon.admin { color: #ef4444; }
.auth-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: var(--bg-dark); }
.auth-subtitle { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 32px; }

.form-group { margin-bottom: 20px; text-align: left; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.form-control {
  width: 100%; padding: 12px 16px; background: #f1f5f9; border: 1px solid transparent; border-radius: var(--radius-md);
  font-size: 0.95rem; color: var(--text-main); transition: 0.2s; outline: none;
}
.form-control:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-light); }
.auth-alert-box {
  background: #fefce8; border: 1px solid #fef08a; padding: 16px; border-radius: var(--radius-md); text-align: left;
  font-size: 0.85rem; color: #b45309; display: flex; gap: 12px; margin-top: 24px;
}
.auth-alert-box.blue { background: var(--primary-light); border-color: var(--primary-border); color: #1e40af; }

/* CANDIDATES DIRECTORY & CARDS (UX/UI Standards) */
.cand-page-header { text-align: center; padding: 48px 0 24px; }
.cand-page-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; color: var(--bg-dark); letter-spacing: -0.02em; }
.cand-page-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 620px; margin: 0 auto; }

/* Filter & Search Toolbar */
.cand-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 16px 20px;
  margin-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.cand-search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}
.cand-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.cand-search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}
.cand-search-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-light);
}
.cand-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cand-filter-chip {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cand-filter-chip:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.cand-filter-chip.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 18, 130, 0.25);
}

.cands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-bottom: 64px;
}

/* Premium Candidate Card */
.cand-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.cand-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-border);
}
.cand-item-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cand-item-card:hover::before {
  opacity: 1;
}

/* Top Meta Row (List badge + Party symbol) */
.cand-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.cand-list-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.cand-party-emblem-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Party Emblem Frames */
.party-emblem-frame {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}
.party-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.party-emblem-fallback {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Profile Photo & Info */
.cand-card-profile-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cand-photo-frame {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #f1f5f9;
  border: 2px solid var(--primary-border);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 18, 130, 0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cand-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cand-item-card:hover .cand-photo-img {
  transform: scale(1.05);
}
.avatar-circle-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
}

.cand-profile-meta {
  flex: 1;
  min-width: 0;
}
.cand-item-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 6px;
}
.cand-cargo-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cand-party-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bio Box */
.cand-bio-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Key Proposals Preview */
.cand-props-preview {
  margin-bottom: 20px;
  list-style: none;
}
.cand-props-preview li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.35;
}
.cand-props-preview li svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Card Action Footer */
.cand-card-footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.btn-view-props {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 18, 130, 0.2);
}
.btn-view-props:hover {
  background: var(--dark-btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 18, 130, 0.3);
}

/* Enhanced Modal Dialog */
.modal-cand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #060e33, #001282);
  color: white;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.modal-cand-photo {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}
.modal-cand-meta {
  flex: 1;
}
.modal-cand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}
.modal-cand-sub {
  font-size: 0.85rem;
  color: #bfdbfe;
}
.modal-prop-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-main);
}
.modal-prop-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* SPLIT AUTH CARD (Voter Login Mockup) */
.auth-split-card {
  background: var(--bg-card); border-radius: 16px; overflow: hidden;
  width: 100%; max-width: 480px; text-align: left; box-shadow: 0 10px 25px -5px rgba(0, 18, 130, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  border: 1px solid var(--border);
}
.auth-split-header {
  background: var(--gradient-primary); color: white;
  padding: 40px 32px; text-align: center;
}
.auth-split-icon { width: 56px; height: 56px; margin: 0 auto 16px; color: white; }
.auth-split-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.auth-split-subtitle { font-size: 0.95rem; font-weight: 500; color: #dbeafe; }
.auth-split-body { padding: 32px; }
.auth-split-blue-box {
  background: #f0f7ff; border: 1px solid #bfdbfe; border-radius: var(--radius-md);
  padding: 16px; color: #1e40af; font-size: 0.85rem; margin-bottom: 24px; display: flex; gap: 12px; align-items: flex-start;
}
.auth-split-yellow-box {
  background: #fefce8; border: 1px solid #fef08a; border-radius: var(--radius-md);
  padding: 16px; color: #b45309; font-size: 0.85rem; margin-top: 24px; display: flex; gap: 12px; align-items: flex-start;
}
.auth-split-footer {
  padding: 0 32px 32px;
}
.auth-split-check-list { list-style: none; }
.auth-split-check-list li {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.85rem; color: var(--text-muted);
}
.auth-split-check-list li svg { color: #10b981; width: 16px; height: 16px; flex-shrink: 0; }

/* ALERT MESSAGE */
.alert { padding: 12px 16px; border-radius: var(--radius-md); font-size: 0.9rem; margin-bottom: 24px; }
.alert-error { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #dcfce3; color: #15803d; border: 1px solid #bbf7d0; }

/* MODAL STYLES */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(6, 14, 51, 0.7); backdrop-filter: blur(5px);
  z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--bg-card); border-radius: var(--radius-xl);
  width: 100%; max-width: 600px; max-height: 90vh; display: flex; flex-direction: column;
  transform: translateY(20px); transition: 0.4s; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal-overlay.active .modal-box { transform: translateY(0); }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-size: 1.25rem; font-weight: 700; margin: 0; color: var(--bg-dark); }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); }
.modal-body { padding: 24px; overflow-y: auto; line-height: 1.6; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); text-align: right; }

.view-props-link {
  position: absolute; right: 24px; bottom: 24px;
  color: var(--primary); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  padding: 8px 12px; border-radius: 6px;
  background: var(--primary-light);
}
.view-props-link:hover { color: #fff; background: var(--primary); }

@media (max-width: 768px) {
  /* Layout constraints */
  .container { padding: 0 16px; }
  
  /* Navbar */
  .navbar-inner { flex-direction: column; gap: 16px; }
  .navbar-nav { width: 100%; justify-content: center; flex-wrap: wrap; }
  .nav-link { padding: 8px 12px; font-size: 0.85rem; }
  
  /* Hero & Flow */
  .hero-section { padding: 40px 0 32px; }
  .hero-title { font-size: 2rem; }
  .action-grid { grid-template-columns: 1fr; margin-bottom: 32px; }
  .action-card { padding: 24px; }
  .info-grid { grid-template-columns: 1fr; }
  .req-box { padding: 24px; }
  
  /* Cands Grid */
  .cands-grid { grid-template-columns: 1fr; padding: 0 16px; }
  
  /* Split Card Form (Mob) */
  .auth-split-card { max-width: 100%; border-radius: 12px; }
  .auth-split-header { padding: 32px 20px; }
  .auth-split-body { padding: 20px; }
  .auth-split-footer { padding: 0 20px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-desc { font-size: 0.92rem; }
  .action-card { padding: 18px; }
  .req-box { padding: 18px; }
}
/* ---- AVATAR INITIALS (Global) ---- */
.avatar-circle {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: white;
  text-transform: uppercase; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 18, 130, 0.15);
  background: #cbd5e1;
}
.avatar-blue { background: linear-gradient(135deg, #1a44db, #001282); }
.avatar-green { background: linear-gradient(135deg, #10b981, #059669); }
.avatar-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.avatar-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.avatar-pink { background: linear-gradient(135deg, #ec4899, #be185d); }
.avatar-red { background: linear-gradient(135deg, #ef4444, #b91c1c); }
