/* Profil Sayfası Stilleri */
.profile-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Profil fotoğrafı ve yan panel */
.profile-sidebar {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-photo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid #FFCE00;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-upload-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #DD0000;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.photo-upload-button:hover {
  background-color: #AA0000;
}

/* Profil istatistikleri */
.profile-stats {
  margin-top: 1.5rem;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.stat-label {
  font-weight: 500;
  color: #666;
}

.stat-value {
  font-weight: 600;
  color: #111;
}

.progress-chart {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.chart-container {
  height: 150px;
  background: #f5f5f5;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  gap: 8px;
}

.chart-bar-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chart-bar {
  width: 100%;
  background: linear-gradient(to top, #FFCE00, #FFA500);
  border-radius: 4px 4px 0 0;
  transition: height 0.5s;
}

.chart-label {
  font-size: 0.8rem;
  margin-top: 5px;
  color: #666;
}

/* Profil formu */
.profile-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-form {
  max-width: 100%;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-control:focus {
  border-color: #FFCE00;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 206, 0, 0.2);
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.form-range {
  width: 100%;
  height: 1rem;
  appearance: none;
  background: #eee;
  border-radius: 0.5rem;
  outline: none;
}

.form-range::-webkit-slider-thumb {
  appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  background: #DD0000;
  border-radius: 50%;
  cursor: pointer;
}

.range-value {
  margin-top: 0.5rem;
  text-align: center;
  font-weight: 500;
}

.notification-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.notification-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notification-checkbox {
  width: 1.25rem;
  height: 1.25rem;
}

.form-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

/* Responsive tasarım */
@media (min-width: 768px) {
  .profile-container {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .profile-sidebar {
    flex: 1;
    position: sticky;
    top: 1rem;
  }
  
  .profile-content {
    flex: 2;
  }
}

/* Dark mode kodları - Profil sayfası karanlık tema stilleri */
body.dark-mode .profile-sidebar,
body.dark-mode .profile-content {
  /* Profil sayfası ana bölümleri için koyu gri arka plan */
  background-color: #2A2D34;
  color: #E9E9E9;
}

/* Dark mode'da istatistik etiketleri */
body.dark-mode .stat-label {
  color: #aaa;
}

/* Dark mode'da istatistik değerleri sarı renkte */
body.dark-mode .stat-value {
  color: #FFCE00;
}

/* Dark mode'da form kontrolleri */
body.dark-mode .form-control {
  background-color: #343841;
  border-color: #444;
  color: #E9E9E9;
}

/* Dark mode'da grafik konteyner arka planı */
body.dark-mode .chart-container {
  background-color: #343841;
}

/* Dark mode'da istatistik öğelerinin alt çizgisi */
body.dark-mode .stat-item {
  border-bottom-color: #444;
}

body.dark-mode .progress-chart {
  border-top-color: #444;
}