/* ==================================================================
   VARIABLES & BASE STYLES
================================================================== */
:root {
  --primary: #6B4EE6;
  --primary-hover: #5839D6;
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --danger: #EF4444;
  --danger-hover: #DC2626;
  --success: #10B981;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text-main); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
.hidden { display: none !important; }

/* ==================================================================
   LAYOUT
================================================================== */
.app-container { min-height: 100vh; display: flex; flex-direction: column; }
.main-content { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }

header {
  background: var(--surface); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.25rem; color: var(--primary); }
.brand svg { color: var(--primary); }

.user-menu { position: relative; }
.user-menu-btn {
  display: flex; align-items: center; gap: 0.75rem; background: none; border: none; cursor: pointer;
  padding: 0.25rem; border-radius: var(--radius-full); transition: var(--transition);
}
.user-menu-btn:hover { background: rgba(0,0,0,0.05); }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--border); }
.user-name { font-weight: 500; display: none; }
@media (min-width: 640px) { .user-name { display: block; } }

.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 0.5rem); width: 200px;
  background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: var(--transition); z-index: 50;
}
.user-menu:hover .dropdown-menu, .user-menu:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a, .dropdown-menu button {
  display: block; width: 100%; text-align: left; padding: 0.75rem 1rem;
  background: none; border: none; cursor: pointer; color: var(--text-main);
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--bg); }
.dropdown-divider { height: 1px; background: var(--border); margin: 0.25rem 0; }
.text-danger { color: var(--danger) !important; }

/* ==================================================================
   TYPOGRAPHY & UTILS
================================================================== */
h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; } .mt-8 { margin-top: 2rem; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .justify-center { justify-content: center; } .gap-2 { gap: 0.5rem; } .gap-4 { gap: 1rem; }
.grid { display: grid; } 

/* ==================================================================
   BUTTONS
================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; font-weight: 500; border-radius: var(--radius-md);
  border: 1px solid transparent; cursor: pointer; transition: var(--transition);
  white-space: nowrap; outline: none;
}
.btn:focus-visible { box-shadow: 0 0 0 3px rgba(107, 78, 230, 0.3); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); }
.btn-secondary { background: white; border-color: var(--border); color: var(--text-main); }
.btn-secondary:hover:not(:disabled) { background: var(--bg); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover:not(:disabled) { background: var(--danger-hover); }
.btn-ghost { background: transparent; color: var(--text-main); }
.btn-ghost:hover:not(:disabled) { background: var(--bg); }
.btn-lg { padding: 0.875rem 1.5rem; font-size: 1.125rem; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm); border: none;
  background: transparent; color: var(--text-muted); cursor: pointer; transition: var(--transition);
}
.icon-btn:hover { background: var(--bg); color: var(--text-main); }

/* ==================================================================
   CARDS & GRIDS
================================================================== */
.card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

.event-card { transition: var(--transition); display: flex; flex-direction: column; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-img-wrap { position: relative; padding-bottom: 100%; overflow: hidden; background: var(--bg); }
.event-img-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.event-badge {
  position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,0.6); color: white;
  padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600;
  backdrop-filter: blur(4px); text-transform: uppercase; letter-spacing: 0.05em;
}
.event-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.event-title { font-weight: 600; font-size: 1.125rem; margin-bottom: 0.25rem; }
.event-meta { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1rem; flex: 1; }

/* ==================================================================
   FORMS & INPUTS
================================================================== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-control {
  width: 100%; padding: 0.625rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius-md); background: var(--surface); transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(107, 78, 230, 0.1); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ==================================================================
   CREATE POST FLOW
================================================================== */
.create-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .create-layout { grid-template-columns: 1fr 1fr; } }

.preview-panel { background: var(--bg); border-radius: var(--radius-lg); padding: 1rem; display: flex; align-items: center; justify-content: center; }
.canvas-container { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1/1; box-shadow: var(--shadow-md); border-radius: var(--radius-sm); overflow: hidden; background: white; margin: 0 auto; }
.canvas-container canvas { width: 100%; height: 100%; display: block; }
.canvas-overlay-loader { position: absolute; inset: 0; background: rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.canvas-overlay-loader.show { opacity: 1; }

.step-indicator { display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; }
.step-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--border); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-weight: 600; margin: 0 0.5rem; transition: var(--transition); }
.step-dot.active { background: var(--primary); color: white; }
.step-dot.completed { background: var(--success); color: white; }
.step-line { flex: 1; max-width: 50px; height: 2px; background: var(--border); }
.step-line.completed { background: var(--success); }

.templates-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.template-item { border: 2px solid transparent; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; transition: var(--transition); }
.template-item img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.template-item.selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(107, 78, 230, 0.2); transform: scale(0.98); }

.upload-area { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; cursor: pointer; transition: var(--transition); background: var(--surface); }
.upload-area:hover, .upload-area.dragover { border-color: var(--primary); background: rgba(107, 78, 230, 0.02); }
.upload-area svg { color: var(--text-muted); margin: 0 auto 1rem; }

/* ==================================================================
   COMPONENTS (Toast, Loader, Modal)
================================================================== */
.toast-host { position: fixed; bottom: 2rem; right: 2rem; z-index: 100; display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none; }
.toast { background: var(--surface); color: var(--text-main); padding: 1rem 1.25rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 1px solid var(--border); display: flex; align-items: center; gap: 0.75rem; transform: translateY(20px); opacity: 0; transition: var(--transition); pointer-events: auto; max-width: 400px; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; color: white; flex-shrink: 0; }
.toast-success .toast-icon { background: var(--success); }
.toast-error .toast-icon { background: var(--danger); }
.toast-info .toast-icon { background: var(--primary); }

.page-loader { position: fixed; inset: 0; background: rgba(255,255,255,0.9); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(4px); }
.page-loader.show { opacity: 1; visibility: visible; }
.page-loader-box { text-align: center; }
.page-loader-text { margin-top: 1rem; font-weight: 500; color: var(--text-muted); }

.spinner { display: inline-block; width: 1.25em; height: 1.25em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.75s linear infinite; }
.spinner-lg { width: 3rem; height: 3rem; border-width: 3px; color: var(--primary); }
@keyframes spin { 100% { transform: rotate(360deg); } }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(2px); }
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal { background: var(--surface); border-radius: var(--radius-lg); width: 100%; max-width: 600px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); transform: scale(0.95); transition: var(--transition); }
.modal-overlay.show .modal { transform: scale(1); }
.modal-sm { max-width: 400px; }
.modal-lg { max-width: 800px; }
.modal-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-title { margin: 0; font-size: 1.25rem; }
.modal-body { padding: 1.5rem; overflow-y: auto; }
.modal-actions { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 1.5rem; }
.no-scroll { overflow: hidden; }

/* ==================================================================
   EMPTY STATES
================================================================== */
.empty-state { text-align: center; padding: 4rem 1rem; background: var(--surface); border-radius: var(--radius-lg); border: 1px dashed var(--border); }
.empty-icon { width: 64px; height: 64px; background: var(--bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--text-muted); }
.empty-icon svg { width: 32px; height: 32px; }

/* ==================================================================
   PROFILE
================================================================== */
.profile-header { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: 2rem; }
.profile-avatar-wrap { position: relative; margin-bottom: 1rem; }
.profile-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); box-shadow: var(--shadow-md); }
.profile-avatar-edit { position: absolute; bottom: 0; right: 0; width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid var(--surface); transition: var(--transition); }
.profile-avatar-edit:hover { background: var(--primary-hover); transform: scale(1.1); }
.profile-avatar-edit input[type="file"] { display: none; }

/* Cropper Circular Overlay */
.cropper-circle .cropper-view-box,
.cropper-circle .cropper-face {
  border-radius: 50%;
}


body { background-color: #f8fafc; background-image: radial-gradient(#e2e8f0 1px, transparent 1px); background-size: 24px 24px; }
.event-card { border: 1px solid rgba(0,0,0,0.05); }


.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover:not(:disabled) { background: var(--primary); color: white; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; }

/* ==================================================================
   HERO & SECTIONS
================================================================== */
.hero {
  text-align: center;
  padding: 3.5rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(107, 78, 230, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
.category-section {
  margin-bottom: 3.5rem;
}
.category-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.75rem;
}
.category-title::before {
  content: "";
  display: block;
  width: 6px;
  height: 1.5rem;
  background: var(--primary);
  border-radius: 4px;
}
.event-block {
  margin-bottom: 3rem;
}
.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.countdown-timer {
  font-size: 0.875rem;
  color: var(--danger);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.countdown-timer.active {
  color: var(--success);
}
.login-modal-content {
  text-align: center;
  padding: 2rem 1.5rem;
}

/* ==================================================================
   MOBILE BOTTOM NAVIGATION
================================================================== */
.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    align-items: stretch;
    justify-content: space-around;
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.05);
  }

  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 500;
    transition: color 0.15s ease;
    cursor: pointer;
    position: relative;
    padding: 4px 0;
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-nav-item:active {
    transform: scale(0.93);
  }

  .bottom-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    position: relative;
  }

  .bottom-nav-icon svg {
    transition: transform 0.2s ease, stroke 0.2s ease;
  }

  .bottom-nav-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid transparent;
  }

  .bottom-nav-item.active {
    color: var(--primary);
    font-weight: 600;
  }

  .bottom-nav-item.active .bottom-nav-icon svg {
    stroke: var(--primary);
    stroke-width: 2.3;
  }

  .bottom-nav-item.active .bottom-nav-avatar {
    border-color: var(--primary);
  }

  .bottom-nav-item.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 3px 3px;
  }

  .toast-host {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    right: 1rem !important;
    left: 1rem !important;
  }
}

/* ==================================================================
   MOBILE RESPONSIVENESS (< 768px and < 640px)
================================================================== */
@media (max-width: 768px) {
  .create-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .preview-panel {
    order: -1 !important;
    padding: 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }
  .canvas-container {
    max-width: 290px !important;
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  /* Header */
  .header-inner {
    padding: 0.75rem 1rem !important;
  }
  .brand {
    font-size: 1.15rem !important;
  }

  /* Main containers */
  .main-content {
    padding: 1.25rem 1rem 2.5rem !important;
  }
  .content-wrapper {
    padding: 0 0.85rem !important;
  }

  /* Hero */
  .hero {
    padding: 2rem 1rem 1.5rem !important;
  }
  .hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
  }
  .hero p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
  }
  .hero-tag {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.75rem !important;
    margin-bottom: 1rem !important;
  }
  #hero-login-btn {
    width: 100% !important;
    max-width: 320px !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 1rem !important;
  }

  /* Category & Event headings */
  .category-title {
    font-size: 1.35rem !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.5rem !important;
  }
  .category-section {
    margin-bottom: 2.25rem !important;
  }
  .event-block {
    margin-bottom: 2.25rem !important;
  }
  .event-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
  }
  .event-title {
    font-size: 1.2rem !important;
  }
  .countdown-timer {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.65rem !important;
    align-self: flex-start !important;
  }

  /* Events & Templates Grid (2-column layout like native apps) */
  .events-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .event-card {
    border-radius: var(--radius-md) !important;
  }
  .event-body {
    padding: 0.65rem 0.5rem !important;
  }
  .event-card .btn {
    font-size: 0.78rem !important;
    padding: 0.45rem 0.5rem !important;
    border-radius: 8px !important;
  }

  /* Create Post Flow */
  .step-indicator {
    margin-bottom: 1.25rem !important;
  }
  .step-dot {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }
  .templates-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
  }
  .upload-area {
    padding: 1.25rem 1rem !important;
  }
  .upload-area svg {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 0.5rem !important;
  }
  .upload-area p {
    font-size: 0.85rem !important;
  }

  /* Cropper Modal */
  #crop-modal .modal {
    max-width: 95% !important;
    width: 95% !important;
  }
  #crop-modal .modal-body {
    max-height: 65vh !important;
    padding: 0.75rem 1rem 0 !important;
  }
  #crop-modal .crop-container {
    max-height: 260px !important;
  }

  /* My Posts Screen */
  #posts-grid.events-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  #posts-grid .event-body {
    padding: 0.65rem 0.5rem !important;
  }
  #posts-grid .event-title {
    font-size: 0.88rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #posts-grid .event-meta {
    font-size: 0.72rem !important;
    margin-bottom: 0.4rem !important;
  }
  #posts-grid .flex.gap-2.mt-2 {
    gap: 0.25rem !important;
  }
  #posts-grid .btn-secondary {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.35rem !important;
  }
  #posts-grid .icon-btn {
    width: 28px !important;
    height: 28px !important;
  }
  #posts-grid .icon-btn svg {
    width: 15px !important;
    height: 15px !important;
  }

  /* Profile Screen */
  .profile-header {
    padding: 1.5rem 1rem !important;
  }
  .profile-avatar {
    width: 90px !important;
    height: 90px !important;
  }
  #profile-form {
    padding: 1.25rem 1rem !important;
  }

  /* Modals */
  .modal {
    max-width: 95% !important;
    width: 95% !important;
    border-radius: var(--radius-md) !important;
  }
  .modal-header {
    padding: 1rem 1.25rem !important;
  }
  .modal-body {
    padding: 1.25rem 1rem !important;
  }
  .modal-actions {
    margin-top: 1rem !important;
  }

  /* SEO / FAQ article */
  .seo-content {
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
  }
  .seo-content h2 {
    font-size: 1.35rem !important;
  }
  .seo-content h3 {
    font-size: 1.05rem !important;
  }
  .seo-content p {
    font-size: 0.875rem !important;
  }
}


