/* =============================================
   ALUMNI TRACKER - MAIN STYLES
   Universitas Muhammadiyah Malang
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg-base: #0a0c10;
  --bg-card: #111318;
  --bg-card-hover: #161820;
  --bg-sidebar: #0d0f14;
  --bg-input: #1a1d24;
  --border: #1f2230;
  --border-active: #2a2d3e;

  --red-primary: #c0392b;
  --red-hover: #e74c3c;
  --red-glow: rgba(192, 57, 43, 0.25);
  --red-subtle: rgba(192, 57, 43, 0.08);

  --teal: #0fb5ae;
  --teal-subtle: rgba(15, 181, 174, 0.1);
  --amber: #f59e0b;
  --amber-subtle: rgba(245, 158, 11, 0.1);
  --green: #10b981;
  --green-subtle: rgba(16, 185, 129, 0.1);

  --text-primary: #f0f2f8;
  --text-secondary: #8b91a8;
  --text-muted: #4a5068;

  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(192, 57, 43, 0.15);
  --transition: all 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-active); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-primary); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

/* =============================================
   AUTH PAGES (LOGIN)
   ============================================= */
.auth-wrapper {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

.auth-wrapper::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192,57,43,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.auth-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15,181,174,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  z-index: 1;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--red-primary), #8b0000);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px var(--red-glow);
}

.auth-logo svg { width: 32px; height: 32px; fill: white; }

.auth-title {
  text-align: center;
  margin-bottom: 0.4rem;
  font-size: 1.6rem;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-style: italic;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b91a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.form-control option { background: var(--bg-card); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-primary), #a93226);
  color: white;
  width: 100%;
  box-shadow: 0 4px 16px var(--red-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-hover), var(--red-primary));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--red-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border-active);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0;
  width: 100%;
}

.btn-ghost:hover { color: var(--red-hover); }

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 16px rgba(16,185,129,0.2);
}
.btn-success:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-danger {
  background: linear-gradient(135deg, var(--red-primary), #922b21);
  color: white;
}
.btn-danger:hover { opacity: 0.9; }

.auth-divider {
  text-align: center;
  margin: 1.25rem 0;
  position: relative;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.error-msg {
  background: rgba(192, 57, 43, 0.12);
  border: 1px solid rgba(192, 57, 43, 0.3);
  color: #e74c3c;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: none;
  animation: shake 0.3s ease;
}
.error-msg.show { display: block; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.success-msg {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: none;
}
.success-msg.show { display: block; }

/* =============================================
   DASHBOARD LAYOUT
   ============================================= */
.dashboard-layout {
  display: block;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 240px;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--red-primary), #8b0000);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-brand-icon svg { width: 20px; height: 20px; fill: white; }

.sidebar-brand-text { line-height: 1.2; }
.sidebar-brand-text strong { font-size: 0.9rem; display: block; }
.sidebar-brand-text span { font-size: 0.72rem; color: var(--text-muted); }

.sidebar-nav { padding: 1rem 0; flex: 1; }
.sidebar-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 1.5rem 0.25rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
  margin: 1px 0;
}

.nav-item:hover {
  color: var(--text-primary);
  background: var(--red-subtle);
}

.nav-item.active {
  color: var(--red-hover);
  background: var(--red-subtle);
  border-left-color: var(--red-primary);
}

.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.user-avatar {
  width: 36px;
  height: 36px;
  background: var(--red-subtle);
  border: 1px solid var(--red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red-hover);
  flex-shrink: 0;
}

.user-meta strong { font-size: 0.825rem; display: block; }
.user-meta span { font-size: 0.72rem; color: var(--text-muted); }

.btn-logout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.btn-logout:hover {
  background: rgba(192,57,43,0.1);
  border-color: var(--red-primary);
  color: var(--red-hover);
}

.btn-logout svg { width: 14px; height: 14px; }

/* MAIN CONTENT */
.main-content {
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.topbar-breadcrumb span.current { color: var(--text-primary); font-weight: 600; }
.topbar-breadcrumb svg { width: 14px; height: 14px; }

.topbar-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  background: var(--bg-input);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.page-content {
  padding: 2rem;
  flex: 1;
}

.page-header { margin-bottom: 2rem; }
.page-title { font-size: 1.6rem; margin-bottom: 0.25rem; }
.page-desc { color: var(--text-secondary); font-size: 0.875rem; }

/* =============================================
   STAT CARDS
   ============================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  animation: fadeInUp 0.4s ease both;
}

.stat-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.red { background: var(--red-subtle); }
.stat-icon.teal { background: var(--teal-subtle); }
.stat-icon.green { background: var(--green-subtle); }
.stat-icon.amber { background: var(--amber-subtle); }

.stat-icon svg { width: 22px; height: 22px; }
.stat-icon.red svg { fill: var(--red-hover); }
.stat-icon.teal svg { fill: var(--teal); }
.stat-icon.green svg { fill: var(--green); }
.stat-icon.amber svg { fill: var(--amber); }

.stat-info { min-width: 0; }
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-value.red { color: var(--red-hover); }
.stat-value.teal { color: var(--teal); }
.stat-value.green { color: var(--green); }
.stat-value.amber { color: var(--amber); }

/* =============================================
   TABLE
   ============================================= */
.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.table-title { font-size: 1rem; font-weight: 700; }
.table-subtitle { font-size: 0.8rem; color: var(--text-muted); }

.table-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.85rem;
  width: 220px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 2px var(--red-glow);
}

.search-input::placeholder { color: var(--text-muted); }

.filter-select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:focus { border-color: var(--red-primary); }
.filter-select option { background: var(--bg-card); }

.table-scroll { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  background: rgba(255,255,255,0.02);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.02); }

tbody td {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  vertical-align: middle;
}

.td-nama { font-weight: 600; color: var(--text-primary); }
.td-nim { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-secondary); }
.td-prodi { color: var(--text-secondary); max-width: 160px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-filled { background: var(--green-subtle); color: var(--green); border: 1px solid rgba(16,185,129,0.2); }
.badge-empty { background: var(--amber-subtle); color: var(--amber); border: 1px solid rgba(245,158,11,0.2); }
.badge-pns { background: rgba(99,102,241,0.1); color: #818cf8; border: 1px solid rgba(99,102,241,0.2); }
.badge-swasta { background: var(--teal-subtle); color: var(--teal); border: 1px solid rgba(15,181,174,0.2); }
.badge-wirausaha { background: var(--amber-subtle); color: var(--amber); border: 1px solid rgba(245,158,11,0.2); }

.table-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pagination {
  display: flex;
  gap: 0.3rem;
}

.page-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.page-btn:hover, .page-btn.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: white;
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title { font-size: 1.1rem; font-weight: 700; }
.modal-subtitle { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
}

.modal-close:hover { background: var(--red-subtle); color: var(--red-hover); border-color: var(--red-primary); }

.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* =============================================
   ALUMNI PROFILE PAGE
   ============================================= */
.profile-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.profile-header-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-primary), #8b0000);
}

.profile-avatar {
  width: 72px;
  height: 72px;
  background: var(--red-subtle);
  border: 2px solid var(--red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red-hover);
  flex-shrink: 0;
}

.profile-info h2 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.profile-info p { color: var(--text-secondary); font-size: 0.85rem; }
.profile-nim {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.form-card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-card-icon.red { background: var(--red-subtle); }
.form-card-icon.teal { background: var(--teal-subtle); }
.form-card-icon.green { background: var(--green-subtle); }
.form-card-icon.amber { background: var(--amber-subtle); }

.form-card-icon svg { width: 16px; height: 16px; }
.form-card-icon.red svg { fill: var(--red-hover); }
.form-card-icon.teal svg { fill: var(--teal); }
.form-card-icon.green svg { fill: var(--green); }
.form-card-icon.amber svg { fill: var(--amber); }

.form-card-title { font-size: 0.925rem; font-weight: 700; }

.form-card-body { padding: 1.5rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.radio-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.radio-option input[type="radio"] { accent-color: var(--red-primary); }

.radio-option label {
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.sticky-save {
  position: sticky;
  bottom: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  z-index: 50;
}

.sticky-save .btn-primary { width: auto; min-width: 160px; }

/* =============================================
   DETAIL MODAL CONTENT
   ============================================= */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.detail-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.detail-item-value {
  font-size: 0.875rem;
  color: var(--text-primary);
  word-break: break-word;
}
.detail-item-value.empty { color: var(--text-muted); font-style: italic; }

.detail-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-hover);
  margin: 1.25rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.social-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-decoration: none;
}
.social-link:hover { border-color: var(--red-primary); color: var(--red-hover); }

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 2000;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 320px;
  box-shadow: var(--shadow-card);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red-primary); }
.toast-icon { flex-shrink: 0; }
.toast-icon svg { width: 18px; height: 18px; display: block; }
