@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0f1117;
  --surface: #1a1d27;
  --surface-2: #242836;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --text-muted: #8b93a7;
  --primary: #6366f1;
  --primary-hover: #818cf8;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(99, 102, 241, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(139, 92, 246, 0.12), transparent);
  pointer-events: none;
  z-index: 0;
}

.app {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 20px 120px; /* Increased bottom padding to accommodate sticky navigation footer */
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 36px;
  padding-top: 12px;
}

.header-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-hover);
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-bottom: 12px;
}

.header h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Layout */
.main-grid {
  display: block;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 16px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  gap: 12px;
}

.card-header:hover {
  background: rgba(255, 255, 255, 0.04);
}

.card-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 8px;
}

.card-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.card-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chevron {
  transition: transform 0.25s;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.card.collapsed .chevron {
  transform: rotate(-90deg);
}

.card-body {
  padding: 20px;
}

.card.collapsed .card-body {
  display: none;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .form-grid.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

label .required {
  color: var(--danger);
  margin-right: 2px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="color"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.color-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.color-row input[type="color"] {
  width: 44px;
  height: 44px;
  padding: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.color-row input[type="text"] {
  flex: 1;
}

/* Section blocks */
.section-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}

.section-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  gap: 10px;
}

.section-block-title {
  font-weight: 700;
  font-size: 0.88rem;
  flex: 1;
}

.section-block-title input {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  width: 100%;
  padding: 0;
}

.section-block-title input:focus {
  outline: none;
  box-shadow: none;
}

.section-block-body {
  padding: 14px 16px;
}

.section-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-hover);
  white-space: nowrap;
}

.section-badge.required {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* Repeater items */
.repeater-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  position: relative;
}

.repeater-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.repeater-item-num {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.repeater-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 600px) {
  .repeater-fields.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-success {
  background: var(--success);
  color: #fff;
}

.btn-success:hover:not(:disabled) {
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px dashed var(--border);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary-hover);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  padding: 5px 10px;
  font-size: 0.78rem;
}

.btn-danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.3);
}

.btn-icon {
  padding: 5px 8px;
  font-size: 0.9rem;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.add-section-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  margin-top: 8px;
}

.add-section-bar label {
  width: 100%;
  margin-bottom: 4px;
}

/* Output panel */
.output-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.output-header {
  padding: 16px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.output-header h2 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.output-header p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.output-body {
  padding: 16px;
}

#prompt-output {
  width: 100%;
  min-height: 420px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Vazirmatn', monospace;
  font-size: 0.78rem;
  line-height: 1.8;
  padding: 14px;
  resize: vertical;
  direction: rtl;
}

.output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Step Progress Indicator */
.step-progress-wrapper {
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.step-progress-indicator {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 12px;
}

.step-line {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--surface-2);
  z-index: 1;
}

.step-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #8b5cf6);
  transition: width 0.4s ease;
}

.step-dot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.step-dot-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-dot-label {
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}

.step-dot.active .step-dot-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.4);
}

.step-dot.active .step-dot-label {
  color: var(--text);
}

.step-dot.completed .step-dot-num {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.step-dot.completed .step-dot-label {
  color: #10b981;
}

.step-text-summary {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Slider Viewport and Slides */
.wizard-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: var(--radius);
}

.wizard-slides {
  display: flex;
  width: 400%; /* 4 steps */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.wizard-slide {
  width: 25%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.wizard-slide .card {
  margin-bottom: 0;
}

/* Step 1 Specific: Actions */
.first-step-actions {
  background: var(--surface);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
  box-shadow: var(--shadow);
}

.first-step-tip {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.auto-fill-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ai-type-select {
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  min-width: 140px;
}

.ai-type-select:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-ai {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-ai:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ai:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-ai-loading[hidden],
.btn-ai-text[hidden] {
  display: none;
}

.btn-random {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-random:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-random:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Wizard Navigation Footer - Sticky / Fixed at the bottom */
.wizard-navigation {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  background: rgba(26, 29, 39, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 16px 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  margin-top: 0;
  z-index: 1000;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wizard-nav-dots {
  display: flex;
  gap: 10px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.toast {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s;
  z-index: 999999;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.empty-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 24px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 600px) {
  .social-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Logo upload row */
.logo-upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#logo-preview-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Portfolio image upload row */
.portfolio-image-upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

@media print {
  body::before { display: none; }
  .generate-bar, .add-section-bar, .btn-danger, .add-section-btns { display: none !important; }
  .card.collapsed .card-body { display: block !important; }
  .output-panel { break-inside: avoid; }
}

/* Step-based Attachments Styles */
.step-attachments-wrapper {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.attachments-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: block;
}

.attachments-upload-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.step-file-label {
  flex: 1;
  min-width: 200px;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.8rem;
}

.step-file-label:focus {
  outline: none;
  border-color: var(--primary);
}

.step-attachments-progress {
  margin-top: 10px;
}

.media-progress-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.media-progress-line {
  width: 100%;
  height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
}

.media-progress-line-fill {
  width: 0%;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.step-attachments-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 600px) {
  .step-attachments-list {
    grid-template-columns: 1fr 1fr;
  }
}

.step-attachment-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.attachment-preview-box {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.attachment-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attachment-preview-box span {
  font-size: 1.2rem;
}

.attachment-item-info {
  flex: 1;
  min-width: 0;
}

.attachment-item-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.attachment-item-label {
  font-size: 0.72rem;
  color: var(--primary-hover);
  font-weight: 600;
  margin-bottom: 1px;
}

.attachment-item-url-text {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  text-align: right;
}

.attachment-item-actions {
  display: flex;
  gap: 4px;
}

.attachment-item-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.75rem;
  transition: all 0.2s;
}

.attachment-item-btn:hover {
  background: var(--primary);
  color: #fff;
}

.attachment-item-btn.delete-btn:hover {
  background: var(--danger);
  color: #fff;
}

/* Loading Game Modal Styles */
.game-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.game-modal-content {
  position: relative;
  width: 90%;
  max-width: 520px;
  background: #0f0e1a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.game-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2100;
}

.game-modal-close:hover {
  background: var(--danger);
  transform: rotate(90deg);
}

#loading-game-iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Dashboard Action Cards Grid
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 30px 0 40px 0;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.dashboard-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.25);
}

.dashboard-card-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.dashboard-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.dashboard-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.dashboard-btn-action {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.dashboard-btn-action.primary {
  background: linear-gradient(135deg, var(--primary), #818cf8);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.dashboard-btn-action.primary:hover {
  background: linear-gradient(135deg, #4f46e5, var(--primary));
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.dashboard-btn-action.secondary {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
}

.dashboard-btn-action.secondary:hover {
  background: linear-gradient(135deg, #db2777, #7c3aed);
}

.dashboard-btn-action.outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px dashed var(--border);
}

.dashboard-btn-action.outline:hover {
  border-color: var(--primary);
  color: var(--primary-hover);
}

.dashboard-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-hover);
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ==========================================================================
   Zibel Mobile-First Redesign (Matching Reference UI Style & Spacing)
   ========================================================================== */

/* Main Container Base */
.app {
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 14px 100px 14px;
  position: relative;
}

@media (min-width: 768px) {
  .app {
    max-width: 860px;
    padding-inline: 24px;
  }
}

/* 1. Header Bar */
.z-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  margin-bottom: 16px;
  position: sticky;
  top: 10px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.z-header-left, .z-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.z-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.z-icon-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.12);
}

.z-notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0f172a;
}

.z-brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.z-brand-badge {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

.z-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(168, 85, 247, 0.4);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.z-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2. Coin Balance Card */
.z-coin-card {
  background: linear-gradient(135deg, #2e1065 0%, #4c1d95 45%, #6b21a8 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 24px;
  padding: 22px 20px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(76, 29, 149, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 2.5 Storage Space Banner Card */
.z-storage-card {
  background: rgba(22, 30, 49, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.z-storage-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.z-storage-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.z-storage-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #34d399;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.z-storage-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.z-storage-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
}

.z-storage-subtext {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
}

.z-storage-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.z-storage-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #3b82f6);
  border-radius: 10px;
  transition: width 0.4s ease, background 0.4s ease;
}

.z-storage-bar-fill.warning {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.z-storage-bar-fill.danger {
  background: #ef4444;
}

.z-coin-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.z-coin-content {
  z-index: 2;
}

.z-coin-label {
  font-size: 0.82rem;
  color: #c4b5fd;
  font-weight: 600;
  margin-bottom: 4px;
}

.z-coin-amount-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.z-coin-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.5px;
}

.z-coin-icon-gold {
  font-size: 1.8rem;
  filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.5));
}

.z-coin-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  text-decoration: none;
}

.z-coin-action-btn:hover, .z-coin-action-btn:active {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.z-coin-graphic {
  width: 90px;
  height: 90px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.z-wallet-3d-icon {
  font-size: 4rem;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  animation: floatSlow 4s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(3deg); }
}

/* 3. Level & Gamification Progress Card */
.z-level-card {
  background: rgba(22, 30, 49, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.z-level-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.z-level-badge-frame {
  width: 52px;
  height: 52px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.25);
  flex-shrink: 0;
}

.z-level-info {
  flex: 1;
}

.z-level-tag {
  font-size: 0.76rem;
  color: #c4b5fd;
  font-weight: 700;
  margin-bottom: 2px;
}

.z-level-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.z-level-needed {
  font-size: 0.78rem;
  color: #94a3b8;
}

.z-progress-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.z-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #d946ef);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(217, 70, 239, 0.6);
}

.z-level-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
}

.z-level-link {
  color: #c4b5fd;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.z-level-link:hover {
  color: #a855f7;
}

/* 4. Quick Action Grid (2x2) */
.z-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .z-quick-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

.z-quick-item {
  background: rgba(22, 30, 49, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 14px 6px 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.z-quick-item:hover, .z-quick-item:active {
  transform: translateY(-3px);
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.z-quick-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.z-quick-icon-wrap.purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(99, 102, 241, 0.25));
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c4b5fd;
}

.z-quick-icon-wrap.blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(99, 102, 241, 0.25));
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.z-quick-icon-wrap.pink {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(168, 85, 247, 0.25));
  border: 1px solid rgba(236, 72, 153, 0.35);
  color: #f472b6;
}

.z-quick-icon-wrap.green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(52, 211, 153, 0.25));
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.z-quick-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.25;
}

/* 5. Primary Action Banner (Instagram Site Builder CTA) */
.z-primary-cta-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.25) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
}

.z-primary-cta-text {
  flex: 1;
}

.z-primary-cta-badge {
  display: inline-block;
  background: rgba(236, 72, 153, 0.2);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.35);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.z-primary-cta-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.z-primary-cta-desc {
  font-size: 0.76rem;
  color: #cbd5e1;
}

.z-primary-cta-btn {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
}

.z-primary-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

/* 6. Section Titles */
.z-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-inline: 4px;
}

.z-section-title {
  font-size: 1rem;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.z-section-title-icon {
  color: #a855f7;
  font-size: 1.1rem;
}

.z-section-action-link {
  font-size: 0.78rem;
  color: #c4b5fd;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.z-section-action-link:hover {
  color: #a855f7;
}

/* 7. User Websites Section ("سایت‌های من") */
.z-sites-container {
  margin-bottom: 22px;
}

.z-sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.z-site-card {
  background: rgba(22, 30, 49, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.z-site-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

.z-site-preview-header {
  height: 90px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.3));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.2rem;
}

.z-site-status-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.z-site-body {
  padding: 12px 14px;
}

.z-site-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.z-site-url {
  font-size: 0.74rem;
  color: #94a3b8;
  direction: ltr;
  text-align: right;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.z-site-actions {
  display: flex;
  gap: 6px;
}

.z-site-btn {
  flex: 1;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.z-site-btn.primary {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.z-site-btn.primary:hover {
  background: rgba(99, 102, 241, 0.35);
}

.z-site-btn.outline {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.z-site-empty-card {
  background: rgba(22, 30, 49, 0.6);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
}

.z-site-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.z-site-empty-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.z-site-empty-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 14px;
  max-width: 320px;
  margin-inline: auto;
}

/* 8. Daily Missions Section ("ماموریت‌های امروز") */
.z-missions-card {
  background: rgba(22, 30, 49, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.z-mission-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.z-mission-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.z-mission-item:hover, .z-mission-item:active {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateX(-2px);
}

.z-mission-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.z-mission-check-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  flex-shrink: 0;
}

.z-mission-icon-purple {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c4b5fd;
}

.z-mission-icon-pink {
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.3);
  color: #f472b6;
}

.z-mission-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.z-mission-desc {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 1px;
}

.z-mission-reward {
  display: flex;
  align-items: center;
  gap: 8px;
}

.z-mission-coin-badge {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.z-mission-arrow {
  color: #64748b;
  font-size: 0.85rem;
}

/* 9. Compact Referral & Showcase Cards */
.z-compact-card {
  background: rgba(22, 30, 49, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.z-compact-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.z-compact-icon {
  font-size: 1.8rem;
}

.z-compact-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.z-compact-subtitle {
  font-size: 0.74rem;
  color: #94a3b8;
}

.z-compact-btn {
  background: rgba(168, 85, 247, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.z-compact-btn:hover {
  background: rgba(168, 85, 247, 0.3);
}

/* 10. Classic Wizard Collapsible Section */
.z-classic-accordion {
  background: rgba(22, 30, 49, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  margin-top: 20px;
  margin-bottom: 24px;
  overflow: hidden;
}

.z-classic-header {
  padding: 16px 18px;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.z-classic-header-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 11. Sticky Mobile Bottom Navigation Bar */
.z-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(9, 13, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.z-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: none;
  position: relative;
  transition: all 0.2s ease;
  width: 20%;
}

.z-nav-icon {
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.z-nav-item:hover, .z-nav-item.active {
  color: #c4b5fd;
}

.z-nav-item.active .z-nav-icon {
  transform: translateY(-2px);
}

/* Active Home Bubble */
.z-nav-item.home-bubble {
  position: relative;
  top: -12px;
}

.z-nav-item.home-bubble .z-nav-icon-bg {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
  border: 4px solid #090d16;
}

.z-nav-badge {
  position: absolute;
  top: 2px;
  right: 22%;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide-over Drawer & Notifications Modal */
.z-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.z-drawer-sheet {
  width: 100%;
  max-width: 500px;
  background: #0f172a;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.z-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.z-drawer-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.z-drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
}

.z-drawer-menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.z-drawer-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 14px;
  color: #f1f5f9;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.z-drawer-menu-item:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #c4b5fd;
}


