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

:root {
  --bg:           #0d0e1a;
  --bg-card:      #161827;
  --bg-card-2:    #1e2035;
  --border:       #2a2d4a;
  --accent:       #f5c518;
  --accent-glow:  rgba(245, 197, 24, 0.25);
  --accent2:      #7c5af3;
  --accent2-glow: rgba(124, 90, 243, 0.25);
  --green:        #2ecc71;
  --blue:         #3498db;
  --orange:       #e67e22;
  --red:          #e74c3c;
  --text:         #e8eaf0;
  --text-dim:     #8a8eaa;
  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 8px 32px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Header ===== */
.site-header {
  background: rgba(13,14,26,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo-icon { font-size: 1.4rem; }
.logo-accent { color: var(--accent); }
.nav-links { display: flex; gap: 0.25rem; }
.nav-link {
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: all 0.2s;
  text-decoration: none;
}
.nav-link:hover { color: var(--text); background: var(--bg-card-2); text-decoration: none; }
.nav-link.active { color: var(--accent); background: var(--accent-glow); }
.nav-link-dim { opacity: 0.6; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orb-float 8s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: var(--accent); top: -100px; left: -80px; animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; background: var(--accent2); top: -60px; right: -60px; animation-delay: -3s; }
.orb-3 { width: 250px; height: 250px; background: var(--blue); bottom: -80px; left: 50%; animation-delay: -5s; }

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.05); }
}

.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff9f43 60%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== Layout ===== */
.main-content { flex: 1; }
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.container-narrow { max-width: 460px; }
.container-wide   { max-width: 1000px; }

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.page-header h1 {
  font-size: 1.8rem;
  font-weight: 900;
}
.page-header p { color: var(--text-dim); }

/* ===== Card ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.form-card { margin-bottom: 2rem; }

/* ===== Form ===== */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.required { color: var(--accent); }
.optional { color: var(--text-dim); font-weight: 400; text-transform: none; font-size: 0.85rem; }

input[type="text"],
input[type="url"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  padding: 0.65rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
textarea { resize: vertical; min-height: 80px; }
small {
  display: block;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}
.char-count { text-align: right; }

.form-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 1.2rem;
}
.form-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 0;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 700;
}

.error-box {
  background: rgba(231,76,60,0.12);
  border: 1px solid rgba(231,76,60,0.35);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: #ff8a7a;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff9f43);
  color: #1a1200;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); text-decoration: none; color: #1a1200; }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-dim);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); text-decoration: none; }
.btn-danger { background: rgba(231,76,60,0.15); border: 1px solid rgba(231,76,60,0.4); color: #e74c3c; }
.btn-danger:hover { background: rgba(231,76,60,0.3); }
.btn-lg { padding: 0.75rem 2rem; font-size: 1rem; border-radius: 25px; }
.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.82rem; }
.btn-icon { font-size: 1rem; }

/* ===== Info cards ===== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
}
.info-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.info-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.35rem; }
.info-card p { color: var(--text-dim); font-size: 0.88rem; }

/* ===== Flash messages ===== */
.flash {
  max-width: 860px;
  margin: 1rem auto 0;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
}
.flash-success { background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.3); color: #2ecc71; }
.flash-error   { background: rgba(231,76,60,0.12);  border: 1px solid rgba(231,76,60,0.3);  color: #e74c3c; }

/* ===== Status badges ===== */
.status-badge {
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pending     { background: rgba(245,197,24,0.15);  color: var(--accent);  border: 1px solid rgba(245,197,24,0.3); }
.status-in-progress { background: rgba(52,152,219,0.15);  color: var(--blue);    border: 1px solid rgba(52,152,219,0.3); }
.status-done        { background: rgba(46,204,113,0.15);  color: var(--green);   border: 1px solid rgba(46,204,113,0.3); }
.status-rejected    { background: rgba(231,76,60,0.15);   color: var(--red);     border: 1px solid rgba(231,76,60,0.3); }

/* ===== Queue cards ===== */
.queue-list { display: flex; flex-direction: column; gap: 1rem; }

.queue-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.queue-card:hover { border-color: var(--accent2); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.queue-card.status-in-progress { border-left: 3px solid var(--blue); }
.queue-card.status-done        { border-left: 3px solid var(--green); opacity: 0.75; }
.queue-card.status-rejected    { border-left: 3px solid var(--red);  opacity: 0.65; }
.queue-card.status-pending     { border-left: 3px solid var(--accent); }

.queue-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border);
  gap: 0.75rem;
}
.queue-meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.queue-num {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--text-dim);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
}
.queue-name { font-weight: 800; font-size: 1rem; }
.queue-time { font-size: 0.78rem; color: var(--text-dim); }

.queue-card-body { padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }

.detail-row { display: flex; gap: 0.75rem; align-items: flex-start; flex-wrap: wrap; }
.detail-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  min-width: 60px;
  padding-top: 0.1rem;
}
.detail-value { font-size: 0.92rem; color: var(--text); flex: 1; }
.level-id-chip {
  background: rgba(124,90,243,0.15);
  border: 1px solid rgba(124,90,243,0.3);
  color: #a78bfa;
  border-radius: 6px;
  padding: 0.1rem 0.6rem;
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  flex: none;
}
.youtube-link { color: #ff5c5c; word-break: break-all; }
.notes-text { color: var(--text-dim); font-style: italic; }

/* ===== YouTube embed ===== */
.yt-embed-wrap { margin-top: 0.6rem; }
.yt-toggle-btn { font-size: 0.82rem; padding: 0.35rem 0.9rem; }
.yt-embed-container { margin-top: 0.75rem; }
.yt-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.yt-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ===== Admin panel ===== */
.stats-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.stat-chip:hover, .stat-chip.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  text-decoration: none;
}
.stat-num {
  background: var(--bg);
  border-radius: 10px;
  padding: 0.05rem 0.4rem;
  font-size: 0.75rem;
}

.admin-list { display: flex; flex-direction: column; gap: 1rem; }
.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.admin-card.status-in-progress { border-left: 3px solid var(--blue); }
.admin-card.status-done        { border-left: 3px solid var(--green); }
.admin-card.status-rejected    { border-left: 3px solid var(--red); }
.admin-card.status-pending     { border-left: 3px solid var(--accent); }

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border);
  gap: 0.5rem;
}
.admin-card-body { padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.admin-card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.status-form { display: flex; gap: 0.5rem; align-items: center; flex: 1; }
.status-select { width: auto; flex: 1; max-width: 180px; padding: 0.4rem 0.75rem; font-size: 0.88rem; }

/* ===== Empty state ===== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-dim);
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h2 { font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--text); }
.empty-state p  { margin-bottom: 1.5rem; }

/* ===== Login page ===== */
.login-icon { font-size: 2.5rem; text-align: center; margin-bottom: 0.5rem; }

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-dim);
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
}

/* ===== Landing page ===== */
.hero-landing { padding: 5rem 1.5rem 4rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.feature-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.4rem; }
.feature-card p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.5; }
.feature-card code {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.82rem;
  color: var(--accent2);
}

.landing-cta {
  background: linear-gradient(135deg, rgba(245,197,24,0.08), rgba(124,90,243,0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  margin-bottom: 2rem;
}
.landing-cta h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 0.5rem; }
.landing-cta p  { color: var(--text-dim); margin-bottom: 1.5rem; }

/* ===== Auth pages ===== */
.auth-card { max-width: 100%; text-align: center; }
.auth-card form, .auth-card .social-btns { text-align: left; }
.social-btns { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.btn-social {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  gap: 0.6rem;
}
.btn-google {
  background: #fff;
  color: #3c4043;
  border: 1.5px solid #dadce0;
}
.btn-google:hover { background: #f8f9fa; text-decoration: none; color: #3c4043; }
.btn-discord {
  background: #5865F2;
  color: #fff;
  border: none;
}
.btn-discord:hover { background: #4752c4; text-decoration: none; color: #fff; }

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

.auth-footer-link {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-top: 1.2rem;
}

/* ===== Nav user elements ===== */
.nav-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.nav-user-chip {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-creator-label {
  display: flex;
  align-items: center;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}
.nav-creator-name { color: inherit; }

/* ===== Creator hero avatar ===== */
.creator-hero-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  margin: 0 auto 1rem;
  display: block;
  object-fit: cover;
}
.page-creator-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* ===== Dashboard link card ===== */
.link-card {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(245,197,24,0.06), rgba(124,90,243,0.06));
  border-color: rgba(245,197,24,0.3);
}
.link-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.link-label { font-weight: 800; font-size: 1rem; margin-bottom: 0.2rem; }
.link-label-sub { color: var(--text-dim); font-size: 0.85rem; }
.link-box-wrap { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.link-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-family: monospace;
  word-break: break-all;
}

/* ===== Settings page ===== */
.settings-avatar-card { margin-bottom: 1rem; }
.settings-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.settings-avatar-preview-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}
.settings-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  display: block;
}
.settings-avatar-initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-upload-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s;
  cursor: pointer;
}
.settings-avatar-preview-wrap:hover .avatar-upload-overlay { opacity: 1; }
.settings-avatar-hint { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.2rem; }
.settings-avatar-hint-sub { color: var(--text-dim); font-size: 0.82rem; margin-bottom: 0.6rem; }
.hidden { display: none !important; }
.nav-avatar-wrap { display: flex; align-items: center; text-decoration: none; }

/* ===== Crop Modal ===== */
.crop-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.crop-modal-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow);
}
.crop-modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.crop-container {
  width: 100%;
  height: 320px;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
}
/* Make Cropper.js crop box circular */
.cropper-view-box {
  border-radius: 50%;
  outline: 3px solid var(--accent);
}
.cropper-face { background-color: inherit !important; }
.cropper-dashed, .cropper-line, .cropper-point { display: none !important; }

.crop-zoom-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-dim);
}
.zoom-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}
.zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}
.crop-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ===== Public Profile page ===== */
.profile-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.profile-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.profile-hero-content { position: relative; z-index: 1; }
.profile-avatar-wrap {
  margin: 0 auto 1.25rem;
  width: 110px;
  height: 110px;
}
.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}
.profile-avatar-initials {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 2.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}
.profile-name {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--accent), #ff9f43, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
}
.profile-bio {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.profile-stats {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 0.6rem 1.8rem;
  margin-bottom: 1.8rem;
}
.profile-stat { text-align: center; }
.profile-stat-num { display: block; font-size: 1.4rem; font-weight: 900; color: var(--accent); }
.profile-stat-label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.profile-stat-divider { width: 1px; height: 36px; background: var(--border); }
.profile-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Owner manage bar ===== */
.owner-manage-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--accent2), #5b3fd4);
  border: 1px solid rgba(124,90,243,0.4);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(124,90,243,0.35);
  transition: box-shadow 0.2s, transform 0.2s;
}
.owner-manage-bar:hover {
  box-shadow: 0 0 28px rgba(124,90,243,0.55);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

/* ===== Page toggle bar (Submit / Queue switcher) ===== */
.page-toggle-bar {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0.35rem;
}
.page-toggle-active,
.page-toggle-link {
  flex: 1;
  text-align: center;
  padding: 0.65rem 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: calc(var(--radius) - 4px);
  transition: all 0.2s;
  text-decoration: none;
}
.page-toggle-active {
  background: linear-gradient(135deg, var(--accent), #ff9f43);
  color: #1a1200;
  cursor: default;
}
.page-toggle-link {
  color: var(--text-dim);
}
.page-toggle-link:hover {
  background: var(--bg-card-2);
  color: var(--text);
  text-decoration: none;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-divider { padding: 0.25rem 0; }
  .queue-card-header { flex-direction: column; align-items: flex-start; }
  .admin-card-actions { flex-direction: column; align-items: flex-start; }
  .status-form { width: 100%; }
  .status-select { max-width: 100%; }
}
