/* ════════════════════════════════════════════════════════════════════════════
   EduPlan Design System — Tokens & Base Utilities
   ════════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

:root,
[data-theme="dark"],
body.theme-dark {
  /* ── Brand & Color Palette (Nordic Dark Default) ── */
  --primary: #14B8A6;          /* Vibrant Emerald / Teal */
  --primary-hover: #2DD4BF;
  --primary-light: #5EEAD4;
  --primary-subtle: rgba(20, 184, 166, 0.15);
  --primary-glow: rgba(20, 184, 166, 0.35);

  --navy: #060B18;             /* Ultra-Deep Navy Foundation */
  --navy-surface: #0B132B;
  --navy-card: #0F1C3F;
  --navy-border: rgba(255, 255, 255, 0.1);
  --navy-muted: #94A3B8;

  --bg-main: #070D1E;          /* Deep Slate Canvas */
  --bg-surface: #0D162E;
  --bg-card: #111D3D;
  --bg-subtle: #16244C;
  --bg-hover: #1D2E5C;

  /* Legacy & Semantic Aliases */
  --cream: #0B132B;
  --teal: var(--primary);
  --teal-lt: var(--primary-subtle);
  --warm-gray: #1E293B;
  --text-main: #F8FAFC;

  /* ── Status & Priority ── */
  --danger: #F87171;
  --danger-light: rgba(239, 68, 68, 0.2);
  --danger-subtle: rgba(239, 68, 68, 0.15);

  --warning: #FBBF24;
  --warning-light: rgba(245, 158, 11, 0.2);
  --warning-subtle: rgba(245, 158, 11, 0.15);

  --success: #34D399;
  --success-light: rgba(16, 185, 129, 0.2);
  --success-subtle: rgba(16, 185, 129, 0.15);

  --info: #60A5FA;
  --info-light: rgba(59, 130, 246, 0.2);
  --info-subtle: rgba(59, 130, 246, 0.15);

  --purple: #A78BFA;
  --purple-light: rgba(139, 92, 246, 0.2);
  --purple-subtle: rgba(139, 92, 246, 0.15);

  /* ── Typography & Text ── */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  --text: #F8FAFC;             /* Crisp Slate White */
  --text-secondary: #CBD5E1;   /* Slate 300 */
  --text-muted: #94A3B8;       /* Slate 400 */
  --text-subtle: #64748B;      /* Slate 500 */
  --text-inverse: #0F172A;

  /* ── Borders, Radii & Shadows ── */
  --border: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-focus: var(--primary);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Multi-Layer Ambient Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.35);
  --shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 20px -3px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 30px -5px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);

  /* Specular Highlight / Bezel */
  --bezel-outer: 0 0 0 1px rgba(255, 255, 255, 0.08);
  --bezel-inner: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  --bezel-dark: 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.1);

  /* Motion & Interpolation */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1.display, h2.display, .font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

/* ── Scrollbars ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ── Layout Containers ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons (High-End Island Architecture) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #CBD5E1;
  color: var(--text);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text);
}

.btn-danger {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #F87171 0%, #EF4444 100%);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius);
}

.btn-block {
  width: 100%;
}

.btn-pill {
  border-radius: var(--radius-full);
}

.btn .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.btn:hover .icon-wrap.arrow {
  transform: translate(2px, -2px);
}

/* ── Badges & Tags ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-high {
  background: var(--danger-subtle);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-medium {
  background: var(--warning-subtle);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-low {
  background: var(--success-subtle);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-neutral {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.badge-primary {
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

/* ── Logo Marks ── */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-logo strong {
  color: var(--primary);
}

.nav-logo-img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  border-radius: 9px;
  display: inline-block !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0 !important;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  color: #FFFFFF;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: transform var(--transition);
}

.nav-logo:hover .logo-mark {
  transform: scale(1.05) rotate(-3deg);
}

/* ── Form Controls ── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

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

/* ── Modal Architecture ── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  transform: translateY(12px) scale(0.97);
  transition: all var(--transition);
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 700;
}

.modal-close {
  background: var(--bg-subtle);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: #E2E8F0;
  color: var(--text);
  transform: rotate(90deg);
}

/* ── Toasts ── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
  font-size: 14px;
  font-weight: 500;
  max-width: 360px;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--info); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

/* ── Clean Vector SVG Icon Base ── */
.svg-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.svg-icon-sm { width: 14px; height: 14px; }
.svg-icon-lg { width: 22px; height: 22px; }
.svg-icon-xl { width: 32px; height: 32px; }

/* ── Theme Switcher Toggle ── */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(15deg);
}

/* ── Direct-Support & Affiliate Promo Cards (Zero CLS Layout) ── */
.promo-slot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 16px 0 24px;
  position: relative;
  width: 100%;
}

.promo-banner {
  width: 100%;
  max-width: 970px;
  height: 90px;
  min-height: 90px;
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.promo-card {
  width: 100%;
  height: 140px;
  min-height: 140px;
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.promo-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(15, 23, 42, 0.82);
  color: #94A3B8;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 2;
  transition: color var(--transition), border-color var(--transition);
}

.promo-banner:hover,
.promo-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.promo-banner:hover .promo-tag,
.promo-card:hover .promo-tag {
  color: #F8FAFC;
  border-color: var(--primary);
}

/* ── Direct Developer Support (Tip Jar Styles) ── */
.nav-link-support {
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  color: #FBBF24 !important;
  font-weight: 600;
}

.nav-link-support:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.2) 100%);
  border-color: #F59E0B !important;
  color: #FEF3C7 !important;
  transform: translateY(-1px);
}

.nav-support-icon {
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.dashboard-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.dashboard-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #FBBF24;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

.footer-support-btn:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.24) 0%, rgba(217, 119, 6, 0.18) 100%);
  border-color: #F59E0B;
  color: #FEF3C7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

/* ── Cookie Consent & GDPR / CCPA Banner ── */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 440px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 20px 24px;
  z-index: 1050;
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-consent-banner.show {
  display: flex;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.cookie-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

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

/* ── Responsive helpers ── */
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .modal-content {
    padding: 24px;
  }
  .cookie-consent-banner {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: 12px;
  }
}

/* ── USER PROFILE MODAL ENHANCEMENTS (Awwwards / Agency-Grade) ── */
.profile-modal-content {
  background: linear-gradient(180deg, #0E172F 0%, #080E20 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  padding: 24px 28px !important;
}

.profile-card-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.profile-modal-avatar {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, #14B8A6 0%, #0F766E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.profile-modal-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.profile-modal-name {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.profile-modal-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.profile-badge.primary {
  background: rgba(20, 184, 166, 0.2);
  color: #5EEAD4;
  border: 1px solid rgba(20, 184, 166, 0.4);
}

.profile-badge.status {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: pulseLight 2s infinite ease-in-out;
}

@keyframes pulseLight {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.profile-info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.03);
}

.profile-info-item.full-width {
  grid-column: 1 / -1;
}

.profile-info-item .info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--navy-muted, #94A3B8);
}

.profile-info-item .info-value {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  word-break: break-all;
}

.info-value-copyable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.info-id-code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #E2E8F0;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
}

.copy-id-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.copy-id-btn:hover {
  background: var(--primary, #14B8A6);
  color: #FFFFFF;
  border-color: var(--primary, #14B8A6);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.copy-id-btn:active {
  transform: scale(0.96);
}

.copy-id-btn.copied {
  background: #10B981 !important;
  color: #FFFFFF !important;
  border-color: #10B981 !important;
}

.profile-stats-container {
  padding: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.03);
}

.profile-stats-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--navy-muted, #94A3B8);
  margin-bottom: 12px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.profile-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.profile-stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #14B8A6, #06B6D4);
  opacity: 0.6;
}

.profile-stat-box:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.3);
}

.profile-stat-box .stat-number {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.profile-stat-box .stat-caption {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--navy-muted, #94A3B8);
  margin-top: 3px;
  text-align: center;
}