/* ═══════════════════════════════════════════════════════════════
   GradFolio — BSA Visual Identity CSS
   Dark Mode (default) + Light Mode toggle
   Colors: BSA Copper / Gold palette — eye-friendly dark bg
═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts are loaded via <link> in the layout ── */

/* ── CSS Custom Properties — Dark Mode (default) ─────────────── */
:root {
  /* Core palette */
  --primary:        #C4783A;
  --primary-hover:  #B06830;
  --secondary:      #D4914E;
  --accent:         #E8B88A;

  /* Backgrounds — warm dark, easy on the eyes */
  --bg:             #1A0E08;
  --bg-end:         #0D0704;
  --surface:        #251508;
  --surface-light:  #32200F;
  --border:         rgba(196, 120, 58, 0.2);

  /* Text */
  --text:           #FAF7F2;
  --text-muted:     #9C7B65;
  --text-secondary: #C8A882;

  /* Glows */
  --glow-1:         rgba(196, 120, 58, 0.12);
  --glow-2:         rgba(212, 145, 78, 0.14);
  --shadow-glow:    0 0 20px rgba(196, 120, 58, 0.3);

  /* Semantic */
  --success:        #4ade80;
  --danger:         #f87171;
  --warning:        #fbbf24;
  --info:           #60a5fa;

  /* Radius & Shadows */
  --radius-sm:   0.375rem;
  --radius-md:   0.6rem;
  --radius-lg:   0.9rem;
  --radius-xl:   1.25rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.6);

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "DM Sans", system-ui, sans-serif;

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-normal: 0.3s ease;
}

/* ── Light Mode overrides ────────────────────────────────────── */
body.light-mode {
  --bg:           #FAF7F2;
  --bg-end:       #F0E8DA;
  --surface:      #EDE3D6;
  --surface-light:#E0D0BC;
  --border:       rgba(196, 120, 58, 0.18);
  --text:         #1A0E08;
  --text-muted:   #7A5C45;
  --text-secondary:#5C3D28;
  --glow-1:       rgba(196, 120, 58, 0.07);
  --glow-2:       rgba(212, 145, 78, 0.09);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg:    0 12px 30px rgba(0,0,0,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(900px 600px at 5% -5%, var(--glow-1), transparent 60%),
    radial-gradient(800px 550px at 95% 10%, var(--glow-2), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-end) 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--t-normal), color var(--t-normal);
}

img { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--secondary); }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  transition: color var(--t-normal);
}

h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.5rem); }

p { color: var(--text-muted); transition: color var(--t-normal); }

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-danger-sm,
.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.btn-secondary {
  background: var(--surface-light);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--border);
  transform: translateY(-1px);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  background: rgba(196, 120, 58, 0.08);
  border-color: var(--primary);
}

.btn-ghost-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.btn-ghost-sm:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-danger-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  background: rgba(248, 113, 113, 0.1);
  color: var(--danger);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--radius-sm);
}
.btn-danger-sm:hover {
  background: var(--danger);
  color: #fff;
}

.btn-full  { width: 100%; }
.btn-large { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm    { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* ── Theme Toggle ────────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(196, 120, 58, 0.08);
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(196, 120, 58, 0.18);
  border-color: var(--primary);
  transform: rotate(15deg) scale(1.08);
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 68px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(26, 14, 8, 0.82);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--t-normal), box-shadow var(--t-normal);
}
body.light-mode .navbar {
  background: rgba(250, 247, 242, 0.88);
}
.navbar.scrolled {
  background: rgba(26, 14, 8, 0.96);
  box-shadow: var(--shadow-md);
}
body.light-mode .navbar.scrolled {
  background: rgba(250, 247, 242, 0.97);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
}
.brand-icon { font-size: 1.6rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--t-fast);
}
.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ── Main Content ────────────────────────────────────────────── */
.main-content {
  margin-top: 68px;
  min-height: calc(100vh - 68px - 220px);
}

/* ── Flash Alerts ────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  margin: 1rem auto;
  max-width: 860px;
  border-radius: var(--radius-md);
  animation: slideDown 0.3s ease;
  position: relative;
  font-size: 0.9rem;
}
.alert-success {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.25);
}
.alert-error {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.25);
}
.alert-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.6;
}
.alert-close:hover { opacity: 1; }
@keyframes slideDown {
  from { transform: translateY(-16px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.4rem; }

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.input-wrapper { position: relative; }
.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(196, 120, 58, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--t-fast);
  outline: none;
}

.input-wrapper input { padding-left: 2.75rem; }

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 120, 58, 0.15);
  background: rgba(196, 120, 58, 0.08);
}

body.light-mode input[type="text"],
body.light-mode input[type="email"],
body.light-mode input[type="password"],
body.light-mode input[type="url"],
body.light-mode textarea,
body.light-mode select {
  background: rgba(255,255,255,0.6);
}

textarea { resize: vertical; min-height: 100px; }

.form-error {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--danger);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.form-check input[type="checkbox"] {
  width: auto;
  accent-color: var(--primary);
}

/* ── Auth Layout ─────────────────────────────────────────────── */
.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.auth-container {
  display: flex;
  max-width: 1080px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.auth-left {
  flex: 1;
  padding: 4rem;
  background: linear-gradient(160deg,
    rgba(196, 120, 58, 0.12) 0%,
    rgba(212, 145, 78, 0.06) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
}

.auth-left::before {
  content: '';
  position: absolute;
  top: -40%; left: -40%;
  width: 180%; height: 180%;
  background: radial-gradient(circle, rgba(196, 120, 58, 0.08) 0%, transparent 65%);
  animation: rotateSlow 25s linear infinite;
  pointer-events: none;
}

@keyframes rotateSlow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.auth-left-content { position: relative; z-index: 1; }

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.auth-tagline {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.auth-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 38ch;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-feature i { color: var(--primary); width: 16px; }

.auth-right {
  flex: 1;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card { width: 100%; max-width: 400px; }

.auth-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-form-header h2 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.auth-form-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-form { margin-top: 1rem; }

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.forgot-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  float: right;
  margin-top: -0.25rem;
}
.forgot-link:hover { color: var(--primary); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 7rem 1.5rem 5rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  background-image: url('../Matrials/BSA-icon-with-out-bg.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  animation: watermarkBreath 20s ease-in-out infinite;
}

body.light-mode .hero::before {
  opacity: 0.055;
  animation: watermarkBreathLight 20s ease-in-out infinite;
}

@keyframes watermarkBreath {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.08;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.04);
    opacity: 0.11;
  }
}

@keyframes watermarkBreathLight {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.055;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.04);
    opacity: 0.08;
  }
}


.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.blob-1 {
  top: -15%; left: -10%;
  width: 55vw; height: 55vw;
  background: rgba(196, 120, 58, 0.18);
  animation: blobFloat 12s ease-in-out infinite alternate;
}
.blob-2 {
  bottom: -15%; right: -10%;
  width: 45vw; height: 45vw;
  background: rgba(212, 145, 78, 0.14);
  animation: blobFloat 15s ease-in-out infinite alternate-reverse;
}
@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4%, 5%) scale(1.06); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  background: rgba(196, 120, 58, 0.1);
  border: 1px solid rgba(196, 120, 58, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title { margin-bottom: 1.25rem; }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── Search ──────────────────────────────────────────────────── */
.hero-search { margin-bottom: 3.5rem; }

.search-wrapper {
  position: relative;
  display: flex;
  max-width: 580px;
  margin: 0 auto;
}

.search-wrapper .search-icon {
  position: absolute;
  left: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 1.1rem;
}

.search-wrapper input {
  padding: 1.1rem 1.4rem 1.1rem 3.5rem;
  font-size: 1rem;
  border-radius: var(--radius-full);
}

.search-btn {
  position: absolute;
  right: 0.45rem;
  top: 0.45rem;
  bottom: 0.45rem;
  padding: 0 1.5rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: filter var(--t-fast);
  font-size: 0.875rem;
}
.search-btn:hover { filter: brightness(1.1); }

/* ── Hero Stats ──────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Directory Section ───────────────────────────────────────── */
.directory-section {
  padding: 4rem 1.5rem;
  background: rgba(0,0,0,0.15);
}
body.light-mode .directory-section {
  background: rgba(196, 120, 58, 0.03);
}

.section-container {
  max-width: 1160px;
  margin: 0 auto;
}

/* ── Graduate Cards ──────────────────────────────────────────── */
.graduates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.grad-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
  cursor: pointer;
}

.grad-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 120, 58, 0.45);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(196,120,58,0.1);
}

.grad-card-header {
  height: 90px;
  background: linear-gradient(135deg,
    rgba(196, 120, 58, 0.18) 0%,
    rgba(212, 145, 78, 0.1) 100%
  );
  position: relative;
}

.grad-avatar {
  position: absolute;
  bottom: -28px;
  left: 1.5rem;
  width: 74px; height: 74px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  background: var(--surface-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grad-avatar img { width: 100%; height: 100%; object-fit: cover; }

.grad-avatar-placeholder {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.grad-online-dot {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 12px; height: 12px;
  background: var(--success);
  border: 2px solid var(--surface);
  border-radius: 50%;
}

.grad-card-body {
  padding: 2.5rem 1.5rem 1.25rem;
  flex: 1;
}

.grad-name {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.grad-headline {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.grad-location {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.85rem;
}

.grad-bio {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grad-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grad-social { display: flex; gap: 0.4rem; }

.social-chip {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(196, 120, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: all var(--t-fast);
}

.grad-card:hover .social-chip {
  background: rgba(196, 120, 58, 0.15);
  color: var(--primary);
}

.view-profile {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  padding: 6rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg,
    rgba(196, 120, 58, 0.08) 0%,
    rgba(212, 145, 78, 0.05) 100%
  );
  border-top: 1px solid var(--border);
}

.cta-content h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); margin-bottom: 1rem; }
.cta-content p  { font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Portfolio Page ──────────────────────────────────────────── */
.portfolio-page { min-height: 100vh; }

.profile-banner {
  padding: 6rem 1.5rem 3rem;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.profile-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(196, 120, 58, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.profile-container {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.profile-avatar-wrap {
  width: 140px; height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--border);
  background: var(--surface-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.profile-avatar { width: 100%; height: 100%; object-fit: cover; }

.profile-avatar-placeholder {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
}

.profile-name  { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); margin-bottom: 0.4rem; }
.profile-headline { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.5rem; font-weight: 500; }
.profile-location { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1.5rem; }

.profile-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(196, 120, 58, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.1rem;
  transition: all var(--t-fast);
}
.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.profile-stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.profile-stat { display: flex; flex-direction: column; align-items: center; }
.profile-stat-num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--text); }
.profile-stat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.portfolio-section { padding: 4rem 1.5rem; }
.portfolio-section-alt { background: rgba(0,0,0,0.15); }
body.light-mode .portfolio-section-alt { background: rgba(196,120,58,0.04); }

.portfolio-container { max-width: 1000px; margin: 0 auto; }

.section-title {
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-title i { color: var(--primary); }

.bio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ── Projects ────────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-normal);
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196,120,58,0.4);
  box-shadow: var(--shadow-lg);
}

.project-gallery { height: 195px; position: relative; overflow: hidden; }

.project-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-cover-img { transform: scale(1.05); }

.image-count-badge {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  backdrop-filter: blur(4px);
}

.project-body { padding: 1.5rem; }
.project-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.project-desc  { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.25rem; line-height: 1.65; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.tech-tag {
  background: rgba(196, 120, 58, 0.1);
  color: var(--primary);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.project-links { display: flex; gap: 1rem; }
.project-link {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
}
.project-link:hover { color: var(--secondary); }
.project-link-ghost { color: var(--text-muted); }
.project-link-ghost:hover { color: var(--text); }

/* ── Back Link ───────────────────────────────────────────────── */
.back-link-wrap { text-align: center; padding: 2rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
}
.back-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(196,120,58,0.06);
}

/* ── Dashboard Layout ────────────────────────────────────────── */
.dashboard-layout {
  display: flex;
  min-height: calc(100vh - 68px);
}

.dashboard-sidebar {
  width: 275px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 2rem 1.25rem;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar-profile {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--surface-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
}
.sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }

.avatar-placeholder {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.sidebar-profile h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.sidebar-headline { color: var(--text-muted); font-size: 0.78rem; margin-bottom: 0.75rem; }

.publish-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}
.badge-live  { background: rgba(74,222,128,0.1); color: #4ade80; }
.badge-draft { background: rgba(156,123,101,0.1); color: var(--text-muted); }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: all var(--t-fast);
}
.sidebar-link i { width: 18px; color: var(--text-muted); }
.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(196, 120, 58, 0.1);
  color: var(--primary);
}
.sidebar-link.active i { color: var(--primary); }

.publish-form { margin-top: 1.5rem; }

.btn-publish {
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  transition: all var(--t-fast);
}
.btn-go-live {
  background: linear-gradient(135deg, #4ade80, #16a34a);
  color: #fff;
}
.btn-go-live:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(74,222,128,0.3);
}
.btn-unpublish {
  background: var(--surface-light);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-unpublish:hover { background: var(--border); }

.dashboard-main { flex: 1; padding: 2rem; max-width: 900px; }

.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
}

.card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.card-header h2 {
  font-size: 1.15rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.card-header h2 i { color: var(--primary); }

/* ── File Drop Zones ─────────────────────────────────────────── */
.file-drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  background: rgba(196, 120, 58, 0.03);
  cursor: pointer;
  text-align: center;
  transition: all var(--t-fast);
}
.file-drop-zone:hover {
  border-color: var(--primary);
  background: rgba(196, 120, 58, 0.07);
}
.file-drop-zone i { font-size: 2.2rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.file-drop-zone span { font-weight: 500; font-size: 0.9rem; }
.file-drop-zone small { color: var(--text-muted); font-size: 0.78rem; margin-top: 0.2rem; }

.current-pic-preview {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 3px solid var(--border);
}

.upload-area { display: flex; align-items: flex-start; gap: 2rem; }
.upload-form { flex: 1; }
.upload-form button { margin-top: 1rem; }

.current-cv-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  color: #4ade80;
  font-size: 0.88rem;
}
.cv-icon { font-size: 1.3rem; }

.filename-display {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 0.5rem;
}

/* ── Projects List (Dashboard) ───────────────────────────────── */
.project-list-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: rgba(0,0,0,0.15);
}
body.light-mode .project-list-item { background: rgba(196,120,58,0.03); }

.project-list-header {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.project-thumb {
  width: 88px; height: 62px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.project-thumb-placeholder {
  width: 88px; height: 62px;
  border-radius: var(--radius-md);
  background: var(--surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.project-list-info { flex: 1; }
.project-list-info h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.project-list-info p { font-size: 0.82rem; margin-bottom: 0.5rem; }

.tech-tags-sm  { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.tech-tag-sm {
  font-size: 0.68rem;
  padding: 0.1rem 0.45rem;
  background: rgba(196,120,58,0.08);
  color: var(--primary);
  border-radius: var(--radius-sm);
}

.project-images-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  overflow-x: auto;
  align-items: center;
}

.project-img-wrap {
  position: relative;
  width: 75px; height: 55px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.project-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.img-delete-btn {
  position: absolute;
  top: 2px; right: 2px;
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-img-btn {
  width: 75px; height: 55px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.add-img-btn:hover { border-color: var(--primary); color: var(--primary); }

.add-project-toggle { margin-top: 1.25rem; }
.collapsible-form {
  margin-top: 1.25rem;
  padding: 1.5rem;
  background: rgba(0,0,0,0.12);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
body.light-mode .collapsible-form { background: rgba(196,120,58,0.03); }

/* ── Social Links ────────────────────────────────────────────── */
.social-links-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.social-link-item i { color: var(--primary); width: 16px; }
.social-platform { font-weight: 600; font-size: 0.85rem; }
.social-url {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.social-add-form { margin-top: 1rem; }

/* ── Analytics ───────────────────────────────────────────────── */
.analytics-page { padding: 2rem; max-width: 1000px; margin: 0 auto; }
.analytics-header { margin-bottom: 2rem; }
.analytics-header p { margin-top: 0.3rem; }

.analytics-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.analytics-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(196,120,58,0.2), rgba(212,145,78,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
}

.stat-big-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}
.stat-big-label { color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; }

.analytics-chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}
.analytics-chart-card h3 { font-size: 1.1rem; margin-bottom: 1.5rem; }

.bar-chart {
  display: flex;
  align-items: flex-end;
  height: 220px;
  gap: 3px;
  padding-top: 1.5rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.bar-wrap {
  flex: 1;
  min-width: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  cursor: pointer;
}

.bar-fill {
  background: linear-gradient(to top, var(--primary), var(--secondary));
  width: 100%;
  border-radius: 2px 2px 0 0;
  transition: filter var(--t-fast);
  min-height: 2px;
}
.bar-wrap:hover .bar-fill { filter: brightness(1.2); }

.bar-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  font-size: 0.6rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.empty-chart {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}
.empty-chart i { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; color: var(--border); }

.share-card {
  background: linear-gradient(135deg,
    rgba(196,120,58,0.08) 0%,
    rgba(212,145,78,0.05) 100%
  );
  border: 1px solid rgba(196,120,58,0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.share-card h3 { margin-bottom: 1rem; }

.share-url-row {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  gap: 0.5rem;
}

/* ── Admin Layout ────────────────────────────────────────────── */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 68px);
}

.admin-sidebar {
  width: 240px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-nav { padding: 1rem 0; }

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: all var(--t-fast);
}
.admin-nav-link:hover,
.admin-nav-link.active {
  background: rgba(196,120,58,0.08);
  color: var(--primary);
  border-left: 3px solid var(--primary);
}

.admin-main { flex: 1; padding: 2rem; overflow-y: auto; }

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-user-badge {
  background: rgba(196,120,58,0.08);
  border: 1px solid var(--border);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-stat-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.admin-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
}
.admin-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.admin-tables-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.admin-table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-card-header h3 { font-size: 1rem; margin: 0; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.admin-table th,
.admin-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-table th {
  background: rgba(0,0,0,0.12);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
body.light-mode .admin-table th { background: rgba(196,120,58,0.04); }

.admin-grad-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
}

.admin-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(196,120,58,0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.admin-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.info-list dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.info-list dd { margin: 0; }

.admin-actions-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.project-admin-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.project-admin-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}
body.light-mode .project-admin-item { background: rgba(196,120,58,0.04); }

/* ── Empty States ────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}
.empty-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.empty-state h3 { margin-bottom: 0.5rem; }
.empty-state p  { margin-bottom: 1.5rem; }

.empty-table {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

/* ── Pagination ──────────────────────────────────────────────── */
.pagination-wrapper { padding: 1.5rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem; }
.footer-links { display: flex; gap: 1.75rem; }
.footer-links a { color: var(--text-muted); font-size: 0.875rem; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ── Misc Utilities ──────────────────────────────────────────── */
.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.25rem;
  background: rgba(196,120,58,0.05);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}
.clear-search { font-size: 0.82rem; color: var(--danger); }

.admin-search-form { margin-bottom: 1.75rem; }

.view-all-link { font-size: 0.82rem; color: var(--primary); }

.dash-form .btn-primary,
.dash-form .btn-secondary { margin-top: 0.5rem; }

.upload-form .btn-secondary { margin-top: 0.75rem; }

/* ── Verify Email Banner ─────────────────────────────────────── */
.verify-banner {
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.3);
  color: #fbbf24;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.verify-banner form { display: inline; }
.verify-banner button {
  background: transparent;
  border: 1px solid rgba(251,191,36,0.5);
  color: #fbbf24;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  transition: all var(--t-fast);
}
.verify-banner button:hover {
  background: rgba(251,191,36,0.15);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .admin-tables-grid { grid-template-columns: 1fr; }
  .admin-profile-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    display: none;
  }
  .nav-links.active { display: flex; }

  .auth-container { flex-direction: column; }
  .auth-left { padding: 2.5rem 2rem; }
  .auth-right { padding: 2rem; }

  .dashboard-layout { flex-direction: column; }
  .dashboard-sidebar { width: 100%; height: auto; position: static; }

  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }

  .hero-title { font-size: 2.2rem; }
  .graduates-grid { grid-template-columns: 1fr; }
  .projects-grid  { grid-template-columns: 1fr; }
  .analytics-cards { grid-template-columns: repeat(2,1fr); }

  .upload-area { flex-direction: column; }

  .footer-container { flex-direction: column; gap: 1.5rem; }
  .profile-stats-row { gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .share-url-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .analytics-cards { grid-template-columns: 1fr; }
  .social-links-list { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { width: 40px; height: 1px; }
}
