:root {
  --primary: #6a0dad;
  --primary-dark: #4a0575;
  --primary-light: #f3e8ff;
  --primary-glow: rgba(106, 13, 173, .15);
  --accent: #d4a574;
  --accent-light: #fdf2e9;
  --bg: #f8f6fe;
  --surface: #ffffff;
  --surface-hover: #f5f3ff;
  --text: #1a1030;
  --text-secondary: #5a4a7a;
  --text-tertiary: #8a7aaa;
  --border: #e0d6f0;
  --border-focus: #6a0dad;
  --danger: #d32f2f;
  --danger-bg: #fef2f2;
  --success: #15803d;
  --success-bg: #f0fdf4;
  --shadow-sm: 0 1px 3px rgba(106, 13, 173, .06), 0 1px 2px rgba(106, 13, 173, .04);
  --shadow-md: 0 4px 12px rgba(106, 13, 173, .08);
  --shadow-lg: 0 8px 30px rgba(106, 13, 173, .12);
  --shadow-xl: 0 20px 60px rgba(106, 13, 173, .15);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: .45s cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-bounce: cubic-bezier(.68, -.55, .265, 1.55);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(106, 13, 173, .04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 165, 116, .04) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(106, 13, 173, .03) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

input, textarea, select, button { font-family: var(--font); }

.page-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.hero {
  position: relative;
  height: 380px;
  margin: 0 -20px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(255,255,255,.04) 0%, transparent 50%);
  z-index: 1;
  animation: heroShimmer 6s ease-in-out infinite alternate;
}

@keyframes heroShimmer {
  0% { opacity: .5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(106,13,173,.92) 0%, rgba(74,5,117,.85) 50%, rgba(0,0,0,.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: badgeReveal .8s var(--ease-spring) .1s both;
}

@keyframes badgeReveal {
  from { opacity: 0; transform: translateY(-10px) scale(.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
  animation: titleReveal .8s var(--ease-spring) .2s both;
}

@keyframes titleReveal {
  from { opacity: 0; transform: translateY(20px) scale(.95); letter-spacing: -2px; }
  to { opacity: 1; transform: translateY(0) scale(1); letter-spacing: normal; }
}

.hero-title .char {
  display: inline-block;
  animation: charPop .3s var(--ease-bounce) both;
}

@keyframes charPop {
  0% { opacity: 0; transform: translateY(20px) scale(.5); }
  60% { transform: translateY(-4px) scale(1.1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-subtitle {
  font-size: 16px;
  opacity: .85;
  font-weight: 400;
  margin-bottom: 24px;
  animation: fadeSlideUp .6s ease .4s both;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  animation: fadeSlideUp .6s ease .6s both;
}

.stat {
  text-align: center;
  position: relative;
}

.stat::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,.15);
}

.stat:last-child::after { display: none; }

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  position: relative;
}

.stat-num.counted::after {
  content: '+';
  font-size: 18px;
  opacity: .6;
  margin-left: 2px;
}

.stat-label {
  font-size: 12px;
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  animation: particleFloat var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: .3; }
  25% { transform: translateY(-30px) translateX(10px) scale(1.2); opacity: .6; }
  50% { transform: translateY(-60px) translateX(-5px) scale(.8); opacity: .8; }
  75% { transform: translateY(-20px) translateX(15px) scale(1.1); opacity: .4; }
}

.progress-tracker {
  margin: -28px auto 32px;
  position: relative;
  z-index: 3;
  animation: fadeSlideUp .5s ease .3s both;
}

.progress-steps {
  display: flex;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(106,13,173,.04);
  padding: 6px;
  gap: 4px;
  position: relative;
  overflow: hidden;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(106,13,173,.02), transparent);
  animation: shimmerSweep 3s ease-in-out infinite;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.progress-step:hover { background: var(--surface-hover); transform: scale(1.02); }

.progress-step.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px var(--primary-glow);
  animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 4px 12px var(--primary-glow); }
  50% { box-shadow: 0 4px 20px rgba(106, 13, 173, .25); }
}

.progress-step.completed .step-num {
  background: var(--success);
  color: #fff;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--border);
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: all var(--transition);
}

.progress-step.active .step-num {
  background: rgba(255,255,255,.25);
  color: #fff;
  animation: numPop .4s var(--ease-spring);
}

@keyframes numPop {
  0% { transform: scale(.5); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.step-label {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.progress-step.active .step-label { color: #fff; }

.form-container {
  position: relative;
}

.form-step { display: none; }
.form-step.active { display: block; }

.form-step.active .field-group {
  animation: groupEntrance .5s ease both;
}

.form-step.active .field-group:nth-child(2) { animation-delay: .05s; }

.field-group {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(106,13,173,.02);
  margin-bottom: 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.field-group::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--primary);
  border-radius: 0 0 4px 4px;
  transition: height .4s ease;
}

.field-group:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.field-group:hover::before { height: 100%; }

@keyframes groupEntrance {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
}

.section-header:hover { box-shadow: var(--shadow-md); }

.section-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.section-header:hover .section-icon {
  transform: rotate(-5deg) scale(1.05);
  background: var(--primary);
  color: #fff;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-tertiary);
}

.field {
  margin-bottom: 20px;
  animation: fieldIn .4s ease both;
}

@keyframes fieldIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.form-step.active .field { animation-delay: calc(.03s * var(--idx, 0)); }

.field:last-child { margin-bottom: 0; }

.field-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.field-row:last-child { margin-bottom: 0; }

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

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  transition: color var(--transition);
}

.required {
  color: var(--danger);
  animation: pulseStar 2s ease-in-out infinite;
}

@keyframes pulseStar {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-tertiary);
  pointer-events: none;
  display: flex;
  align-items: center;
  transition: all var(--transition);
  z-index: 1;
}

.input-wrapper:focus-within .input-icon {
  color: var(--primary);
  transform: scale(1.1);
}

.form-input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: all var(--transition);
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}

.form-input:hover {
  border-color: #c4b0dc;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(106,13,173,.06);
}

.form-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--primary-glow), 0 2px 8px rgba(106,13,173,.08);
  transform: translateY(-1px);
}

.form-input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px var(--danger-bg);
  animation: shake .4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 50%, 90% { transform: translateX(-4px); }
  30%, 70% { transform: translateX(4px); }
}

.form-input::placeholder {
  color: var(--text-tertiary);
  transition: opacity var(--transition);
}

.form-input:focus::placeholder { opacity: .5; }

select.form-input {
  cursor: pointer;
  padding-right: 40px;
}

select.form-input option { color: var(--text); }

.input-chevron {
  position: absolute;
  right: 14px;
  color: var(--text-tertiary);
  pointer-events: none;
  display: flex;
  align-items: center;
  transition: transform var(--transition);
}

.input-wrapper:focus-within .input-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
  padding-top: 14px;
  transition: min-height var(--transition);
}

.form-textarea:focus { min-height: 130px; }

.textarea-wrapper { align-items: flex-start; }
.textarea-icon { top: 16px; }

.field-hint {
  display: block;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 6px;
  padding-left: 2px;
  transition: color var(--transition);
}

.field-error {
  display: none;
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
  padding-left: 2px;
  align-items: center;
  gap: 4px;
  animation: errorSlide .3s ease;
}

@keyframes errorSlide {
  from { opacity: 0; transform: translateY(-4px); max-height: 0; }
  to { opacity: 1; transform: translateY(0); max-height: 20px; }
}

.field-error.visible { display: flex; }

.step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  animation: fadeSlideUp .3s ease both;
}

.btn {
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  background-image: linear-gradient(135deg, var(--primary), var(--primary-dark));
  background-size: 200% 200%;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px var(--primary-glow), 0 0 30px rgba(106, 13, 173, .1);
  transform: translateY(-2px) scale(1.02);
}

.btn-primary:active {
  transform: translateY(0) scale(.98);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
  position: relative;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(106,13,173,.08);
}

.btn-outline:active {
  transform: translateY(0);
}

.btn-submit {
  padding: 12px 36px;
  font-size: 15px;
  min-width: 200px;
  justify-content: center;
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-text, .btn-loader {
  position: relative;
  z-index: 1;
}

.btn-loader svg { animation: spin 1s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.success-overlay.visible { display: flex; animation: fadeIn .3s ease; }

.success-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: scaleIn .4s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.success-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(106,13,173,.03), transparent, rgba(106,13,173,.03), transparent);
  animation: conicSpin 6s linear infinite;
}

@keyframes conicSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes scaleIn {
  from { transform: scale(.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.success-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: checkBounce .5s var(--ease-spring) .2s both;
  position: relative;
  z-index: 1;
}

.success-check svg {
  animation: checkDraw .6s ease .4s both;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}

@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes checkBounce {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Confetti burst */
.confetti-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confettiFall var(--dur) ease-out forwards;
  animation-delay: var(--delay);
}

@keyframes confettiFall {
  0% { transform: translateY(-20px) rotate(0deg) scale(0); opacity: 1; }
  20% { transform: translateY(20px) rotate(72deg) scale(1); opacity: 1; }
  100% { transform: translateY(200px) rotate(360deg) scale(.3); opacity: 0; }
}

.success-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  animation: fadeSlideUp .4s ease .3s both;
}

.success-message {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  animation: fadeSlideUp .4s ease .4s both;
}

.success-card .btn {
  position: relative;
  z-index: 1;
  animation: fadeSlideUp .4s ease .5s both;
}

/* Shimmer loading effect for submit */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.btn-submitting .btn-text {
  background: linear-gradient(90deg, #fff 25%, rgba(255,255,255,.5) 50%, #fff 75%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 1.5s ease-in-out infinite;
}

.footer {
  text-align: center;
  padding: 32px 0 16px;
  font-size: 13px;
  color: var(--text-tertiary);
  animation: fadeSlideUp .5s ease .8s both;
}

@media (max-width: 768px) {
  .hero { height: 300px; margin: 0 -20px; }
  .hero-title { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }
  .stat::after { display: none; }
  .progress-step { padding: 10px 12px; justify-content: center; }
  .step-label { display: none; }
  .progress-step.active .step-label { display: inline; font-size: 12px; }
  .field-row { flex-direction: column; gap: 20px; }
  .field-row:last-child { margin-bottom: 0; }
  .section-header { flex-direction: column; }
  .step-actions { flex-direction: column; }
  .step-actions .btn { width: 100%; justify-content: center; }
  .success-card { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 22px; }
  .hero-badge { font-size: 10px; }
  .field-group { padding: 16px; }
}

/* Admin link in footer */
.btn-admin-link {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 12px;
  margin-top: 8px;
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .5;
}

.btn-admin-link:hover {
  opacity: 1;
  color: var(--primary);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s ease;
}

.modal-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: scaleIn .35s var(--ease-spring);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--surface-hover);
  color: var(--text-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--danger-bg);
  color: var(--danger);
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-tertiary);
  text-align: center;
  margin-bottom: 20px;
}

.modal-card .field { margin-bottom: 14px; }
.modal-card .input-chevron { pointer-events: auto; }

/* Admin dashboard page */
.admin-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-header-left h1 {
  font-size: 24px;
  font-weight: 700;
}

.admin-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.admin-header-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-user {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.admin-table-wrapper {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th {
  background: var(--surface-hover);
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.admin-table th:hover { color: var(--primary); }

.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.admin-table tr:hover td { background: var(--surface-hover); }

.admin-table tr:last-child td { border-bottom: none; }

.admin-table .col-actions {
  width: 60px;
  text-align: center;
}

.btn-xs {
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

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

.admin-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-tertiary);
}

.admin-empty svg { margin-bottom: 12px; opacity: .4; }
.admin-empty p { font-size: 15px; }

.admin-logout {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  .modal-card { padding: 28px 20px; }
  .admin-table { font-size: 12px; }
  .admin-table th, .admin-table td { padding: 8px 10px; }
  .admin-header { flex-direction: column; align-items: flex-start; }
}
