/* Header.php'den taşınan CSS'ler */

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, Arial;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #2d3748;
  min-height: 100vh;
}

header {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 20px 0 10px 0;
  text-align: center;
  font-size: 24px;
  position: relative;
  z-index: 10;
}

#ust-bildirim-bar-header {
  display: flex;
  justify-content: center;
  backdrop-filter: blur(10px);
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.profile-notification {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Modern Notification & Message Area Styles */
.notify-notification,
.notify-message {
  position: relative;
  display: inline-block;
}

.notify-notification>a,
.notify-message>a {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 12px 16px;
  color: #667eea;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.notify-notification>a::before,
.notify-message>a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.notify-notification>a:hover::before,
.notify-message>a:hover::before {
  left: 100%;
}

.notify-notification>a:hover,
.notify-message>a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
  background: rgba(102, 126, 234, 0.1);
  border-color: #667eea;
}

.notify-notification span,
.notify-message span {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
  animation: pulse-notification 2s infinite;
}

@keyframes pulse-notification {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.limited-list-haber,
.limited-list,
.limited-list-test {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 380px;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 0;
  z-index: 1000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  animation: slideDown 0.3s ease-out;
  list-style: none;
}

/* Mobil için dropdown merkeze alınması */
@media (max-width: 768px) {

  .limited-list-haber,
  .limited-list,
  .limited-list-test {
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 300px !important;
    max-width: calc(100vw - 20px) !important;
    width: auto !important;
    margin: 0 10px !important;
  }

  /* Daha güvenli pozisyonlama için */
  .limited-list-haber,
  .limited-list,
  .limited-list-test {
    box-sizing: border-box;
  }

  /* Dropdown içeriği mobil için optimize edilmiş */
  .limited-list-haber li,
  .limited-list li,
  .limited-list-test li {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.limited-list-haber li,
.limited-list li,
.limited-list-test li {
  border-bottom: 1px solid rgba(240, 244, 248, 0.8);
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.limited-list-haber li:hover,
.limited-list li:hover,
.limited-list-test li:hover {
  background: rgba(102, 126, 234, 0.05);
}

.limited-list-haber li:last-child,
.limited-list li:last-child,
.limited-list-test li:last-child {
  border-bottom: none;
}

/* Cart Area Styles */
.cart-area {
  position: relative;
  display: inline-block;
}

.cart-area>a {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 12px 16px;
  color: #667eea;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.cart-area>a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
  background: rgba(102, 126, 234, 0.1);
  border-color: #667eea;
}

.cart-area span {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* User Account Styles */
.user-account-info-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  margin-left: 0;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.user-account-info-bar:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.user-account-img img {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  object-fit: cover;
  margin-bottom: 0;
}

.user-account-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  margin-left: 0;
  gap: 6px;
  line-height: 1.1;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-account-dropdown-bar {
  margin-left: 8px;
  cursor: pointer;
  position: relative;
  color: white;
}

.user-account-dropdown-bar ul {
  display: none;
  position: absolute;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 8px #eee;
  padding: 10px;
  right: 0;
  border-radius: 8px;
  min-width: 160px;
  list-style: none;
  margin: 0;
}

.user-account-dropdown-bar ul li {
  border-bottom: 1px solid #eee;
  padding: 7px 0;
}

.user-account-dropdown-bar ul li:last-child {
  border-bottom: none;
}

.user-account-dropdown-bar ul li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  display: block;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
}

.user-account-dropdown-bar ul li a:hover {
  background: #f5f5f5;
}

/* Test Results Styles */
.result-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-top: 8px;
}

.result-info .score {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 11px;
}

.result-info .date {
  color: #2c3e50;
  /* Koyu renk - okunabilir */
  font-size: 11px;
  font-weight: 500;
}

/* Cart Product Content */
.cart-single-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-product-img img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-product-content {
  flex: 1;
}

.cart-product-content h3 {
  margin: 0 0 8px 0;
  font-size: 14px;
  line-height: 1.3;
}

.cart-product-content h3 a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
}

.cart-product-content h3 a:hover {
  color: #667eea;
}

/* Notification Content Styles */
.notify-notification-img img,
.notify-message-img img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.notify-notification-info,
.notify-message-info {
  flex: 1;
  margin-left: 12px;
}

.notify-notification-subject,
.notify-message-sender {
  font-weight: 600;
  font-size: 14px;
  color: #2c3e50;
  margin-bottom: 4px;
}

.notify-notification-subject a,
.notify-message-sender a {
  color: #667eea;
  text-decoration: none;
}

.notify-notification-date,
.notify-message-subject,
.notify-message-date {
  font-size: 12px;
  color: #718096;
  margin-bottom: 2px;
}

.notify-message-subject {
  color: #2c3e50;
  font-weight: 500;
}

.notify-notification-sign,
.notify-message-sign {
  display: flex;
  align-items: center;
  padding-left: 8px;
}

/* Empty States */
.empty-state,
.empty-cart {
  text-align: center;
  padding: 30px 20px;
  color: #718096;
}

.empty-state i,
.empty-cart i {
  font-size: 24px;
  margin-bottom: 10px;
  opacity: 0.6;
}

.empty-state p,
.empty-cart p {
  margin: 0;
  font-size: 14px;
}

/* Header Buttons */
.header-buttons {
  position: absolute;
  right: 30px;
  top: 20px;
  display: flex;
  gap: 15px;
}

.header-buttons a {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.header-buttons a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  color: white;
}

/* Kullanicisayfasi.php'den taşınan CSS'ler - styles.css dosyasına ekleniyor */

/* Profil Sayfası Genel Stilleri */
.profil-orta-kapsayici {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 1rem 1rem;
  /* Alt padding'i azalttık */
}

.profil-kapsayici {
  max-width: 800px;
  width: 100%;
  background: #fff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  position: relative;
  margin-bottom: 0;
  /* Alt margin'i sıfırladık */
}

.profil-karti {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}

.profil-foto {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #e0e7ef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  margin-right: 2rem;
}

/* Profil resmi düzenleme */
.image_area {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 2rem;
}

.image_area label {
  display: block;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.image_area .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
  text-align: center;
  border-radius: 50%;
}

.image_area .overlay .text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.image_area .overlay .text::before {
  content: '📷';
  font-size: 20px;
}

.image_area:hover .overlay {
  opacity: 1;
}

/* Profil Bilgi Alanı */
.profil-bilgi {
  flex: 1;
}

.profil-bilgi h2 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  color: #22223b;
}

.profil-bilgi p {
  margin: 0 0 0.7rem 0;
  color: #444;
  font-size: 1.08rem;
}

/* Etiketler */
.etiketler {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.2rem 0;
  padding: 0;
  list-style: none;
}

.etiketler li {
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

/* Takip Blok */
.takip-blok {
  display: flex;
  gap: 1.2rem;
  margin: 1.5rem 0 1.5rem 0;
}

.takip-kutusu {
  flex: 1;
  background: #f3f4f6;
  padding: 1rem 0.5rem;
  border-radius: 10px;
  text-align: center;
  font-size: 1.1rem;
  color: #1f2937;
}

.takip-kutusu strong {
  display: block;
  color: #1f2937;
  font-size: 1.05rem;
}

.takip-kutusu span {
  color: #2563eb;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Hobi Bölümü */
.hobi-bolumu {
  margin-bottom: 1.5rem;
}

.hobi-bolumu h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #1f2937;
}

.hobi-listesi {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.hobi-listesi li {
  background: #fce7f3;
  color: #be185d;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

/* Hakkında Inline Editing */
.hakkinda-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.hakkinda-text {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
  display: inline-block;
  min-height: 20px;
  word-wrap: break-word;
}

.hakkinda-text:hover {
  background-color: #f8f9fa;
}

.hakkinda-edit-mode {
  display: none;
}

.hakkinda-textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border: 2px solid #3b82f6;
  border-radius: 8px;
  font-family: inherit;
  font-size: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

.hakkinda-textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.hakkinda-buttons {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.hakkinda-save,
.hakkinda-cancel {
  padding: 6px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.hakkinda-save {
  background: #10b981;
  color: white;
}

.hakkinda-save:hover {
  background: #059669;
}

.hakkinda-cancel {
  background: #6b7280;
  color: white;
}

.hakkinda-cancel:hover {
  background: #4b5563;
}

.edit-hint {
  display: none;
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  font-style: italic;
}

.hakkinda-container:hover .edit-hint {
  display: block;
}

/* Konum Düzenleme */
.konum-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.konum-text {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
  display: inline-block;
  min-height: 20px;
}

.konum-text:hover {
  background-color: #f8f9fa;
}

.konum-edit-mode {
  display: none;
}

.konum-selects {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.konum-select {
  flex: 1;
  min-width: 150px;
  padding: 10px;
  border: 2px solid #3b82f6;
  border-radius: 8px;
  font-family: inherit;
  font-size: inherit;
  outline: none;
  transition: border-color 0.2s;
  background: white;
}

.konum-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.konum-select:disabled {
  background-color: #f3f4f6;
  border-color: #d1d5db;
  cursor: not-allowed;
}

.konum-buttons {
  display: flex;
  gap: 8px;
}

.konum-save,
.konum-cancel {
  padding: 6px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.konum-save {
  background: #10b981;
  color: white;
}

.konum-save:hover {
  background: #059669;
}

.konum-cancel {
  background: #6b7280;
  color: white;
}

.konum-cancel:hover {
  background: #4b5563;
}

.konum-edit-hint {
  display: none;
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  font-style: italic;
}

.konum-container:hover .konum-edit-hint {
  display: block;
}

/* Sorular Bölümü */
.sorular-bolumu {
  margin-bottom: 0;
  /* Alt margin'i sıfırladık */
}

.sorular-bolumu h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #1f2937;
}

/* Soru Ekleme Sistemi */
.soru-ekleme-container {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 1.2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.soru-onay-bilgi {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #1e40af;
}

.bilgi-ikonu {
  font-size: 16px;
  flex-shrink: 0;
}

.bilgi-metni {
  flex: 1;
  font-weight: 500;
}

.soru-input-wrapper {
  position: relative;
}

.soru-textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.soru-textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.soru-textarea::placeholder {
  color: #94a3b8;
  font-style: italic;
}

.soru-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.soru-ekle-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.soru-ekle-button:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.soru-ekle-button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-icon {
  font-size: 16px;
}

.karakter-sayaci {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 8px;
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.karakter-sayaci.warning {
  color: #f59e0b;
}

.karakter-sayaci.danger {
  color: #ef4444;
}

/* Soru Listesi */
.soru-listesi {
  list-style: none;
  padding: 0;
  margin: 0;
}

.soru-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.soru-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.soru-content {
  position: relative;
}

.soru-text {
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 12px;
  line-height: 1.5;
}

.soru-sil-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0.6;
  transition: all 0.2s ease;
  margin-left: 12px;
}

.soru-sil-btn:hover {
  opacity: 1;
  background: #fee2e2;
  transform: scale(1.1);
}

.bos-mesaj {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: #64748b;
  font-style: italic;
  margin: 0;
}

/* Cevap Sistemi */
.cevaplar-container {
  margin: 16px 0;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #3b82f6;
}

.cevap-item {
  background: white;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid #e2e8f0;
}

.cevap-item:last-child {
  margin-bottom: 0;
}

.cevap-kullanici {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cevap-profil-resmi {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.cevap-kullanici-ad {
  font-size: 13px;
  font-weight: 600;
  color: #3b82f6;
}

.cevap-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.4;
  padding-left: 32px;
}

.cevap-ver-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 999;
  pointer-events: auto !important;
}

.cevap-ver-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.cevap-form-container {
  margin-top: 12px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #bae6fd;
  animation: slideDown 0.3s ease-out;
}

.cevap-input-wrapper {
  position: relative;
}

.cevap-textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px 16px;
  border: 2px solid #0ea5e9;
  border-radius: 8px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.cevap-textarea:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}

.cevap-textarea::placeholder {
  color: #94a3b8;
  font-style: italic;
}

.cevap-buttons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-items: center;
}

.cevap-gonder-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cevap-gonder-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.cevap-gonder-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cevap-iptal-btn {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cevap-iptal-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #475569;
}

/* Butonlar */
.butonlar {
  margin-top: 1.5rem;
  margin-bottom: 0;
  /* Alt margin'i sıfırladık */
  display: flex;
  gap: 1rem;
}

.takip-et-butonu {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.takip-et-butonu:hover {
  background: #2563eb;
  color: #fff;
  text-decoration: none;
}

.mesaj-butonu {
  background: #f59e42;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.mesaj-butonu:hover {
  background: #d97706;
}

/* Bildirim Zili */
.bildirim-zili {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.4rem;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1000;
  /* Z-index artırıldı footer'ın üstünde görünmesi için */
}

.bildirim-zili:hover {
  color: #f59e0b;
}

.bildirim-zili.active {
  color: #f59e0b;
  animation: bellShake 0.5s ease-in-out;
}

@keyframes bellShake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }
}

/* Galeri Bölümü */
.galeri-bolumu {
  margin-top: 2rem;
  margin-bottom: 0;
  /* Alt margin'i sıfırladık */
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.galeri-bolumu h3 {
  margin: 0 0 1.5rem 0;
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.galeri-bolumu h3::before {
  content: '🖼️';
  font-size: 1.1rem;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.galeri-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.galeri-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.galeri-item:hover img {
  transform: scale(1.05);
}

.galeri-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeri-item:hover .overlay {
  opacity: 1;
}

.galeri-item .overlay i {
  color: white;
  font-size: 1.5rem;
}

.galeri-bos {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
}

.galeri-bos-ikon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.galeri-bos-mesaj {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.galeri-bos-aciklama {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Çözdüğü Testler Bölümü */
.cozulen-testler-bolumu {
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.cozulen-testler-bolumu h3 {
  margin: 0 0 1.5rem 0;
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.test-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  cursor: pointer;
}

.test-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}

.test-resim {
  position: relative;
  overflow: hidden;
}

.test-type-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  color: white;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.test-bilgi {
  padding: 1rem;
}

.test-baslik a {
  display: block;
  transition: color 0.3s ease;
}

.test-baslik a:hover {
  color: #667eea !important;
  text-decoration: none;
}

.testler-bos {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
}

.testler-bos-ikon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.testler-bos-mesaj {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.testler-bos-aciklama {
  font-size: 0.9rem;
  opacity: 0.7;
}

.testler-bos-aciklama a {
  color: #667eea;
  font-weight: 500;
  transition: color 0.3s ease;
}

.testler-bos-aciklama a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Lightbox Stilleri */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  user-select: none;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

/* Ahlak Seviyesi Etiketleri */
.ahlak-seviye {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 12px;
  text-align: center;
  margin: 5px 0;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.ahlak-seviye:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Modern Breadcrumb - Kullanıcı Sayfası İçin */
.modern-breadcrumb {
  max-width: 1000px;
  margin: 0 auto 20px auto;
  padding: 1rem;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-breadcrumb ol {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modern-breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #2c3e50;
}

.modern-breadcrumb li:not(:last-child):after {
  content: "›";
  margin: 0 0.8rem;
  color: #667eea;
  font-weight: bold;
}

.modern-breadcrumb a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
}

.modern-breadcrumb a:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #5a67d8;
  text-decoration: none;
}

.modern-breadcrumb li:last-child {
  color: #666;
  font-weight: 500;
}

/* Responsive Tasarım */
@media (max-width: 700px) {
  .profil-karti {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .profil-foto {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .image_area {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .butonlar {
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
  }

  .soru-ekleme-container {
    padding: 1rem;
  }

  .soru-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .soru-ekle-button {
    width: 100%;
    justify-content: center;
  }

  .karakter-sayaci {
    align-self: center;
  }

  .soru-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .soru-sil-btn {
    align-self: flex-end;
    margin-left: 0;
  }

  .cevap-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .cevap-gonder-btn,
  .cevap-iptal-btn {
    width: 100%;
    justify-content: center;
  }

  .cevap-kullanici {
    flex-wrap: wrap;
  }

  .cevap-text {
    padding-left: 0;
    margin-top: 8px;
  }

  .cevap-ver-btn {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }

  .galeri-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
  }

  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 30px;
    width: 45px;
    height: 45px;
  }

  .lightbox-nav {
    font-size: 24px;
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 15px;
  }

  .lightbox-next {
    right: 15px;
  }

  .lightbox-counter {
    bottom: 20px;
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 768px) {

  /* Header mobil düzenlemeleri */
  header {
    padding: 10px 0 15px 0 !important;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  header span {
    font-size: 18px !important;
    margin-left: 15px !important;
    flex: 1;
    text-align: left;
  }

  .header-buttons {
    position: static !important;
    right: auto !important;
    top: auto !important;
    margin-right: 15px;
    flex-shrink: 0;
  }

  .header-buttons a {
    padding: 8px 12px !important;
    font-size: 18px !important;
  }

  #ust-bildirim-bar-header {
    gap: 12px;
    padding: 0 10px;
    width: 100%;
    margin-top: 10px;
  }

  .profile-notification {
    gap: 12px;
  }

  /* Dropdown'ların mobilde daha iyi konumlandırılması */
  .cart-area,
  .notify-notification,
  .notify-message {
    position: relative;
  }

  /* Dropdown içerik genişliklerini mobil için ayarla */
  .limited-list-haber li,
  .limited-list li,
  .limited-list-test li {
    padding: 12px;
    font-size: 14px;
  }

  .galeri-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
  }

  /* Çözdüğü testler mobil responsive */
  .testler-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .cozulen-testler-bolumu {
    padding: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .test-bilgi {
    padding: 0.8rem;
  }

  .test-baslik a {
    font-size: 13px !important;
  }

  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 30px;
    width: 45px;
    height: 45px;
  }

  .lightbox-nav {
    font-size: 24px;
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 15px;
  }

  .lightbox-next {
    right: 15px;
  }

  .lightbox-counter {
    bottom: 20px;
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Footer.php'den eksik olan CSS'ler - styles.css dosyasına ekleniyor */

/* Footer Genel Stilleri */
footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  padding: 3rem 0 1rem 0;
  margin-top: 2rem;
  /* 4rem'den 2rem'e düşürdük */
  position: relative;
  overflow: hidden;
  z-index: 5;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  display: inline-block;
}

.footer-section a:hover {
  color: white;
  text-decoration: none;
  transform: translateX(5px);
}

/* Sosyal Medya İkonları */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: none;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-links i {
  font-size: 1.1rem;
  color: white;
}

/* Footer Alt Kısım */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
}

/* İletişim Bilgileri */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
  width: 20px;
  color: rgba(255, 255, 255, 0.7);
}

/* Hızlı Linkler */
.quick-links li {
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-links li:last-child {
  border-bottom: none;
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.quick-links a::before {
  content: '→';
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quick-links a:hover::before {
  opacity: 1;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Hakkımızda Bölümü */
.about-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.feature-list li::before {
  content: '✓';
  color: #4ade80;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  footer {
    padding: 2rem 0 1rem 0;
    margin-top: 1rem;
    /* 2rem'den 1rem'e düşürdük */
  }

  .footer-sections {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
  }

  .social-links {
    justify-content: center;
  }

  .contact-info {
    text-align: center;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .quick-links a {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 0 0.5rem;
  }

  .social-links a {
    width: 35px;
    height: 35px;
  }

  .social-links i {
    font-size: 1rem;
  }

  .footer-section h3 {
    font-size: 1.1rem;
  }

  .newsletter-input,
  .newsletter-btn {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
}

/* Footer'da gezinme menüsü */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: none;
}

/* Footer animasyonları */
@keyframes footerFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-section {
  animation: footerFadeIn 0.6s ease-out;
}

.footer-section:nth-child(2) {
  animation-delay: 0.1s;
}

.footer-section:nth-child(3) {
  animation-delay: 0.2s;
}

.footer-section:nth-child(4) {
  animation-delay: 0.3s;
}

/* Footer üst kısmında dekoratif elementler */
footer::after {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(102, 126, 234, 0.1));
  pointer-events: none;
}

/* Modern footer kartları */
.footer-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer'da istatistikler */
.footer-stats {
  display: flex;
  justify-content: space-around;
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (max-width: 600px) {
  .footer-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Body içindeki son elementlerin alt margin'lerini sıfırlayalım */

/* Profil sayfası için */
.profil-orta-kapsayici {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 1rem 1rem;
  /* Alt padding'i azalttık */
}

.profil-kapsayici {
  max-width: 800px;
  width: 100%;
  background: #fff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  position: relative;
  margin-bottom: 0;
  /* Alt margin'i sıfırladık */
}

/* Galeri bölümü için */
.galeri-bolumu {
  margin-top: 2rem;
  margin-bottom: 0;
  /* Alt margin'i sıfırladık */
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

/* Genel sayfa içerik alanları için */
.container,
.main-content,
.content-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 1rem;
}

/* Son elementlerin alt margin'lerini sıfırlayalım */
.butonlar {
  margin-top: 1.5rem;
  margin-bottom: 0;
  /* Alt margin'i sıfırladık */
  display: flex;
  gap: 1rem;
}

.sorular-bolumu {
  margin-bottom: 0;
  /* Alt margin'i sıfırladık */
}

/* Test Çöz Kısmı */

.test-solve-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem 0;
}

.main-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 2rem;
}

.test-header {
  text-align: center;
  margin-bottom: 3rem;
}

.test-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.test-category {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.test-image-container {
  text-align: center;
  margin-bottom: 2rem;
}

.test-image {
  max-width: 300px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.test-image:hover {
  transform: scale(1.05);
}

.test-info-card {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  text-align: center;
}

.test-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

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

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.question-container {
  margin-bottom: 2rem;
}

.question-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.question-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.question-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.question-number {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 1rem;
  min-width: 80px;
  text-align: center;
}

.question-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.6;
}

.answers-container {
  margin-top: 1.5rem;
}

.answer-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.answer-option:hover {
  background: rgba(102, 126, 234, 0.05);
  border-color: #667eea;
  transform: translateX(5px);
}

.answer-option.selected {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-color: #667eea;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.answer-radio {
  width: 20px;
  height: 20px;
  margin-right: 1rem;
  accent-color: #667eea;
}

.answer-text {
  font-size: 1rem;
  color: #374151;
  line-height: 1.5;
}

.progress-container {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  position: sticky;
  top: 2rem;
  z-index: 100;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.progress-title {
  font-weight: 600;
  color: #374151;
}

.progress-stats {
  color: #6b7280;
  font-size: 0.9rem;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 10px;
  transition: width 0.3s ease;
  width: 0%;
}

.submit-container {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
}

.submit-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 15px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 250px;
  position: relative;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Already Solved Styles */
.already-solved-container {
  animation: fadeInUp 0.6s ease-out;
}

.result-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.matches-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  border-left: 4px solid #dc2626;
  text-align: center;
}

.success-message {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  border-left: 4px solid #059669;
  text-align: center;
}

.badges-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.badge-icon {
  width: 30px;
  height: 30px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.badge-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Kategoriler Style */

/* Modern Kategoriler Sayfası - Testlerim.php'ye benzer tasarım */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Kategoriler sayfası için özel background */
.kategoriler-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.kategoriler-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  min-height: 100vh;
}

/* Header Section */
.header-section {
  text-align: center;
  margin-bottom: 50px;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/* Category Filter */
.category-filter {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.filter-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
  text-align: center;
}

.category-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
}

.category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: white;
  color: #4a5568;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.category-btn:hover::before {
  opacity: 0.1;
}

.category-btn>* {
  position: relative;
  z-index: 2;
}

.category-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: #2d3748;
}

.category-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.category-btn.active:hover {
  color: white;
  transform: translateY(-5px);
}

.category-btn.active::before {
  opacity: 0;
}

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
  background: #f7fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.category-btn.active .category-icon {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
}

.category-name {
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
}

.category-description {
  font-size: 0.85rem;
  opacity: 0.8;
  text-align: center;
  line-height: 1.4;
  max-width: 200px;
}

.test-count {
  background: rgba(255, 255, 255, 0.9);
  color: #667eea;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 40px;
  text-align: center;
}

.category-btn.active .test-count {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Tests Grid */
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

/* Test Card */
.test-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.test-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.test-card-header {
  padding: 25px 25px 20px 25px;
  border-bottom: 1px solid #f7fafc;
}

.test-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.test-title a {
  color: inherit;
  text-decoration: none;
}

.test-title a:hover {
  color: #667eea;
  text-decoration: none;
}

.test-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.test-card-body {
  padding: 20px 25px;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 12px;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.95rem;
}

.test-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.star {
  color: #fbbf24;
  font-size: 0.8rem;
}

.rating-text {
  font-size: 0.8rem;
  color: #718096;
  margin-left: 4px;
}

.test-actions {
  display: flex;
  gap: 8px;
}

.action-btn-sm {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.action-btn-sm.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.action-btn-sm.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  color: white;
  text-decoration: none;
}

/* Empty State */
.empty-state {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 60px 40px;
  backdrop-filter: blur(10px);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.6;
}

.empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 10px;
}

.empty-text {
  color: #718096;
  margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  .kategoriler-container {
    padding: 20px 15px;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .tests-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-buttons {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .category-btn {
    padding: 18px;
    min-height: auto;
  }

  .category-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .category-name {
    font-size: 1rem;
  }

  .category-description {
    font-size: 0.8rem;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.8rem;
  }

  .category-btn {
    padding: 15px;
  }

  .category-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-card {
    padding: 1.5rem;
    margin: 1rem;
  }

  .test-title {
    font-size: 2rem;
  }

  .question-card {
    padding: 1.5rem;
  }

  .question-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .question-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .answer-option {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .test-stats {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {


  .main-card {
    margin: 0.5rem;
    padding: 1rem;
  }

  .test-image {
    max-width: 250px;
    height: 150px;
  }

  .submit-btn {
    width: 100%;
    min-width: auto;
  }
}

/* Footer Butonları ve Bilgi Yazısı */
.footer-buttons {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 1rem;
}

.footer-buttons a {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-buttons a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: white;
  text-decoration: none;
}

.footer-info {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.footer-info span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mobil için responsive */
@media (max-width: 768px) {
  .footer-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .footer-buttons a {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .footer-info span {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* Footer z-index'i artır - Bu özellikler yukarıdaki footer tanımına eklendi */

footer::before {
  z-index: 1;
}

.footer-content {
  z-index: 3;
}

/* Header'ı CSS class'ları ile düzenle */
.main-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(31, 38, 135, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-title {
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-left: 20px;
  flex: 1;
  min-width: 0;
}

.header-buttons {
  position: static;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 20px;
  flex-shrink: 0;
}

.header-button {
  color: white;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s;
}

.login-button,
.register-button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.register-button {
  background: linear-gradient(45deg, #ff6b6b, #feca57);
}

/* Mobile Header Responsive */
@media (max-width: 768px) {
  .main-header {
    padding: 10px 0;
  }

  .site-title {
    font-size: 16px;
    margin-left: 15px;
    line-height: 1.2;
  }

  .header-buttons {
    gap: 10px;
    margin-right: 15px;
  }

  .header-button {
    font-size: 16px;
  }

  .login-button,
  .register-button {
    padding: 6px 12px;
    font-size: 14px;
  }

  /* User account info mobile styles */
  .user-account-info-bar {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .user-account-img img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0;
  }

  .user-account-title {
    color: white;
    font-size: 14px;
    font-weight: bold;
  }

  .user-account-dropdown-bar i {
    color: white;
    font-size: 12px;
  }
}

/* Chat notification unread badge */
.unread-badge {
  background: #667eea;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
  font-weight: bold;
  display: inline-block;
}

/* Chat list item styling */
.limited-list li[data-unread="true"] {
  background: rgba(102, 126, 234, 0.1);
  border-left: 3px solid #667eea;
}

.limited-list li[data-unread="true"] .notify-message-sender a {
  font-weight: bold;
  color: #667eea;
}