/* Lucide.dev Inspired Minimalist Design System with Inter Font */
:root {
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Color Palette - Dark Mode */
  --bg-dark: #090d16;
  --bg-card: #111827;
  --bg-card-hover: #1f2937;
  --bg-glass: rgba(17, 24, 39, 0.95);
  
  --primary: #666666;
  --primary-hover: #4b5563;
  --primary-light: rgba(102, 102, 102, 0.15);
  
  --accent-teal: #16cfc1;
  --accent-teal-dark: #0d9488;
  --accent-gold: #efb93f;
  --accent-gold-dark: #d97706;
  --accent-rose: #f43f5e;
  --accent-violet: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-indigo: #6366f1;
  
  /* Strong Slogan Colors (Dark Mode) */
  --slogan-c1: #14b8a6; /* Strong Teal */
  --slogan-c2: #f59e0b; /* Strong Gold/Amber */
  --slogan-c3: #f43f5e; /* Strong Crimson */
  
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dark: #111827;
  
  --border-color: #1f2937;
  --border-color-strong: #334155;
  --border-glow: #16cfc1;

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  --transition: all 0.15s ease-in-out;
}

/* Light Theme */
[data-theme="light"] {
  --bg-dark: #f9fafb;
  --bg-card: #ffffff;
  --bg-card-hover: #f3f4f6;
  --bg-glass: rgba(255, 255, 255, 0.98);
  
  --primary: #4b5563;
  --primary-hover: #1f2937;
  --primary-light: rgba(75, 85, 99, 0.08);
  
  /* Strong Slogan Colors (Light Mode) */
  --slogan-c1: #0f766e; /* Deep Teal */
  --slogan-c2: #d97706; /* Deep Amber */
  --slogan-c3: #be123c; /* Deep Crimson */
  
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-dark: #f9fafb;
  
  --border-color: #e5e7eb;
  --border-color-strong: #cbd5e1;
  --border-glow: #0d9488;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Uniform Lucide Icon Size & Stroke Weight */
svg.lucide, [data-lucide] svg, i[data-lucide] svg {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  stroke-width: 1.75px !important;
  display: inline-block;
  vertical-align: -2px;
  flex-shrink: 0;
}

/* Page Title Icons: 24px, 1.75px stroke-width, #d97706 color */
.page-header-icon, svg.page-header-icon, i[data-lucide].page-header-icon svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  stroke-width: 1.75px !important;
  color: #d97706 !important;
  stroke: #d97706 !important;
  vertical-align: -4px !important;
}
[data-theme="dark"] .page-header-icon, [data-theme="dark"] svg.page-header-icon {
  color: #d97706 !important;
  stroke: #d97706 !important;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-family);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  text-transform: none !important;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }

a {
  color: #0d9488 !important;
  text-decoration: none !important;
  transition: var(--transition);
}
a:hover {
  color: #0f766e !important;
}
[data-theme="dark"] a {
  color: #0d9488 !important;
}
[data-theme="dark"] a:hover {
  color: #16cfc1 !important;
}

.nowrap {
  white-space: nowrap !important;
}

/* Hero Slogan Styling */
.slogan-word-1 { color: var(--slogan-c1) !important; font-weight: 800; }
.slogan-word-2 { color: var(--slogan-c2) !important; font-weight: 800; }
.slogan-word-3 { color: var(--slogan-c3) !important; font-weight: 800; }

/* Panels */
.glass-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-color) !important;
  border-radius: 0 !important;
  box-shadow: var(--shadow-lg);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  transition: background-color 0.2s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand-rook-icon {
  color: var(--text-main);
  display: flex;
  align-items: center;
}
.brand-rook-icon svg {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  stroke-width: 1.75px !important;
}
.brand-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}
.brand-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}
.brand-subtitle {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Navigation Links */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

/* Nav Buttons & Aktív Badge: #0d9488 */
.nav-btn {
  padding: 0.5rem 0.85rem;
  border-radius: 0 !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-family);
  text-transform: none !important;
}
.nav-btn:hover {
  color: var(--text-main);
  background: var(--bg-card-hover);
  border-color: var(--border-color);
}
.nav-btn.active {
  color: #ffffff !important;
  background: #0d9488 !important;
  border-color: #0d9488 !important;
  font-weight: 600 !important;
}

.mobile-user-section {
  display: none;
}

.mobile-header-right-actions {
  display: none;
}

/* Header Right Actions */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Theme Switcher Pill Toggle */
.theme-toggle-switch {
  width: 50px;
  height: 26px;
  background: #e5e7eb;
  border: 1px solid #cbd5e1;
  border-radius: 999px !important;
  display: flex;
  align-items: center;
  padding: 2px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
}
[data-theme="dark"] .theme-toggle-switch {
  background: #1e293b;
  border-color: #334155;
}

.theme-toggle-circle {
  width: 20px;
  height: 20px;
  border-radius: 50% !important;
  background: #ffffff;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(0px);
}
[data-theme="dark"] .theme-toggle-circle {
  transform: translateX(24px);
  background: #000000;
  color: #ffffff;
}
.theme-toggle-circle svg {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  min-height: 13px !important;
}

/* User Profile Dropdown Container & Avatar Circle: #0d9488 */
.user-dropdown-container {
  position: relative;
}

.user-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  transition: var(--transition);
}
.user-dropdown-trigger:hover .user-name-text {
  color: var(--accent-teal);
}

.user-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50% !important;
  background: #0d9488 !important;
  color: #ffffff !important;
  border: 1px solid #0d9488 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  overflow: hidden;
  flex-shrink: 0;
}
[data-theme="light"] .user-avatar-circle {
  background: #0d9488 !important;
  color: #ffffff !important;
}
.user-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-name-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  z-index: 250;
}
.user-dropdown-menu.active {
  display: flex;
}

.dropdown-item {
  padding: 0.65rem 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-family);
}
.dropdown-item:hover {
  background: var(--bg-card-hover);
  color: var(--accent-teal);
}

/* Hamburger Button for Mobile */
.mobile-hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.4rem;
}
.mobile-hamburger-btn svg {
  width: 24px !important;
  height: 24px !important;
}

/* Main Container */
main {
  max-width: 1280px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

/* View Sections */
.view-section {
  display: none;
  animation: fadeIn 0.2s ease-out forwards;
}
.view-section.active {
  display: block;
}

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

/* Hero Section with Relative Path for Subdirectory Compatibility (images/hero_chess_bg-02.jpg) */
.hero {
  padding: 2.75rem 2.25rem;
  border-radius: 0 !important;
  background: linear-gradient(to right, rgba(9, 13, 22, 0.88) 35%, rgba(9, 13, 22, 0.35) 100%), url('images/hero_chess_bg-02.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color) !important;
}
[data-theme="light"] .hero {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.88) 35%, rgba(255, 255, 255, 0.45) 100%), url('images/hero_chess_bg-02.jpg') center/cover no-repeat;
}

.hero-content {
  max-width: 750px;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 2.8rem !important;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.stat-card {
  padding: 1rem 1.2rem;
  background: var(--bg-dark);
  border-radius: 0 !important;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color) !important;
}
.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-gold-dark);
}
[data-theme="dark"] .stat-value {
  color: var(--accent-gold);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Cards & Grid Layouts */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color) !important;
  border-radius: 0 !important;
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--accent-teal) !important;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

/* Minimalist Badges & Unique Colors for Mind, Címvédő, Szenior, Ifjúsági */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0 !important;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Mind Badge Color: Indigo Blue */
[data-theme="dark"] .badge-indigo { background: rgba(99, 102, 241, 0.15); color: #818cf8; border: 1px solid #6366f1; }
[data-theme="light"] .badge-indigo { background: #e0e7ff; color: #3730a3; border: 1px solid #4f46e5; }

/* Címvédő Badge Color: Warm Amber Gold */
[data-theme="dark"] .badge-gold { background: rgba(239, 185, 63, 0.15); color: #efb93f; border: 1px solid #efb93f; }
[data-theme="light"] .badge-gold { background: #fef3c7; color: #78350f; border: 1px solid #d97706; }

/* Szenior Badge Color: Sapphire Blue */
[data-theme="dark"] .badge-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid #3b82f6; }
[data-theme="light"] .badge-blue { background: #dbeafe; color: #1e40af; border: 1px solid #2563eb; }

/* Ifjúsági Badge Color: Vibrant Pink / Magenta */
[data-theme="dark"] .badge-pink { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid #ec4899; }
[data-theme="light"] .badge-pink { background: #fce7f3; color: #9d174d; border: 1px solid #db2777; }

[data-theme="dark"] .badge-emerald { background: rgba(22, 207, 193, 0.15); color: #16cfc1; border: 1px solid #16cfc1; }
[data-theme="dark"] .badge-rose { background: rgba(244, 63, 94, 0.15); color: #f43f5e; border: 1px solid #f43f5e; }
[data-theme="dark"] .badge-amber { background: rgba(239, 185, 63, 0.15); color: #efb93f; border: 1px solid #efb93f; }

[data-theme="light"] .badge-emerald { background: #ccfbf1; color: #0f766e; border: 1px solid #0d9488; }
[data-theme="light"] .badge-rose { background: #ffe4e6; color: #9f1239; border: 1px solid #e11d48; }
[data-theme="light"] .badge-amber { background: #ffedd5; color: #7c2d12; border: 1px solid #ea580c; }

/* Filter Chips */
.filter-chip {
  cursor: pointer;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  transition: var(--transition);
}
.filter-chip.active {
  background: #0d9488 !important;
  color: #ffffff !important;
  border-color: #0d9488 !important;
}

/* Classic Autocomplete Search Box Container & Dropdown */
.search-container {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  max-height: 320px;
  overflow-y: auto;
  z-index: 300;
  display: none;
}
.search-dropdown.active {
  display: block;
}

.search-item {
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-size: 15px;
}
.search-item:hover {
  background: var(--bg-card-hover);
  color: var(--accent-teal);
}

/* Erőlista Tables */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 !important;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px !important;
  font-family: var(--font-family);
}
th {
  background: var(--bg-dark);
  color: var(--text-muted);
  font-weight: 600 !important;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px !important;
  white-space: nowrap;
}
td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  font-size: 15px !important;
  font-weight: 400 !important;
}
[data-theme="light"] td { color: #111827; }
tr:hover td { background: var(--bg-card-hover); }

.player-name-cell {
  font-weight: 700 !important;
  font-size: 15px !important;
}

/* Fide Adatlap text link using exact general link color #0d9488 WITHOUT underline */
.fide-text-link {
  color: #0d9488 !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.fide-text-link:hover {
  color: #0f766e !important;
  text-decoration: none !important;
}
[data-theme="light"] .fide-text-link {
  color: #0d9488 !important;
  text-decoration: none !important;
}
[data-theme="light"] .fide-text-link:hover {
  color: #0f766e !important;
  text-decoration: none !important;
}

.contact-info {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
[data-theme="dark"] .contact-info { color: #d1d5db; }

/* RSVP Action Buttons */
.rsvp-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.btn-rsvp {
  flex: 1;
  min-width: 160px;
  padding: 0.75rem 1.1rem;
  border-radius: 0 !important;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  font-family: var(--font-family);
}

.btn-accept { background: #0d9488; color: #ffffff; border-color: #0d9488; }
.btn-accept:hover { background: #0f766e; border-color: #0f766e; }

.btn-maybe { background: #efb93f; color: #111827; border-color: #d97706; }
.btn-maybe:hover { background: #d97706; color: #ffffff; border-color: #b45309; }

.btn-decline { background: #e11d48; color: #ffffff; border-color: #be123c; }
.btn-decline:hover { background: #be123c; border-color: #9f1239; }

/* Competition Detail (Versenykiírás) rows */
.comp-detail-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  border-bottom: 1px solid var(--border-color);
  padding: 0.65rem 0;
}
.comp-detail-row > * {
  min-width: 0;
}

/* Forms */
.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 0 !important;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent-teal); }

/* Profile Modal */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color) !important;
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.toast {
  padding: 0.85rem 1.25rem;
  background: var(--bg-card);
  color: var(--text-main);
  border-left: 3px solid var(--accent-teal);
  border-radius: 0 !important;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideIn 0.2s ease-out;
  font-family: var(--font-family);
  border: 1px solid var(--border-color);
}
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* MOBILE RESPONSIVE LAYOUT (<= 768px) */
@media (max-width: 768px) {
  .nav-container {
    padding: 0.65rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .brand {
    order: 1;
    margin-left: 0;
  }

  /* Mobil Fejléc Gombok (Sötét/Világos kapcsoló a Hamburger gomb BAL oldalán) */
  .mobile-header-right-actions {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    order: 2;
  }

  .mobile-hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-menu-wrapper {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
  }

  .nav-menu-wrapper.mobile-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
  }

  .nav-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 16px !important;
    justify-content: flex-start;
  }

  /* Teljes szélességű User menü elemek a mobil fiókban */
  .mobile-user-section {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
  }

  .mobile-user-info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 0.35rem;
    width: 100%;
  }

  .mobile-user-name-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
  }

  .mobile-user-btn {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 16px !important;
    justify-content: flex-start !important;
  }

  main {
    padding: 0 1rem;
    margin: 1.25rem auto;
  }

  .hero {
    padding: 1.5rem 1.25rem;
  }
  .hero-title {
    font-size: 1.9rem !important;
  }

  .card {
    padding: 1.25rem;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .comp-detail-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@media (min-width: 769px) {
  .mobile-header-right-actions {
    display: none !important;
  }
}
