/* ==========================================================================
   PodPulse - 100% Mobile-First & Desktop Ultra-Responsive Design System
   ========================================================================== */

:root {
  --bg-main: #0a0c14;
  --bg-surface: #111422;
  --bg-surface-elevated: rgba(22, 27, 46, 0.75);
  --bg-glass: rgba(18, 22, 38, 0.8);
  --bg-glass-hover: rgba(30, 36, 62, 0.9);
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(168, 85, 247, 0.35);
  
  --primary: #8b5cf6;
  --primary-glow: rgba(139, 92, 246, 0.5);
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-orange: #f97316;
  
  --gradient-insta: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  --gradient-card: linear-gradient(180deg, rgba(26, 32, 53, 0.8) 0%, rgba(15, 18, 30, 0.9) 100%);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 25px rgba(139, 92, 246, 0.25);
  --shadow-modal: 0 20px 40px rgba(0, 0, 0, 0.8);

  --sidebar-width: 240px;
  --header-height: 64px;
  --mobile-nav-height: 60px;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Global Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(236, 72, 153, 0.12) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* App Shell */
.app-container {
  display: flex;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Desktop Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: rgba(13, 16, 28, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 20px 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 18px 8px;
  border-bottom: 1px solid var(--border-glass);
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 15px var(--primary-glow);
  flex-shrink: 0;
}

.brand-text h1 {
  font-size: 17px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text span {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent-pink);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-links {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  position: relative;
}

.nav-item:hover {
  color: var(--text-main);
  background: var(--bg-surface-elevated);
}

.nav-item.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.2) 0%, rgba(217, 70, 239, 0.05) 100%);
  border-color: var(--border-glow);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--gradient-primary);
  border-radius: 0 4px 4px 0;
}

.nav-badge {
  margin-left: auto;
  background: rgba(236, 72, 153, 0.2);
  color: var(--accent-pink);
  border: 1px solid rgba(236, 72, 153, 0.3);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
}

/* Sidebar Safety Box */
.safety-box {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, rgba(13, 16, 28, 0.6) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-top: auto;
}

.safety-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 4px;
}

.safety-text {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Main Content Area */
.main-wrapper {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: calc(100% - var(--sidebar-width));
  max-width: 100%;
}

/* Header */
.top-header {
  height: var(--header-height);
  background: rgba(10, 12, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 10px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.page-title {
  min-width: 0;
}

.page-title h2 {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-title p {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Live Points Wallet Pill */
.points-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(217, 70, 239, 0.1) 100%);
  border: 1px solid var(--border-glow);
  padding: 4px 10px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.points-icon {
  font-size: 14px;
}

.points-info {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.points-value {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.points-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* User Profile Header Chip */
.user-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 3px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  cursor: pointer;
  flex-shrink: 0;
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--primary);
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-tag {
  font-size: 9px;
  color: var(--text-muted);
}

/* Main Content Body */
.content-body {
  padding: 20px;
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Views */
.view-panel {
  display: none;
  animation: fadeIn 0.3s ease;
  width: 100%;
}

.view-panel.active {
  display: block;
}

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

/* Quick Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.stat-card {
  background: var(--gradient-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.stat-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-value {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Daily Bonus Banner */
.daily-bonus-banner {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(139, 92, 246, 0.2) 100%);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bonus-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.bonus-badge {
  font-size: 24px;
  flex-shrink: 0;
}

.bonus-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.bonus-subtitle {
  font-size: 11px;
  color: #cbd5e1;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  width: 100%;
}

.category-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
}

.category-chips::-webkit-scrollbar {
  display: none;
}

.category-chip {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.category-chip.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

/* Tasks Grid */
.tasks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  width: 100%;
}

.task-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: all 0.3s ease;
}

/* Passive/Completed Task Card */
.task-card.task-card-completed {
  opacity: 0.65;
  filter: grayscale(0.25);
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(18, 22, 38, 0.6);
}

.task-card.task-card-completed:hover {
  opacity: 0.85;
  filter: grayscale(0);
}

.task-card-header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.task-creator {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.creator-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.creator-info {
  min-width: 0;
}

.creator-info h4 {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-info span {
  font-size: 10px;
  color: var(--text-muted);
}

.task-reward-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}

.task-media {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  background: #181c2e;
}

.task-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.task-urgent-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.task-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.task-caption {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.task-progress-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.progress-bar-bg {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 10px;
}

.task-footer {
  padding: 0 14px 12px 14px;
}

.task-footer .btn {
  width: 100%;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-box {
  background: #121626;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-header h3 {
  font-size: 15px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.modal-body {
  padding: 16px 18px;
}

/* Timer Container */
.timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.timer-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid rgba(139, 92, 246, 0.2);
  border-top-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--primary-glow);
}

.timer-counter {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.timer-instructions {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px;
  width: 100%;
  text-align: left;
}

.instruction-step {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.instruction-step:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Forms */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.form-range-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-input {
  flex: 1;
  accent-color: var(--primary);
}

.slider-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-pink);
  min-width: 35px;
}

.cost-calculator {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(217, 70, 239, 0.1) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

/* Table */
.table-container {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 480px;
}

.custom-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.custom-table td {
  padding: 12px 14px;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Mobile Bottom Navigation Bar (PWA Style) */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-nav-height);
  background: rgba(13, 16, 28, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid var(--border-glass);
  z-index: 999;
  padding: 0 4px env(safe-area-inset-bottom, 0) 4px;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  padding: 6px 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.mobile-nav-btn.active {
  color: #fff;
}

.mobile-nav-icon {
  font-size: 17px;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: calc(100vw - 32px);
}

.toast {
  background: #1a1e33;
  border: 1px solid var(--border-glass);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.success { border-left-color: var(--accent-green); }
.toast.error { border-left-color: #ef4444; }

/* ==========================================================================
   MOBILE SCREEN OPTIMIZATIONS (TABLET & SMARTPHONES < 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .sidebar {
    display: none !important;
  }

  .main-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
    padding-bottom: calc(var(--mobile-nav-height) + 24px) !important;
  }

  .mobile-bottom-nav {
    display: flex !important;
  }

  .top-header {
    padding: 0 12px;
    height: 56px;
  }

  .page-title p {
    display: none;
  }

  .page-title h2 {
    font-size: 14px;
  }

  #btn-open-boost-modal span:last-child {
    display: none; /* Hide text, keep rocket icon */
  }

  #btn-open-boost-modal {
    padding: 6px 10px;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .points-label {
    display: none;
  }

  .points-pill {
    padding: 4px 8px;
  }

  .content-body {
    padding: 12px;
  }

  /* 2-Column Responsive Stats on Mobile */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-card {
    padding: 10px 12px;
    gap: 8px;
  }

  .stat-icon-wrapper {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .stat-value {
    font-size: 14px;
  }

  .daily-bonus-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
  }

  .daily-bonus-banner .btn {
    width: 100%;
    margin-top: 4px;
  }

  /* Single Column Full Width Cards on Mobile */
  .tasks-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .task-media {
    height: 160px;
  }

  /* Perfectly Centered Modals on Mobile */
  .modal-overlay {
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
  }

  .modal-box {
    border-radius: var(--radius-xl) !important;
    max-height: 88vh !important;
    margin: auto !important;
    animation: modalScale 0.25s ease !important;
  }

  .toast-container {
    bottom: calc(var(--mobile-nav-height) + 12px);
    right: 10px;
    left: 10px;
  }
}

/* Extra small devices (<= 380px) */
@media (max-width: 380px) {
  .user-name {
    display: none;
  }
  .user-chip {
    padding: 2px;
  }
}
