/* 
   SportKlüp - CSS Tasarım Sistemi
   Koyu Tema, Glassmorphism ve Premium Spor Estetiği
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Renkler */
  --bg-primary: #0a0a12;
  --bg-secondary: #121225;
  --bg-tertiary: #1a1a3a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #dcdce6;
  --text-muted: #7c7c9c;
  
  /* Gradyanlar */
  --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  --accent-primary: #6366f1;
  --accent-secondary: #a855f7;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  --success-glow: rgba(16, 185, 129, 0.15);
  --warning-glow: rgba(245, 158, 11, 0.15);
  --danger-glow: rgba(239, 68, 68, 0.15);
  --primary-glow: rgba(99, 102, 241, 0.25);
  
  /* Fontlar */
  --font-body: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
  
  /* Boşluklar & Kenarlar */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --sidebar-width: 280px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
}

/* Layout */
.app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  transition: var(--transition-normal);
}

.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 40px;
  min-height: 100vh;
  position: relative;
  z-index: 10;
  transition: var(--transition-normal);
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent 60%);
}

.page-section {
  display: none;
  animation: fadeIn var(--transition-normal);
}

.page-section.active {
  display: block;
}

/* Sidebar Elements */
.sidebar-header {
  padding: 30px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-logo {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: var(--transition-fast);
}

.sidebar-link i, .sidebar-link svg {
  width: 20px;
  height: 20px;
  transition: var(--transition-fast);
}

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

.sidebar-link.active {
  color: var(--text-primary);
  background: var(--accent-gradient);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.sidebar-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
}

.user-profile-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: capitalize;
}

/* Page Header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.page-actions {
  display: flex;
  gap: 12px;
}

/* Cards & Glassmorphism */
.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.card-glass {
  background: rgba(26, 26, 46, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

.card-title {
  font-size: 18px;
  font-weight: 600;
}

.card-body {
  padding: 24px;
}

.card-footer {
  padding: 20px 24px;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-color);
}

/* Grids */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Stats Card */
.stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-label {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--text-primary);
}

.stat-change {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}

.stat-change.positive { color: var(--success); }
.stat-change.negative { color: var(--danger); }
.stat-change.neutral { color: var(--text-muted); }

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 24px;
}

.stat-card:hover .stat-icon {
  background: var(--accent-gradient);
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  background-color: var(--bg-card);
}

.btn-success {
  background-color: var(--success);
  color: var(--text-primary);
  box-shadow: 0 4px 14px var(--success-glow);
}

.btn-danger {
  background-color: var(--danger);
  color: var(--text-primary);
  box-shadow: 0 4px 14px var(--danger-glow);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-icon {
  padding: 10px;
  border-radius: var(--radius-md);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.form-label {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

.form-hint {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 6px;
}

/* Tables */
.table-container {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: rgba(0, 0, 0, 0.2);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background-color: var(--bg-card);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-primary { background: rgba(99, 102, 241, 0.15); color: var(--accent-primary); border: 1px solid rgba(99, 102, 241, 0.2); }
.badge-success { background: rgba(16, 185, 129, 0.15); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.2); }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); }
.badge-info { background: rgba(59, 130, 246, 0.15); color: var(--info); border: 1px solid rgba(59, 130, 246, 0.2); }

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--bg-primary);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 9999px;
  transition: width 0.5s ease-out;
}

/* Avatar */
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  border: 2px solid var(--border-color);
  object-fit: cover;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.avatar-lg {
  width: 80px;
  height: 80px;
  font-size: 28px;
}

/* Athlete Cards */
.athlete-card {
  position: relative;
}

.athlete-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 24px;
}

.athlete-card .avatar-lg {
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.athlete-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.athlete-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 16px;
}

.athlete-stats {
  display: flex;
  width: 100%;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  margin-bottom: 20px;
  justify-content: space-around;
}

.athlete-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.athlete-stat-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.athlete-stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Sliders */
.slider-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.range-slider {
  flex: 1;
  -webkit-appearance: none;
  background: var(--bg-primary);
  height: 6px;
  border-radius: 9999px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  border: 2px solid var(--text-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.slider-val {
  width: 32px;
  text-align: right;
  font-weight: 700;
  font-size: 14px;
}

/* Programs UI */
.tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.tab-btn {
  padding: 14px 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--text-primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

.program-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.program-card {
  display: flex;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.program-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.program-time {
  padding: 24px;
  background-color: var(--bg-tertiary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 100px;
  border-right: 1px solid var(--border-color);
}

.program-time-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.program-time-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
}

.program-info {
  padding: 24px;
  flex: 1;
}

.program-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.program-item-title {
  font-size: 18px;
  font-weight: 600;
}

.program-desc {
  color: var(--text-muted);
  font-size: 14px;
}

.program-details {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.program-detail-pill {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Sleep Section Visualisation */
.sleep-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.sleep-clock {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 10px solid var(--bg-tertiary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
}

.sleep-clock-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 10px solid var(--accent-primary);
  clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 50% 100%);
  transform: rotate(45deg);
}

.sleep-duration-big {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.sleep-duration-big span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 8px;
}

/* Toast Container */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.toast {
  min-width: 300px;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.show {
  transform: translateX(0);
}

.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-warning { border-left: 4px solid var(--warning); }
.toast-info { border-left: 4px solid var(--info); }

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

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

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

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Loading Overlay */
#loading-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

#loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255,255,255,0.05);
  border-top: 5px solid var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Login Page */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 20px;
  background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(219, 39, 119, 0.1) 0%, transparent 40%);
}

.login-card {
  width: 100%;
  max-width: 440px;
  animation: slideUp var(--transition-normal);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  font-size: 36px;
  font-family: var(--font-title);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.login-subtitle {
  color: var(--text-muted);
  font-size: 14px;
}

.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.role-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-fast);
}

.role-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-color);
}

.role-btn.active {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
}

/* Radar & charts rows */
.charts-row {
  margin-bottom: 30px;
}

/* Empty States */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
  color: var(--text-muted);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.1);
}

.empty-state-icon {
  font-size: 48px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* Search bar styling */
.search-bar {
  display: flex;
  width: 100%;
  max-width: 400px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  align-items: center;
  padding-left: 16px;
  margin-bottom: 30px;
}

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

.search-input {
  width: 100%;
  background: none;
  border: none;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
}

.search-input:focus {
  outline: none;
}

/* Utility classes */
.fade-in { animation: fadeIn var(--transition-normal); }
.slide-up { animation: slideUp var(--transition-normal); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* Grid adjustments */
.athlete-detail-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
}

.athlete-detail-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.detail-info-list {
  width: 100%;
  margin-top: 20px;
}

.detail-info-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.detail-info-item span:first-child {
  color: var(--text-muted);
}

/* Report Layout */
.report-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.report-section {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
}

.report-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.report-section-title {
  font-size: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recommendations-box {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--text-secondary);
}

.recommendations-list {
  padding-left: 20px;
  margin-top: 12px;
}

.recommendations-list li {
  margin-bottom: 8px;
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Club Customization Styles */
.settings-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
}

.logo-preview-box {
  width: 100%;
  height: 200px;
  background-color: var(--bg-primary);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-fast);
}

.logo-preview-box:hover {
  border-color: var(--accent-primary);
}

.logo-preview-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.logo-preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.logo-preview-placeholder i, .logo-preview-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
}

.color-picker-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.color-input-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.color-input-wrapper input[type="color"] {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 70px;
  height: 70px;
  border: none;
  cursor: pointer;
}

.color-presets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-preset-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.color-preset-btn:hover {
  transform: scale(1.1);
}

.color-preset-btn.active {
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.custom-logo-display {
  max-height: 32px;
  max-width: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.custom-logo-display-large {
  max-height: 80px;
  max-width: 80px;
  object-fit: contain;
  border-radius: 8px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 80px;
  }
  
  .sidebar-logo span {
    display: none;
  }
  
  .sidebar-link span {
    display: none;
  }
  
  .sidebar-link {
    justify-content: center;
    padding: 14px;
  }
  
  .user-info {
    display: none;
  }
  
  .main-content {
    padding: 20px;
  }
  
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .page-actions {
    width: 100%;
  }
  
  .page-actions .btn {
    flex: 1;
  }
  
  .athlete-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .sleep-container {
    flex-direction: column;
    gap: 30px;
  }
}

/* Mobil hamburger butonu — sadece 480px altında görünür */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

/* Sidebar açıkken arkaya dark backdrop */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  z-index: 998;
}

.sidebar-backdrop.active {
  display: block;
}

@media (max-width: 480px) {
  :root {
    --sidebar-width: 0px;
  }

  .sidebar {
    transform: translateX(-100%);
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }

  .sidebar.active {
    transform: translateX(0);
    width: 260px;
  }

  .sidebar.active .sidebar-logo span,
  .sidebar.active .sidebar-link span {
    display: inline;
  }

  .sidebar.active .sidebar-link {
    justify-content: flex-start;
  }

  .main-content {
    margin-left: 0;
    padding-top: 70px; /* Hamburger için üst boşluk */
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  /* Modal footer butonlarını üst üste diz — dar ekranda tek satır sığmaz */
  .modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .modal-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* Sayfa başlığı ile ekstra sağdaki içerikleri (search bar vb.) alta sar */
  .page-header > div:nth-child(2) {
    width: 100%;
  }
}

/* Print Styles */
@media print {
  body {
    background: #ffffff;
    color: #000000;
  }
  .sidebar, .page-actions, .search-bar, #toast-container, .modal-overlay {
    display: none !important;
  }
  .main-content {
    margin-left: 0 !important;
    padding: 0 !important;
  }
  .card, .card-glass {
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
    color: #000000 !important;
  }
  .text-muted {
    color: #555555 !important;
  }
  .badge {
    border: 1px solid #000000 !important;
    color: #000000 !important;
    background: transparent !important;
  }
}

/* -------------------------------------------------------------
   YENİ MODÜLLER VE ÖZELLİKLER İÇİN STİLLER
   ------------------------------------------------------------- */

/* 1. Takvim Modülü (Calendar) */
.calendar-container {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 24px;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.calendar-nav-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
}
.calendar-nav-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.calendar-day-header {
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.calendar-day {
  min-height: 100px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
}
.calendar-day:hover {
  border-color: var(--accent-primary);
  background: var(--bg-card-hover);
}
.calendar-day.today {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: inset 0 0 0 1px var(--accent-primary);
}
.calendar-day.other-month {
  opacity: 0.25;
}
.calendar-day-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.calendar-events-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  flex: 1;
}
.calendar-event {
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  font-weight: 500;
}
.calendar-event.training {
  background: rgba(59, 130, 246, 0.15);
  color: var(--info);
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.calendar-event.competition {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.calendar-event.event {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.calendar-event.holiday {
  background: rgba(107, 114, 128, 0.15);
  color: var(--text-muted);
  border: 1px solid rgba(107, 114, 128, 0.25);
}

/* 2. Yoklama Modülü (Attendance) */
.attendance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.attendance-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.attendance-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
}
.attendance-toggle {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.attendance-btn {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition-fast);
}
.attendance-btn.present:hover, .attendance-btn.present.active {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}
.attendance-btn.absent:hover, .attendance-btn.absent.active {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}
.attendance-btn.excused:hover, .attendance-btn.excused.active {
  border-color: var(--warning);
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}
.attendance-stats {
  display: flex;
  gap: 24px;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.attendance-stat-item {
  text-align: center;
  flex: 1;
}

/* 3. Sohbet/Mesajlaşma Arayüzü (Chat) */
.chat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  height: calc(100vh - 200px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
}
.chat-sidebar {
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.chat-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}
.chat-contact-list {
  overflow-y: auto;
  flex: 1;
}
.chat-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}
.chat-contact:hover, .chat-contact.active {
  background: var(--bg-card-hover);
}
.chat-contact.active {
  border-left: 4px solid var(--accent-primary);
}
.chat-contact-info {
  flex: 1;
  min-width: 0;
}
.chat-contact-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.chat-contact-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-contact-preview {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-contact-time {
  font-size: 11px;
  color: var(--text-muted);
}
.chat-unread-badge {
  background: var(--accent-primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.chat-main {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
}
.chat-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
  position: relative;
}
.chat-bubble.sent {
  background: var(--accent-gradient);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 10px var(--primary-glow);
}
.chat-bubble.received {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  align-self: flex-start;
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 2px;
}
.chat-bubble-time {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  text-align: right;
}
.chat-bubble.received .chat-bubble-time {
  color: var(--text-muted);
}
.chat-input-area {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg-secondary);
}
.chat-input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 12px 20px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
}
.chat-input:focus {
  border-color: var(--accent-primary);
}
.chat-send-btn {
  background: var(--accent-gradient);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px var(--primary-glow);
}
.chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  gap: 12px;
}

/* 4. Bildirim Çanı & Paneli */
.notification-bell-container {
  position: relative;
  margin-right: 15px;
}
.notification-bell {
  position: relative;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  color: var(--text-muted);
  display: flex;
  align-items: center;
}
.notification-bell:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}
.notification-badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-secondary);
}
.notification-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  max-height: 400px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  overflow-y: auto;
  display: none;
}
.notification-panel.active {
  display: block;
  animation: slideUp 0.2s ease-out;
}
.notification-panel-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.notification-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}
.notification-item:hover {
  background: var(--bg-card-hover);
}
.notification-item.unread {
  border-left: 3px solid var(--accent-primary);
  background: rgba(99, 102, 241, 0.02);
}
.notification-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notification-item-icon.info { background: rgba(59, 130, 246, 0.15); color: var(--info); }
.notification-item-icon.warning { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.notification-item-icon.payment { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.notification-item-icon.attendance { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.notification-item-content {
  flex: 1;
  min-width: 0;
}
.notification-item-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.notification-item-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.notification-item-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 5. Fotoğraf Galerisi */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-album {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}
.gallery-album:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-lg);
}
.gallery-album-cover {
  width: 100%;
  height: 180px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
}
.gallery-album-info {
  padding: 16px;
}
.gallery-album-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.gallery-album-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.gallery-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.gallery-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
}

/* 6. Hedef Kartları */
.goal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-fast);
  position: relative;
}
.goal-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
}
.goal-card.completed {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.02);
}
.goal-card.failed {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.02);
}
.goal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.goal-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.goal-progress-bar {
  height: 8px;
  background: var(--bg-primary);
  border-radius: 9999px;
  overflow: hidden;
  margin: 12px 0;
}
.goal-progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.5s ease;
}
.goal-progress-fill.low { background: var(--danger); }
.goal-progress-fill.medium { background: var(--warning); }
.goal-progress-fill.high { background: var(--success); }
.goal-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* 7. Karşılaştırma Modülü */
.compare-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-column {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-primary);
}
.compare-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

/* 8. Başarı Vitrini (Trophies) */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.trophy-card {
  text-align: center;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.trophy-card:hover {
  transform: translateY(-2px);
  border-color: var(--warning);
}
.trophy-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}
.trophy-icon.gold { color: #FFD700; filter: drop-shadow(0 0 4px rgba(255,215,0,0.3)); }
.trophy-icon.silver { color: #C0C0C0; filter: drop-shadow(0 0 4px rgba(192,192,192,0.3)); }
.trophy-icon.bronze { color: #CD7F32; filter: drop-shadow(0 0 4px rgba(205,127,50,0.3)); }
.trophy-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.trophy-date {
  font-size: 11px;
  color: var(--text-muted);
}

/* 9. Zaman Akışı (Timeline) */
.timeline {
  position: relative;
  padding-left: 24px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border-color);
}
.timeline-item {
  position: relative;
  padding-bottom: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: 2px solid var(--bg-primary);
  z-index: 1;
}
.timeline-item-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.timeline-item-content {
  font-size: 13px;
  color: var(--text-secondary);
}

/* 10. Tema Butonu ve Değişkenleri */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition-fast);
}
.theme-toggle:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

/* 11. Aidat Ödeme Durum Rozetleri */
.payment-status {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.payment-status.paid { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.payment-status.pending { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.payment-status.overdue { background: rgba(239, 68, 68, 0.15); color: var(--danger); }

/* 12. Sakatlık Kartları */
.injury-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}
.injury-card.active { border-left: 4px solid var(--danger); }
.injury-card.recovered { border-left: 4px solid var(--success); }
.injury-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.injury-card.active .injury-icon { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.injury-card.recovered .injury-icon { background: rgba(16, 185, 129, 0.1); color: var(--success); }

