/* 🎨 1. Палитра и базовые переменные */
:root {
  --primary: #13a37b;
  --dark-green: #106944;
  --light-bg: #e9f7ef;
  --card-bg: #dffaf4;
  --accent: #3eb489;
  --soft-blue: #c9f1f1;
}

/* 🧱 2. Базовые настройки текста и фона */
body {
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--card-bg) 100%);
  color: #1e3d32;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
}

/* 🧭 3. Навигация */
.navbar {
  min-height: 92px;
  background: linear-gradient(90deg, var(--dark-green), var(--primary));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.navbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0 !important;
  padding-left: 10px;
  padding-top: 0;
  padding-bottom: 0;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0 2px 10px;
  border-left: 1px solid rgba(236, 255, 247, 0.7);
  color: #effff8;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar a {
  color: #e6fff5 !important;
}

.navbar .navbar-nav {
  gap: 8px;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 10px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.22);
}

.navbar .nav-link {
  color: #ecfff7 !important;
  font-size: 1rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0;
  padding: 12px 18px !important;
  border-radius: 999px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.navbar .nav-link.active {
  color: #0d7447 !important;
  font-weight: 650;
  background: linear-gradient(90deg, #ffffff 0%, #e8f9ef 45%, #bdf5d4 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.navbar .nav-link:active {
  transform: translateY(0);
}

.navbar-actions {
  gap: 12px;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  direction: ltr;
}

.language-switcher-flag {
  position: absolute;
  left: 11px;
  z-index: 1;
  display: inline-flex;
  width: 22px;
  height: 16px;
  overflow: hidden;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.language-switcher-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-switcher-select {
  min-width: 102px;
  height: 40px;
  padding: 0 24px 0 40px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  outline: none;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.language-switcher-select:hover,
.language-switcher-select:focus {
  border-color: rgba(255, 255, 255, 0.72);
  background-color: rgba(255, 255, 255, 0.2);
}

.language-switcher-select option {
  background: #ffffff;
  color: #173f32;
}

html[dir="rtl"] .bi-arrow-right,
html[dir="rtl"] .bi-arrow-up-right {
  display: inline-block;
  transform: scaleX(-1);
}

.navbar-icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ecfff7 !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.navbar-icon-button i {
  font-size: 1.35rem;
  line-height: 1;
}

.navbar-icon-button:hover,
.navbar-icon-button:focus {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.navbar-user-pill {
  color: #ecfff7;
  font-weight: 650;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}

.navbar-profile-link {
  color: rgba(236, 255, 247, 0.92) !important;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.navbar-profile-link:hover,
.navbar-profile-link:focus,
.navbar-profile-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.app-main {
  min-width: 0;
}

/* 📂 4. Боковое меню */
.sidebar {
  width: 250px;
  background: #ffffff;
  padding: 10px 8px;
  border-right: 1px solid #ddd;
  font-size: 0.9rem;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 0;
  line-height: 1.1;
}

/* Sidebar links */
.sidebar a {
  display: block;
  padding: 3px 8px;
  font-size: 0.9rem;
  font-weight: 450;
  text-decoration: none;
  color: #0f4f3a;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  margin-bottom: 0;
}

.sidebar a:hover {
  background: linear-gradient(90deg, #e8f9ef 0%, #d1f6df 100%);
  color: #0a6339;
  transform: translateX(3px);
  box-shadow: inset 0 0 0 1px rgba(19, 163, 123, 0.14);
}

/* 🪸 5. Контент и карточки */
.content {
  flex: 1;
  padding: 20px;
  max-width: 1000px;
  margin: 20px;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(19, 163, 123, 0.25);
  transform: translateY(-4px);
}

/* 🐟 6. Анимации рыб */
@keyframes fishSwim {
  0%   { transform: translateX(0) translateY(0) rotate(0deg); }
  20%  { transform: translateX(4px) translateY(-1px) rotate(3deg); }
  40%  { transform: translateX(8px) translateY(1px) rotate(-3deg); }
  60%  { transform: translateX(4px) translateY(-2px) rotate(2deg); }
  80%  { transform: translateX(0) translateY(1px) rotate(-2deg); }
  100% { transform: translateX(0) translateY(0) rotate(0deg); }
}
.avatar-small {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(60, 255, 0, 0.6);
  box-shadow: 0 0 6px rgba(60, 255, 0, 0.2);
  border-radius: 50%;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.fish-online {
  animation: fishSwim 4s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.fish-offline {
  animation-play-state: paused;
  opacity: 0.7;
  filter: grayscale(30%);
}

/* ⚓ 7. Футер */
footer {
  min-height: 72px;
  padding: 14px 24px;
  color: white;
  background: linear-gradient(90deg, var(--dark-green), var(--primary));
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem !important;
  font-weight: 500;
}

footer a {
  color: #ffffff !important;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer a:hover {
  color: #d4f8e8 !important;
}

.social-login-button {
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
}

.social-login-google {
  background: linear-gradient(90deg, #ffffff 0%, #e8f9ef 40%, #bdf5d4 100%) !important;
  color: #158b55 !important;
}

.social-login-facebook {
  background: #1877f2 !important;
  color: #ffffff !important;
}

.social-login-facebook:hover,
.social-login-facebook:focus {
  background: #1467d2 !important;
  color: #ffffff !important;
}

.social-login-facebook .bi-facebook {
  font-size: 1.2rem;
  vertical-align: -0.08em;
}

.navbar .container {
  align-items: center;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.navbar-brand img {
  height: 92px;
  width: auto;
  transform: none;
  margin-top: 0;
  object-fit: contain;
  transform-origin: left center;
}

/* Compact Subcategory Cards */
.col-md-6.col-lg-4 {
  margin-bottom: 0.6rem !important;
}

.card {
  border-radius: 10px !important;
  padding: 6px !important;
  border: 1px solid rgba(0, 128, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 128, 0, 0.05);
  transition: all 0.4s ease-in-out;
  text-align: center;
}

.card-body {
  padding: 10px 8px !important;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 450;
  color: #0c3f2e;
  letter-spacing: 0.2px;
  margin-bottom: 0;
}

.card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(0, 128, 0, 0.25);
  box-shadow: 0 6px 20px rgba(19, 163, 123, 0.25);
  background: linear-gradient(145deg, #ffffff 60%, #e9f7ec 100%);
}

/* Responsive layout */
@media (max-width: 768px) {
  .card-title {
    font-size: 0.85rem;
  }
}

/* Subcategory Titles */
h1.h5.text-success {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.25px;
  color: #158b55;
  margin-bottom: 1rem;
  text-transform: none;
}

/* Create Event Button */
.btn.btn-success {
  background-color: #ffffff !important;
  color: #158b55 !important;
  border: 2px solid #158b55 !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn.btn-success:hover {
  background: linear-gradient(90deg, #e8f9ef, #bdf5d4, #7bdcb5);
  color: #0a6339 !important;
  border-color: #0a6339 !important;
  transform: translateY(-1px);
}

.btn-compact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: min(100%, 360px);
  min-height: 44px;
  padding-left: 22px !important;
  padding-right: 22px !important;
  white-space: normal;
}

.home-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #158b55;
  margin-bottom: 0.75rem;
}

/* Global Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  color: #158b55 !important;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

h1 {
  font-size: 1.6rem !important;
  letter-spacing: 0.3px;
}

h2 {
  font-size: 1.3rem !important;
  font-weight: 500;
}

h3 {
  font-size: 1.1rem !important;
  font-weight: 500;
}

h4, h5, h6 {
  font-size: 1rem !important;
  font-weight: 500;
}

/* Fish Avatar Selection */
.avatar-item img {
  border: 2px solid transparent;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.avatar-item img:hover {
  transform: scale(1.07);
  border-color: #18a05f;
  box-shadow: 0 0 14px 3px rgba(24, 160, 95, 0.6);
}

.avatar-item input[type="radio"]:checked + img {
  transform: scale(1.1);
  border-color: #18a05f;
  box-shadow: 0 0 20px 6px rgba(24, 160, 95, 0.75);
  filter: brightness(1.05);
}

.avatar-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Убираем белый круг вокруг аватара */
.avatar,
.avatar img,
.avatar-wrapper,
.avatar-wrapper img,
.profile-avatar,
.profile-avatar img,
.rounded-circle,
.img-thumbnail {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* 8. Фирменные кнопки Login/Logout */
.btn-nav-auth {
  background: linear-gradient(90deg, #ffffff 0%, #e8f9ef 45%, #bdf5d4 100%) !important;
  color: #0d7447 !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  font-weight: 750;
  padding: 10px 18px !important;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-nav-auth:hover {
  background: #ffffff !important;
  color: #075a36 !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* 🌿 9. Универсальные светло-зелёные кнопки Otolovo */
button,
.btn,
input[type="submit"],
a.btn {
  background: linear-gradient(90deg, #ffffff 0%, #e8f9ef 40%, #bdf5d4 100%) !important;
  color: #158b55 !important;
  font-weight: 600;
  border: 1px solid #b4e3c6 !important;
  border-radius: 10px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(19, 163, 123, 0.1);
  padding: 8px 18px !important;
  text-align: center;

}

button:hover,
.btn:hover,
input[type="submit"]:hover,
a.btn:hover {
  background: linear-gradient(90deg, #e8f9ef 0%, #bdf5d4 60%, #7bdcb5 100%) !important;
  color: #0a6339 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 163, 123, 0.25);
}

button:active,
.btn:active,
input[type="submit"]:active,
a.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(19, 163, 123, 0.15);
}

/* Для "Back" кнопок — тот же стиль, чтобы не выбивались */
.btn-secondary,
.btn-dark {
  background: linear-gradient(90deg, #ffffff 0%, #e8f9ef 40%, #bdf5d4 100%) !important;
  border: 1px solid #b4e3c6 !important;
  color: #158b55 !important;
}
.navbar-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
/* 🐟 Мини-аватар справа от статуса */
.avatar-small {
  width: 40px;
  height: 40px;
  margin-left: 6px;
  transform: translateY(-2px);
  border-radius: 50%;
  object-fit: cover;
  background: none;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  vertical-align: middle;
}


/* 🫧 Мягкое дыхание индикатора онлайн */
@keyframes pulseOnline {
  0%   { box-shadow: 0 0 4px rgba(60, 255, 0, 0.7); }
  50%  { box-shadow: 0 0 10px rgba(60, 255, 0, 1); }
  100% { box-shadow: 0 0 4px rgba(60, 255, 0, 0.7); }
}

.online-indicator {
  animation: pulseOnline 2s infinite ease-in-out;
}
.list-group-item {
  transition: all 0.2s ease;
}
.list-group-item:hover {
  background-color: #e9f9f0; /* светло-зелёный оттенок под стиль Otolovo */
  transform: translateX(4px);
}
img.avatar-fish {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.event-fish {
  width: 50px;
  height: 50px;
}
.card.event-card {
  height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btn-outline-danger {
  border-radius: 30px;
  border: 1px solid #db4437;
  color: #db4437;
  background-color: #fff;
  transition: all 0.3s ease;
}

.btn-outline-danger:hover {
  background-color: #db4437;
  color: #fff;
  transform: translateY(-2px);
}

/* ❌ Ошибка поля */
.input-error {
  border: 2px solid #dc3545 !important;
  background-color: #fff5f5;
}

/* ✅ Успешное поле */
.input-success {
  border: 2px solid #28a745 !important;
  background-color: #f0fff4;
}

.event-file-control {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 4px 0;
  background: transparent;
}

.event-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  margin: 0;
  padding: 9px 16px;
  color: #ffffff !important;
  font-weight: 700;
  background: linear-gradient(90deg, var(--dark-green), var(--primary));
  border: 1px solid rgba(10, 99, 57, 0.35);
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(19, 163, 123, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.event-file-button:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(19, 163, 123, 0.28);
}

.event-file-name {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: #53645e;
  background: #ffffff;
  border: 1px solid #d7dee2;
  border-radius: 10px;
  flex: 1;
}

.event-detail-page {
  max-width: 1180px;
}

.event-detail-main,
.event-detail-side {
  background: #ffffff;
  border: 1px solid rgba(21, 139, 85, 0.12);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(16, 105, 68, 0.05);
}

.event-detail-main {
  overflow: hidden;
}

.event-detail-image {
  width: 100%;
  max-height: 420px;
  display: block;
  object-fit: cover;
  background: #eef6f2;
}

.event-detail-body {
  padding: 26px;
}

.event-detail-kicker {
  margin-bottom: 8px;
  color: #60716c;
  font-size: 0.82rem;
  font-weight: 700;
}

.event-detail-body h1 {
  margin-bottom: 18px;
  color: #0d8549;
  font-size: 2rem;
  font-weight: 750;
  line-height: 1.18;
}

.event-detail-description {
  color: #163d31;
  font-size: 1rem;
  line-height: 1.65;
}

.event-detail-empty,
.event-detail-action-note {
  color: #60716c;
}

.event-detail-side {
  position: sticky;
  top: 18px;
  padding: 20px;
}

.event-detail-status {
  margin-bottom: 16px;
}

.event-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 750;
  border-radius: 999px;
}

.event-status-badge.approval {
  color: #5c4100;
  background: #ffe08a;
  border: 1px solid #f0c94b;
}

.event-status-badge.public {
  color: #0a6339;
  background: #e8f9ef;
  border: 1px solid #bde5cb;
}

.event-detail-info-list {
  display: grid;
  gap: 12px;
}

.event-detail-info-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
}

.event-detail-info-item > i {
  color: #0d8549;
  font-size: 1.05rem;
  line-height: 1.4;
}

.event-detail-info-item span {
  display: block;
  color: #6a7c76;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-detail-info-item strong {
  color: #173f32;
  font-weight: 650;
}

.event-detail-organizer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #173f32;
  text-decoration: none;
}

.event-detail-organizer:hover,
.event-detail-organizer:focus {
  color: #0d8549;
}

.event-detail-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.event-detail-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.event-detail-action-note {
  margin: -2px 0 0;
  font-size: 0.85rem;
}

.event-detail-report-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(21, 139, 85, 0.12);
}

.event-detail-report-links a {
  color: #7a4a4a;
  font-size: 0.82rem;
  text-decoration: none;
}

.event-detail-report-links a:hover,
.event-detail-report-links a:focus {
  color: #b42318;
  text-decoration: underline;
}

.event-detail-back {
  margin-top: 14px;
}

.profile-page {
  max-width: 1120px;
}

.profile-hero,
.profile-section {
  background: #ffffff;
  border: 1px solid rgba(21, 139, 85, 0.12);
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(16, 105, 68, 0.05);
}

.profile-hero {
  padding: 22px;
}

.profile-hero-main {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: start;
}

@media (min-width: 992px) {
  html[dir="rtl"] .profile-hero-main {
    grid-template-columns: 140px 190px minmax(0, 1fr);
  }

  html[dir="rtl"] .profile-actions {
    grid-column: 2;
    grid-row: 1;
  }

  html[dir="rtl"] .profile-summary-content {
    grid-column: 3;
    grid-row: 1;
  }

  html[dir="rtl"] .profile-avatar-frame {
    grid-column: 1;
    grid-row: 1;
  }
}

.profile-avatar-frame {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 10px;
}

.profile-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.profile-title {
  margin: 0;
  color: #0d8549;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.15;
}

.profile-subtitle {
  color: #6a7c76;
  font-size: 0.92rem;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-detail-grid div {
  min-width: 0;
  padding: 10px 12px;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
}

.profile-detail-grid span,
.profile-stat-card span {
  display: block;
  color: #6a7c76;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[dir="rtl"] .profile-detail-grid span,
html[dir="rtl"] .profile-stat-card span {
  font-size: 0.875rem;
  line-height: 1.35;
}

.profile-detail-grid strong {
  display: flex;
  align-items: center;
  min-height: 24px;
  overflow: hidden;
  color: #173f32;
  font-size: 0.95rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-country-flag {
  width: 20px;
  height: 14px;
  margin-right: 6px;
  border-radius: 2px;
}

.profile-actions {
  display: grid;
  gap: 10px;
}

.profile-actions .btn {
  width: 100%;
  margin: 0 !important;
  white-space: nowrap;
}

.profile-feed-balance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 11px;
  color: #4b3820;
  font-weight: 700;
  background: #fff8df;
  border: 1px solid rgba(190, 143, 38, 0.24);
  border-radius: 999px;
  white-space: nowrap;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.profile-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
}

.profile-stat-card strong {
  display: block;
  color: #0d8549;
  font-size: 1.45rem;
  line-height: 1.1;
}

.profile-stat-card i {
  color: #0d8549;
  font-size: 1.5rem;
}

.profile-section {
  padding: 18px;
}

.profile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.profile-section-header h2 {
  margin: 0;
  color: #0d8549;
  font-size: 1.08rem;
  font-weight: 700;
}

.profile-list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
}

.profile-list-card + .profile-list-card {
  margin-top: 10px;
}

.profile-list-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
  flex: 0 0 auto;
}

.profile-empty {
  color: #6a7c76;
}

.feed-coin-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(148, 98, 16, 0.28));
}

.avatar-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.avatar-profile-link:hover,
.avatar-profile-link:focus {
  transform: translateY(-1px);
  filter: drop-shadow(0 5px 8px rgba(16, 105, 68, 0.18));
}

.public-profile-page {
  max-width: 980px;
}

.public-profile-card,
.public-profile-panel,
.public-profile-stat {
  border: 1px solid rgba(21, 139, 85, 0.12) !important;
  border-radius: 10px;
}

.public-profile-card {
  background: #ffffff;
}

.public-profile-avatar-frame {
  width: 136px;
  height: 136px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.14);
  border-radius: 10px;
}

.public-profile-title {
  color: #0d8549;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.15;
}

.public-profile-subtitle {
  color: #60716c;
  font-size: 0.95rem;
}

.public-profile-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #60716c;
  font-size: 0.78rem;
  font-weight: 700;
  background: #f5f8f7;
  border: 1px solid #dce7e2;
  border-radius: 999px;
}

.public-profile-badge.online {
  color: #0d8549;
  background: #e8f9ef;
  border-color: #bde5cb;
}

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

.public-profile-details div {
  min-width: 0;
  padding: 10px 12px;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
}

.public-profile-details span,
.public-profile-stat span {
  display: block;
  color: #6a7c76;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.public-profile-details strong {
  display: block;
  overflow: hidden;
  color: #173f32;
  font-size: 0.95rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-profile-message {
  min-width: 132px;
}

.public-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.public-profile-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 105, 68, 0.04);
}

.public-profile-stat strong {
  color: #0d8549;
  font-size: 1.55rem;
  line-height: 1;
}

.public-profile-section-title {
  margin-bottom: 14px;
  color: #0d8549;
  font-size: 1.08rem;
  font-weight: 700;
}

.public-profile-list {
  display: grid;
  gap: 8px;
}

.public-profile-list-item {
  display: block;
  padding: 12px 14px;
  color: #173f32;
  text-decoration: none;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.public-profile-list-item:hover,
.public-profile-list-item:focus {
  color: #0d8549;
  background: #f2faf6;
  border-color: rgba(21, 139, 85, 0.22);
}

.public-profile-list-item span {
  display: block;
  font-weight: 700;
}

.public-profile-list-item small,
.public-profile-empty {
  color: #6a7c76;
}

.event-people-panel {
  position: relative;
  margin-top: 12px;
  padding: 16px 14px 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(233, 250, 247, 0.58)),
    radial-gradient(circle at 24% 18%, rgba(91, 206, 211, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(11, 119, 91, 0.12), rgba(104, 196, 210, 0.18));
  border: 1px solid rgba(23, 146, 121, 0.16);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(18, 74, 54, 0.06);
}

.event-people-panel::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 13px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(80, 184, 193, 0.28),
    rgba(24, 160, 95, 0.16),
    transparent
  );
}

.event-people-title {
  position: relative;
  margin: 0 0 16px !important;
  color: #0f7556 !important;
  font-size: 0.82rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-people-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 82px);
  align-items: center;
  gap: 20px 18px;
}

.event-person {
  position: relative;
  width: 82px;
  height: 62px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
  transform: none !important;
}

.event-person-avatar {
  width: 80px;
  height: 58px;
  display: block;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 5px 6px rgba(16, 105, 68, 0.16));
  animation: eventViewerBreathe 3.8s ease-in-out infinite;
  transform-origin: center;
}

.sidebar .event-person:hover {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.event-people-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #607b74;
  font-size: 0.8rem;
}

@keyframes eventViewerBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  35% {
    transform: translateY(-1px) scale(1.025) rotate(0.7deg);
  }
  68% {
    transform: translateY(1px) scale(0.995) rotate(-0.45deg);
  }
}

/* Landing page: explain the community before showing the activity catalog. */
.home-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px 0 40px;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  min-height: 520px;
  padding: clamp(38px, 6vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #f8fffb 0%, #e7f8ef 48%, #c8f1df 100%);
  border: 1px solid rgba(19, 163, 123, 0.16);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(16, 105, 68, 0.12);
}

.home-hero::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 330px;
  height: 330px;
  content: "";
  background: rgba(19, 163, 123, 0.1);
  border-radius: 50%;
}

.home-hero-copy,
.home-hero-scene {
  position: relative;
  z-index: 1;
}

.home-eyebrow,
.home-section-kicker {
  display: inline-block;
  color: #0d805c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 660px;
  margin: 16px 0 18px;
  color: #123b2e;
  font-size: clamp(2.55rem, 5.4vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.home-hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: #45695d;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero-actions .btn,
.home-community-cta .btn {
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 750;
}

.home-clarifier {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  color: #52736a;
  font-size: 0.88rem;
  font-weight: 650;
}

.home-hero-scene {
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(16, 105, 68, 0.16);
  backdrop-filter: blur(10px);
}

.home-scene-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 22px;
}

.home-scene-heading span {
  color: #6a887f;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-scene-heading strong {
  color: #173f32;
  font-size: 1.25rem;
}

.home-activity-stack {
  display: grid;
  gap: 12px;
}

.home-activity-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(16, 105, 68, 0.08);
}

.home-activity-card-two { transform: translateX(18px); }
.home-activity-card-three { transform: translateX(-10px); }

.home-activity-icon,
.home-interest-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #0c805c;
  background: #dcf7e9;
  border-radius: 14px;
  font-size: 1.3rem;
}

.home-activity-card div {
  display: flex;
  flex-direction: column;
}

.home-activity-card strong { color: #173f32; }
.home-activity-card small { color: #708c83; }

.home-people-count {
  color: #0d805c;
  font-weight: 800;
}

.home-how,
.home-interests,
.home-upcoming {
  padding: clamp(64px, 8vw, 96px) 0 0;
}

.home-section-intro {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.home-section-intro h2,
.home-section-heading h2,
.home-community-cta h2 {
  margin: 8px 0 10px;
  color: #173f32;
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.home-section-intro p,
.home-community-cta p {
  color: #607b74;
  font-size: 1rem;
}

.home-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-step-card {
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(16, 105, 68, 0.07);
}

.home-step-card > i {
  display: block;
  margin-bottom: 18px;
  color: #10946b;
  font-size: 2rem;
}

.home-step-card h3 {
  color: #173f32;
  font-size: 1.15rem;
  font-weight: 800;
}

.home-step-card p {
  margin: 0;
  color: #647f76;
  line-height: 1.6;
}

.home-step-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(13, 128, 92, 0.2);
  font-size: 1.55rem;
  font-weight: 900;
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.home-text-link {
  color: #0d805c;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.home-text-link:hover { color: #075e44; }

.home-interest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.home-interest-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: inherit;
  background: #ffffff;
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(16, 105, 68, 0.06);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-interest-card:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(16, 105, 68, 0.12);
}

.home-interest-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.home-interest-card strong { color: #173f32; }
.home-interest-card small { color: #708c83; }
.home-interest-card > i { color: #0d805c; }

html[lang="he"] .home-section-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

html[lang="he"] .home-section-intro h2,
html[lang="he"] .home-section-heading h2 {
  font-size: clamp(2rem, 3.7vw, 2.8rem);
  line-height: 1.2;
}

html[lang="he"] .home-section-intro p {
  font-size: 1.15rem;
  line-height: 1.7;
}

html[lang="he"] .home-step-card h3 {
  font-size: 1.3rem;
  line-height: 1.35;
}

html[lang="he"] .home-step-card p {
  font-size: 1.05rem;
  line-height: 1.75;
}

html[lang="he"] .home-text-link,
html[lang="he"] .home-interest-card strong {
  font-size: 1.05rem;
}

html[lang="he"] .home-interest-card small {
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  color: #607b74;
  background: #ffffff;
  border-radius: 18px;
  text-align: center;
}

.home-community-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(64px, 8vw, 96px);
  padding: clamp(32px, 5vw, 54px);
  color: #ffffff;
  background: linear-gradient(125deg, #0d6949, #13a37b);
  border-radius: 24px;
  box-shadow: 0 20px 54px rgba(16, 105, 68, 0.2);
}

.home-community-cta .home-section-kicker,
.home-community-cta h2,
.home-community-cta p {
  color: #ffffff;
}

.home-community-cta p { margin-bottom: 0; }

@media (max-width: 991.98px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-step-grid,
  .home-interest-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .home-page { padding-top: 0; }

  .home-hero {
    min-height: auto;
    padding: 30px 22px;
    border-radius: 20px;
  }

  .home-hero h1 { font-size: 2.55rem; }

  .home-hero-actions,
  .home-hero-actions .btn {
    width: 100%;
  }

  .home-hero-scene { padding: 18px; }
  .home-activity-card-two,
  .home-activity-card-three { transform: none; }

  .home-step-grid,
  .home-interest-grid {
    grid-template-columns: 1fr;
  }

  .home-section-heading,
  .home-community-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

.mvp-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #eefaf4 100%);
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 105, 68, 0.06);
}

.mvp-filter-bar {
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 105, 68, 0.05);
}

.mvp-filter-bar .form-label {
  margin-bottom: 6px;
  color: #173f32;
  font-size: 0.82rem;
  font-weight: 650;
}

.mvp-filter-bar .btn {
  min-height: 42px;
  white-space: nowrap;
}

.mvp-event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(16, 105, 68, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mvp-event-card:hover,
.mvp-event-card:focus {
  transform: translateY(-2px);
  border-color: rgba(19, 163, 123, 0.26);
  box-shadow: 0 10px 26px rgba(16, 105, 68, 0.12);
}

.mvp-event-card:focus {
  outline: 3px solid rgba(19, 163, 123, 0.22);
  outline-offset: 3px;
}

.mvp-event-card a,
.mvp-event-card button {
  cursor: pointer;
}

.mvp-event-card-image {
  width: 100%;
  aspect-ratio: 5 / 3;
  max-height: 120px;
  object-fit: cover;
  background: #eef6f2;
}

.mvp-event-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px;
}

.mvp-event-excerpt {
  color: #334d44;
  font-size: 0.82rem;
  line-height: 1.35;
}

.mvp-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(16, 105, 68, 0.05);
}

.mvp-stat-card span {
  color: #607b74;
  font-weight: 650;
}

.mvp-stat-card strong {
  color: #0f7556;
  font-size: 1.5rem;
}

.mvp-tabs {
  gap: 8px;
}

.mvp-tabs .nav-link {
  color: #0f7556;
  border-radius: 999px;
  font-weight: 650;
}

.mvp-tabs .nav-link.active {
  background: linear-gradient(90deg, #0d8549, #13a37b);
  color: #ffffff;
}

@media (max-width: 768px) {
  .mvp-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    min-height: 76px;
  }

  .navbar-shell {
    flex-wrap: wrap;
  }

  .navbar-brand {
    padding-left: 0;
  }

  .navbar-brand img {
    height: 70px;
  }

  .navbar-actions {
    order: 2;
    gap: 8px;
    margin-left: auto !important;
  }

  .navbar-toggler {
    order: 3;
  }

  .navbar .navbar-collapse {
    order: 4;
    flex-basis: 100%;
    margin-top: 10px;
    padding: 10px;
    background: rgba(7, 90, 54, 0.28);
    border-radius: 16px;
  }

  .navbar .navbar-nav {
    align-items: stretch;
    gap: 6px;
  }

  .navbar .nav-link {
    display: block;
    text-align: center;
  }

  .navbar-user-pill {
    display: none;
  }

  .app-layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #dbe7e1;
  }

  .event-sidebar {
    padding: 12px !important;
  }

  .event-people-panel {
    max-width: 520px;
    margin: 0 auto;
  }

  .profile-hero-main {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .profile-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .app-main {
    padding: 1rem !important;
  }

  .container-fluid.py-4 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .mvp-filter-bar {
    padding: 14px;
  }

  .mvp-filter-bar .btn {
    flex: 1;
  }

  .profile-hero {
    padding: 16px;
  }

  .profile-hero-main,
  .profile-detail-grid,
  .profile-stats {
    grid-template-columns: 1fr;
  }

  .profile-avatar-frame {
    min-height: 120px;
  }

  .profile-title-row {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .profile-feed-balance {
    align-self: center;
  }

  .profile-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .profile-actions .btn {
    width: 100%;
  }

  .profile-list-card {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-list-actions {
    justify-items: stretch;
  }

  .profile-list-actions .btn {
    width: 100%;
  }

  .public-profile-details,
  .public-profile-stats {
    grid-template-columns: 1fr;
  }

  .public-profile-title {
    font-size: 1.55rem;
  }

  .public-profile-stat {
    padding: 14px 16px;
  }

  .event-detail-body {
    padding: 20px;
  }

  .event-detail-body h1 {
    font-size: 1.55rem;
  }

  .event-detail-side {
    position: static;
  }

  .event-detail-secondary-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    min-height: 70px;
  }

  .navbar-brand img {
    height: 58px;
  }

  .beta-badge {
    padding-left: 7px;
    font-size: 0.64rem;
  }

  .navbar-actions {
    gap: 6px;
  }

  .language-switcher-select {
    min-width: 62px;
    height: 38px;
    padding-right: 20px;
    padding-left: 8px;
  }

  .navbar-icon-button {
    width: 38px;
    height: 38px;
  }

  .navbar-icon-button i {
    font-size: 1.15rem;
  }

  .avatar-small {
    width: 36px;
    height: 36px;
  }

  .btn-nav-auth {
    padding: 8px 10px !important;
    font-size: 0.85rem;
  }

  .event-file-control {
    flex-direction: column;
    align-items: stretch;
  }

  .event-file-button,
  .event-file-name {
    width: 100%;
  }

  .event-people-grid {
    grid-template-columns: repeat(3, minmax(64px, 1fr));
    gap: 14px 10px;
  }

  .event-person {
    width: 100%;
  }

  footer {
    padding: 16px 18px;
  }

  .site-footer .container {
    gap: 8px;
  }
}
