/* ========================================
   BeVoys App - Global Styles
   Mobile-first responsive design
   ======================================== */

/* --- CSS Variables --- */
:root {
  /* Light Mode Colors (default) - Dark mode ile aynı, sadece bg-primary farklı */
  --bg-primary: #717560;
  --bg-secondary: #2A2D1F;
  --bg-card: #333625;
  --bg-header: #3A3D2C;
  --accent-primary: #8B9A3B;
  --accent-hover: #9AAB44;
  --accent-light: #A4B34D;
  --text-primary: #F0F0E8;
  --text-secondary: #B0B0A0;
  --text-muted: #808070;
  --text-on-accent: #1A1D12;
  --border-subtle: #3A3D2C;
  --border-active: #8B9A3B;
  --danger: #E85555;
  --success: #4CAF50;
  --warning: #FFC107;
  --info: #5B9BD5;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-2xl: 32px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Font */
  --font-family: 'DM Sans', sans-serif;
}

/* Dark Mode Colors */
[data-theme="dark"] {
  --bg-primary: #1A1D12;
  --bg-secondary: #2A2D1F;
  --bg-card: #333625;
  --bg-header: #3A3D2C;
  --accent-primary: #8B9A3B;
  --accent-hover: #9AAB44;
  --accent-light: #A4B34D;
  --text-primary: #F0F0E8;
  --text-secondary: #B0B0A0;
  --text-muted: #808070;
  --text-on-accent: #1A1D12;
  --border-subtle: #3A3D2C;
  --border-active: #8B9A3B;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- Focus Accessibility --- */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* --- Typography --- */
h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

/* --- Layout --- */
.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  flex: 1;
  padding: var(--spacing-lg);
  padding-bottom: 80px; /* space for bottom nav */
}

/* --- Mobile Header --- */
.mobile-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--bg-header);
  position: sticky;
  top: 0;
  z-index: 100;
}

.mobile-header .back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.mobile-header .back-btn:hover {
  background: var(--bg-secondary);
}

.mobile-header h1 {
  font-size: 18px;
}

/* --- Bottom Navigation (Mobile) --- */
.bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-header);
  border-top: 1px solid var(--border-subtle);
  z-index: 100;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--spacing-xs);
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  transition: color 0.2s;
}

.bottom-nav a:hover,
.bottom-nav a.active {
  color: var(--accent-primary);
}

.bottom-nav a i {
  font-size: 22px;
}

/* --- Desktop Sidebar --- */
.sidebar {
  display: none;
  width: 240px;
  min-height: 100vh;
  background: var(--bg-secondary);
  padding: var(--spacing-xl) var(--spacing-lg);
  flex-direction: column;
  gap: var(--spacing-sm);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: var(--spacing-xl);
}

.sidebar-logo i {
  font-size: 28px;
  color: var(--accent-primary);
}

.sidebar-logo span {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.sidebar-nav a i {
  font-size: 20px;
  color: var(--text-muted);
}

.sidebar-nav a:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.sidebar-nav a.active {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  font-weight: 600;
}

.sidebar-nav a.active i {
  color: var(--text-on-accent);
}

/* --- Search Bar --- */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 0 var(--spacing-lg);
  height: 44px;
}

.search-bar i {
  color: var(--text-muted);
  font-size: 18px;
}

.search-bar input {
  flex: 1;
  background: none;
  color: var(--text-primary);
  font-size: 14px;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: transform 0.15s;
}

.card:hover {
  transform: translateY(-1px);
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 var(--spacing-xl);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 44px;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  width: 100%;
}

.btn-primary:hover,
.btn-primary:active {
  background: var(--accent-hover);
  color: var(--text-on-accent);
}

.btn-sm {
  width: auto;
  padding: 8px 16px;
  font-size: 13px;
}

.btn-outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  width: auto;
}

.btn-outline:hover,
.btn-outline:active {
  background: var(--accent-primary);
  color: var(--text-on-accent);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
}

.btn-secondary:hover,
.btn-secondary:active {
  background: var(--bg-header);
  color: var(--text-primary);
}

/* --- Form Elements --- */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 0 var(--spacing-md);
  height: 40px;
  color: var(--text-primary);
  font-size: 14px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  height: 100px;
  padding: var(--spacing-md);
  resize: vertical;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23808070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

/* --- Toggle Switch --- */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-header);
  border-radius: 12px;
  transition: background 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--accent-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

/* --- Star Rating --- */
.star-rating {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}

.star-rating .star-item {
  font-size: 36px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.15s;
}

.star-rating .star-item.active,
.star-rating .star-item:hover {
  color: var(--accent-primary);
}

.star-rating .star-item.active svg,
.star-rating .star-item:hover svg {
  fill: currentColor;
}

/* --- List Items --- */
.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s;
  min-height: 44px;
}

.list-item:hover {
  background: var(--bg-header);
}

.list-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.list-item-date {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-primary);
}

.list-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.list-item-sub {
  font-size: 13px;
  color: var(--text-secondary);
}

.list-item-link {
  font-size: 11px;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.list-item-link i {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.list-item .chevron {
  color: var(--text-muted);
  font-size: 20px;
}

/* --- Info Rows (Detail pages) --- */
.info-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.info-row i {
  font-size: 22px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.info-row-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.info-row-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.info-row-value {
  font-size: 15px;
  color: var(--text-primary);
}

.divider {
  height: 1px;
  background: var(--border-subtle);
}

/* --- Event Type Selector --- */
.type-selector {
  display: flex;
  gap: var(--spacing-md);
}

.type-option {
  padding: 0 20px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.type-option.active {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  font-weight: 600;
}

/* --- Toast Notification --- */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  z-index: 200;
  opacity: 0;
  transition: all 0.3s;
  border: 1px solid var(--border-subtle);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: var(--success);
}

.toast.error {
  border-color: var(--danger);
}

/* --- Loading Spinner --- */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- List & Grid Gaps (Mobile + Desktop) --- */
.list-gap {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.card-grid-2 {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

/* --- Detail Card (Mobile) --- */
.detail-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.detail-card-header {
  background: var(--accent-primary);
  padding: var(--spacing-lg);
}

.detail-card-header h2 {
  color: var(--text-on-accent);
  font-size: 18px;
}

.detail-card-body {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

/* --- Filter Chips --- */
.filter-chips {
  display: flex;
  gap: var(--spacing-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--spacing-xs);
}

.filter-row {
  display: flex;
  gap: var(--spacing-sm);
}

.filter-row .form-select {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 38px;
  font-size: 13px;
  padding: 0 12px;
}

/* Date input takvim ikonu beyaz */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

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

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
}

.filter-chip.active {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  font-weight: 600;
}

.filter-chip i {
  width: 14px;
  height: 14px;
}

/* --- Forum Card --- */
.forum-card {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  align-items: center;
}

.forum-vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 36px;
}

.forum-vote button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  color: var(--text-muted);
  transition: color 0.2s;
}

.forum-vote button.voted,
.forum-vote button:hover {
  color: var(--accent-primary);
}

.forum-vote button i {
  width: 20px;
  height: 20px;
}

.forum-vote .vote-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.forum-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.forum-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.forum-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.forum-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.forum-tag {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--accent-primary);
  font-size: 11px;
  font-weight: 600;
}

.forum-time {
  font-size: 12px;
  color: var(--text-muted);
}

/* Forum Popup */
.forum-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.forum-popup {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forum-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.forum-popup-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
}

.forum-popup-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.forum-popup-close i {
  width: 18px;
  height: 18px;
}

.forum-popup-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.forum-popup-oneri-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-primary);
  margin: 0;
}

.forum-popup-divider {
  height: 1px;
  background: var(--border-subtle);
}

.forum-popup-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.forum-popup-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.forum-popup-row i {
  width: 16px;
  height: 16px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.forum-popup-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.forum-popup-value {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
}

.forum-popup-vote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  width: 100%;
  font-family: inherit;
  transition: background 0.15s;
}

.forum-popup-vote:hover {
  background: var(--bg-secondary);
}

.forum-popup-vote.voted {
  color: var(--accent-primary);
}

.forum-popup-vote i {
  width: 22px;
  height: 22px;
  color: var(--accent-primary);
}

.forum-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

.forum-info i {
  width: 13px;
  height: 13px;
}

.forum-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forum-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .forum-card {
    padding: 20px;
    gap: var(--spacing-lg);
  }

  .forum-body h3 {
    font-size: 17px;
  }

  .forum-body p {
    font-size: 14px;
    line-height: 1.5;
  }

  .forum-tag {
    font-size: 12px;
    padding: 4px 10px;
  }

  .forum-time {
    font-size: 13px;
  }

  .forum-vote button i {
    width: 28px;
    height: 28px;
  }

  .forum-vote .vote-count {
    font-size: 16px;
  }

  /* Popup desktop overrides */
  .forum-popup-overlay {
    padding: 60px;
  }

  .forum-popup {
    max-width: 560px;
    padding: 32px;
    gap: 20px;
  }

  .forum-popup-header h3 {
    font-size: 20px;
  }

  .forum-popup-close {
    width: 36px;
    height: 36px;
  }

  .forum-popup-desc {
    font-size: 15px;
    line-height: 1.6;
  }

  .forum-popup-info {
    gap: 12px;
  }

  .forum-popup-row {
    gap: 10px;
  }

  .forum-popup-row i {
    width: 18px;
    height: 18px;
  }

  .forum-popup-label {
    font-size: 14px;
  }

  .forum-popup-value {
    font-size: 14px;
  }

  .forum-popup-vote {
    gap: 10px;
    font-size: 16px;
  }

  .forum-popup-vote i {
    width: 24px;
    height: 24px;
  }
}

/* --- Source Tag --- */
.source-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
}

.source-tag i {
  width: 12px;
  height: 12px;
}

.source-tag.resmi {
  color: var(--info);
}

.source-tag.topluluk {
  color: var(--success);
}

/* --- List Item Meta Row --- */
.list-item-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: 2px;
}

.participant-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.participant-count i {
  width: 12px;
  height: 12px;
}

.list-item-meta .spacer {
  flex: 1;
}

/* --- Participant Section (Detail Page) --- */
.participant-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.participant-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.participant-header i {
  color: var(--accent-primary);
}

.participant-header span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.avatar-row {
  display: flex;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
}

.avatar-circle:first-child {
  margin-left: 0;
}

@keyframes avatar-pop-in {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.avatar-circle.avatar-new {
  animation: avatar-pop-in 0.35s ease-out;
}

.avatar-more {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
}

/* --- Google Maps Button --- */
.google-maps-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-primary);
  background: transparent;
  color: var(--accent-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.google-maps-btn:hover {
  background: var(--accent-primary);
  color: var(--text-on-accent);
}

.google-maps-btn i {
  width: 16px;
  height: 16px;
}

/* --- Info Row Link (Detail page) --- */
.info-row-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
}

.info-row-link:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* --- Birlikte Gidelim Button --- */
.btn-birlikte {
  background: var(--success);
  color: #fff;
  width: 100%;
}

.btn-birlikte:hover,
.btn-birlikte:active {
  background: #43A047;
  color: #fff;
}

/* --- Source Badge (Detail Page) --- */
.source-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 13px;
  font-weight: 600;
}

.source-badge.resmi {
  color: var(--info);
}

.source-badge.topluluk {
  color: var(--success);
}

.source-badge i {
  width: 16px;
  height: 16px;
}

/* --- Empty State --- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-2xl);
  text-align: center;
}

.empty-state i {
  font-size: 48px;
  color: var(--text-muted);
}

/* --- Desktop-only elements (hidden on mobile) --- */
.desktop-title,
.desktop-subtitle {
  display: none;
}

.privacy-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--spacing-sm);
}

.privacy-notice i {
  width: 14px;
  height: 14px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* ========================================
   Desktop Layout (768px+)
   ======================================== */
@media (min-width: 768px) {
  .sidebar {
    display: flex;
  }

  .bottom-nav {
    display: none;
  }

  .mobile-header {
    display: none;
  }

  .page-content {
    margin-left: 240px;
    padding: 40px 48px;
    padding-bottom: 40px;
  }

  .desktop-title {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
  }

  .desktop-subtitle {
    display: block;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
  }

  /* Desktop form card */
  .form-card {
    padding: var(--spacing-2xl);
    max-width: 640px;
    gap: var(--spacing-lg);
  }

  .form-row {
    flex-direction: row;
    gap: var(--spacing-lg);
  }

  .form-row > .form-group {
    flex: 1;
  }

  /* Desktop grid layouts */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  /* Desktop event detail card */
  .detail-card {
    max-width: 720px;
  }

  .detail-card-header {
    padding: var(--spacing-xl) var(--spacing-2xl);
  }

  .detail-card-header h2 {
    font-size: 22px;
  }

  .detail-card-body {
    padding: var(--spacing-2xl);
    gap: var(--spacing-xl);
  }

  /* Desktop centered card (feedback) */
  .centered-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
  }

  /* Desktop date row */
  .date-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }

  .toast {
    bottom: 40px;
  }
}

/* --- Theme Toggle --- */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: auto;
  border: none;
  background: none;
  width: 100%;
}

.theme-toggle:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.theme-toggle i {
  font-size: 20px;
  color: var(--text-muted);
}

/* Mobile theme toggle (fixed top-right) */
.theme-toggle-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 150;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.theme-toggle-mobile i {
  font-size: 18px;
}

@media (min-width: 768px) {
  .theme-toggle-mobile {
    display: none;
  }
}

/* Smooth theme transition */
body,
.sidebar,
.bottom-nav,
.mobile-header,
.card,
.list-item,
.detail-card,
.form-input,
.form-select,
.form-textarea,
.search-bar,
.btn-secondary,
.toast,
.participant-section,
.source-badge,
.filter-chip,
.centered-card,
.form-card {
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* --- Utility Classes --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
