body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

.main-container {
  display: flex;
  gap: 25px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

/* Sol Panel - Resim */
.image-panel {
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-self: flex-start;
  position: sticky;
  top: 20px;
}

.image-container {
  position: relative;
  overflow: hidden;
}

.panel-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(30, 64, 175, 0.9));
  color: white;
  padding: 25px;
  text-align: center;
}

.image-overlay h3 {
  margin: 0 0 8px 0;
  font-size: 1.5em;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.image-overlay p {
  margin: 0;
  font-size: 1em;
  opacity: 0.9;
}

.image-info {
  padding: 25px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item:hover {
  background: rgba(37, 99, 235, 0.05);
  border-radius: 8px;
  padding-left: 10px;
  padding-right: 10px;
}

.info-icon {
  font-size: 1.6em;
  width: 35px;
  text-align: center;
  transition: transform 0.3s ease;
}

.info-item:hover .info-icon {
  transform: scale(1.1);
}

.info-text {
  font-weight: 500;
  color: #334155;
  font-size: 1em;
}

.chat-container {
  width: 550px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
  overflow: hidden;
  max-height: 95vh;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
}

.header {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: white;
  padding: 25px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.header h2 {
  margin: 0 0 8px 0;
  font-size: 1.6em;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

.header p {
  margin: 0 0 10px 0;
  opacity: 0.9;
  font-size: 0.95em;
  position: relative;
  z-index: 1;
}

.model-status {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 8px 15px;
  font-size: 0.8em;
  margin-top: 10px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.model-status.loading {
  background: rgba(255, 193, 7, 0.3);
  border: 1px solid rgba(255, 193, 7, 0.5);
}

.model-status.ready {
  background: rgba(34, 197, 94, 0.3);
  border: 1px solid rgba(34, 197, 94, 0.5);
}

.model-status.error {
  background: rgba(239, 68, 68, 0.3);
  border: 1px solid rgba(239, 68, 68, 0.5);
}

/* Word belgesi linki için stil */
.doc-link {
  display: inline-block;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 15px;
  margin: 10px 0;
  background-color: #e0f2fe;
  border-radius: 8px;
  border: 1px solid #bae6fd;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.doc-link:hover {
  background-color: #bae6fd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.doc-link:before {
  content: '📄 ';
  margin-right: 5px;
}

#chat-log {
  flex: 1;
  padding: 25px;
  overflow-y: auto;
  background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
  min-height: 400px;
}

/* Mesaj görselleri için stil */
.message-image-container {
  position: relative;
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.message-image-container:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.message-image {
  display: block;
  max-width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
  image-rendering: -webkit-optimize-contrast; /* Webkit tarayıcılar için görüntü iyileştirme */
  image-rendering: crisp-edges; /* Firefox için görüntü iyileştirme */
  -ms-interpolation-mode: nearest-neighbor; /* IE için görüntü iyileştirme */
}

/* Görsel modalı için stil */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  transition: transform 0.3s ease;
}

/* Kategori Seçimi */
.category-selection h3 {
  color: #1e40af;
  margin: 0 0 25px 0;
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 2px solid #e5e7eb;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.category-btn {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 2px solid #e5e7eb;
  border-radius: 18px;
  padding: 25px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-btn:hover::before {
  transform: scaleX(1);
}

.category-btn:hover {
  background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
  border-color: #2563eb;
}

.category-btn:hover .category-title,
.category-btn:hover .category-name {
  color: #1e40af;
  transform: scale(1.02);
}

.category-btn:hover .category-desc {
  color: #334155;
}

.category-icon {
  font-size: 3em;
  margin-bottom: 15px;
  text-align: center;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.category-btn:hover .category-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
}

.category-title {
  font-weight: 700;
  font-size: 1.15em;
  margin-bottom: 12px;
  color: #0f172a;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.category-name {
  font-weight: 700;
  font-size: 1.15em;
  margin-bottom: 12px;
  color: #0f172a;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.category-desc {
  font-size: 0.9em;
  color: #475569;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 500;
}

.category-details {
  font-size: 0.75em;
  color: #94a3b8;
  line-height: 1.3;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  margin-top: auto;
}

.category-details ul {
  margin: 8px 0 0 0;
  padding-left: 16px;
}

.category-details li {
  margin: 4px 0;
}

/* Alt Kategori */
.subcategory-selection {
  animation: slideInRight 0.3s ease;
}

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

.back-button-container {
  margin-bottom: 20px;
}

.back-btn {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-btn:hover {
  background: linear-gradient(135deg, #4b5563, #374151);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(75, 85, 99, 0.4);
}

.back-btn span {
  font-size: 1.2em;
}

/* Eski Quick Buttons Stili - Alt kategoriler için */
.quick-btn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  margin: 12px 0;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  color: #334155;
  cursor: pointer;
  text-align: left;
  font-size: 0.95em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.quick-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  border-color: rgba(255,255,255,0.2);
}

.input-area {
  display: flex;
  background: #f1f5f9;
  border-top: 1px solid #e5e7eb;
  padding: 5px;
}

#user-input {
  flex: 1;
  padding: 18px;
  border: none;
  font-size: 0.95em;
  background: transparent;
  color: #334155;
  border-radius: 10px;
  margin: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#user-input:focus {
  outline: none;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

#user-input::placeholder {
  color: #64748b;
}

button {
  padding: 18px 25px;
  border: none;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9em;
  border-radius: 10px;
  margin: 5px;
}

button:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.4);
}

.message {
  margin: 15px 0;
  padding: 14px 20px;
  border-radius: 15px;
  max-width: 85%;
  word-wrap: break-word;
  animation: fadeInUp 0.3s ease;
}

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

.user-message {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  margin-left: auto;
  text-align: right;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.bot-message {
  background: rgba(255, 255, 255, 0.9);
  color: #1e293b;
  border-left: 4px solid #2563eb;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
}

.footer {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  padding: 15px;
  text-align: center;
  border-top: 1px solid #e5e7eb;
  font-size: 0.9em;
  color: #64748b;
}

.footer .highlight {
  color: #2563eb;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(37, 99, 235, 0.3);
}

.profile-link {
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.profile-link:hover {
  color: #1d4ed8 !important;
  transform: translateY(-1px);
  text-shadow: 0 2px 4px rgba(29, 78, 216, 0.4);
}

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

.hidden {
  display: none;
}

/* Quick buttons styling */
.quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
  padding: 0 20px;
}

.quick-buttons button {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.85em;
  color: #334155;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 2px;
}

.quick-buttons button:hover {
  background: #f1f5f9;
  border-color: #2563eb;
  color: #2563eb;
}

/* Scrollbar Styling */
#chat-log::-webkit-scrollbar {
  width: 8px;
}

#chat-log::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

#chat-log::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  border-radius: 4px;
}

#chat-log::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .main-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .image-panel {
    width: 100%;
    max-width: 600px;
    margin-bottom: 0;
    position: static;
  }
  
  .chat-container {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 15px;
    min-height: 100vh;
  }
  
  .main-container {
    gap: 15px;
  }
  
  .image-panel {
    width: 100%;
    max-width: none;
  }
  
  .panel-image {
    height: 220px;
  }
  
  .image-overlay h3 {
    font-size: 1.3em;
  }
  
  .chat-container {
    width: 100%;
    max-width: none;
    min-height: 500px;
  }
  
  .chat-header h1 {
    font-size: 1.6em;
  }
  
  .chat-header p {
    font-size: 0.9em;
  }
  
  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .category-btn {
    min-height: 130px;
    padding: 15px 12px;
    font-size: 0.85em;
  }
  
  .category-icon {
    font-size: 1.8em;
    margin-bottom: 8px;
  }
  
  #chat-log {
    height: 280px;
    padding: 15px;
  }
  
  .message {
    max-width: 90%;
    font-size: 0.9em;
    padding: 12px 16px;
  }
  
  #user-input {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 15px;
  }
  
  button {
    padding: 15px 20px;
    font-size: 0.9em;
    margin: 8px 4px;
    min-height: 48px; /* Touch target size */
  }
  
  /* Ensure feedback buttons are visible on mobile */
  .feedback-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 18px !important;
    padding: 10px !important;
    margin: 0 6px !important;
    border: 1px solid #e5e7eb !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  }
  
  .footer {
    font-size: 0.85em;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  
  .main-container {
    gap: 10px;
  }
  
  .panel-image {
    height: 180px;
  }
  
  .image-overlay {
    padding: 15px;
  }
  
  .image-overlay h3 {
    font-size: 1.2em;
  }
  
  .image-info {
    padding: 20px;
  }
  
  .info-item {
    padding: 12px 0;
  }
  
  .info-icon {
    font-size: 1.4em;
  }
  
  .chat-header h1 {
    font-size: 1.4em;
  }
  
  .chat-header p {
    font-size: 0.85em;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .category-btn {
    min-height: 120px;
  }
  
  /* Ensure feedback buttons are visible on small mobile devices */
  .feedback-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 48px !important;
    min-height: 48px !important;
    font-size: 20px !important;
    padding: 12px !important;
    margin: 0 8px !important;
    border: 2px solid #e5e7eb !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    touch-action: manipulation !important;
    padding: 15px 10px;
    font-size: 0.8em;
  }
  
  .category-icon {
    font-size: 1.6em;
    margin-bottom: 6px;
  }
  
  #chat-log {
    height: 250px;
    padding: 12px;
  }
  
  .message {
    max-width: 95%;
    font-size: 0.85em;
    padding: 10px 14px;
    margin: 10px 0;
  }
  
  #user-input {
    font-size: 16px;
    padding: 12px;
  }
  
  button {
    padding: 12px 16px;
    font-size: 0.85em;
    margin: 6px 2px;
    min-height: 44px;
  }
  
  .footer {
    font-size: 0.8em;
    padding: 10px;
  }
}

/* Feedback buttons styles */
.feedback-btn {
  border: none !important;
  background: transparent !important;
  font-size: 18px !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  margin: 0 4px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.feedback-btn:hover {
  transform: scale(1.1) !important;
}

.feedback-btn.positive:hover {
  background-color: #dcfce7 !important;
}

.feedback-btn.negative:hover {
  background-color: #fef2f2 !important;
}

/* Touch improvements for mobile */
@media (hover: none) and (pointer: coarse) {
  .category-btn:hover {
    transform: none;
  }
  
  .category-btn:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
  }
  
  button:hover {
    transform: none;
  }
  
  button:active {
    transform: scale(0.98);
  }
  
  .info-item:hover {
    background: none;
  }
  
  .info-item:active {
    background: rgba(37, 99, 235, 0.1);
  }
  
  /* Feedback buttons for mobile */
  .feedback-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 20px !important;
    padding: 10px !important;
  }
  
  .feedback-btn:hover {
    transform: none !important;
  }
  
  .feedback-btn:active {
    transform: scale(0.95) !important;
    background-color: #f3f4f6 !important;
  }
  
  .feedback-btn.positive:active {
    background-color: #dcfce7 !important;
  }
  
  .feedback-btn.negative:active {
    background-color: #fef2f2 !important;
  }
}

/* Admin Panel Styles */
.admin-btn {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8em;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.admin-btn:hover {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  transform: translateY(-2px);
}

.admin-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.admin-content {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-header {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  padding: 20px;
  border-radius: 15px 15px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header h3 {
  margin: 0;
  font-size: 1.2em;
}

.close-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.admin-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.85em;
  color: #64748b;
}

#admin-status-text {
  font-weight: 500;
}

#admin-last-update {
  font-size: 0.8em;
  color: #94a3b8;
}

.admin-tabs {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
  flex: 1;
  padding: 15px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.tab-btn.active {
  background: white;
  border-bottom-color: #3b82f6;
  color: #1e40af;
  font-weight: 600;
}

.tab-btn:hover:not(.active) {
  background: #e2e8f0;
}

.tab-content {
  display: none;
  padding: 20px;
}

.tab-content.active {
  display: block;
}

.tab-content h4 {
  margin: 0 0 15px 0;
  color: #1e40af;
  font-size: 1.1em;
}

.feedback-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px;
  margin: 10px 0;
  transition: all 0.3s ease;
}

.feedback-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feedback-item.negative {
  border-left: 4px solid #ef4444;
}

.feedback-item.positive {
  border-left: 4px solid #22c55e;
}

.feedback-item.new-question {
  border-left: 4px solid #f59e0b;
}

.feedback-question {
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 8px;
}

.feedback-answer {
  color: #64748b;
  margin-bottom: 8px;
  font-size: 0.9em;
}

.feedback-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8em;
  color: #94a3b8;
}

.feedback-count {
  background: #ef4444;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7em;
}

.feedback-count.positive {
  background: #22c55e;
}

.admin-actions {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.export-btn, .clear-btn, .refresh-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.export-btn {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
}

.export-btn:hover {
  background: linear-gradient(135deg, #047857, #059669);
}

.clear-btn {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
}

.clear-btn:hover {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
}

.refresh-btn {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
}

.refresh-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* Mobile responsive for admin panel */
@media (max-width: 768px) {
  .admin-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .admin-tabs {
    flex-direction: column;
  }
  
  .tab-btn {
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  
  .tab-btn.active {
    border-left-color: #3b82f6;
    border-bottom-color: transparent;
  }
  
  .admin-actions {
    flex-direction: column;
  }
  
  .export-btn, .clear-btn, .refresh-btn {
    width: 100%;
  }
}

/* Toast animasyonları */
@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Öneriler sekmesi stilleri */
.suggestion-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.suggestion-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.suggestion-id {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.suggestion-date {
    color: #64748b;
    font-size: 12px;
}

.suggestion-content {
    margin-bottom: 10px;
}

.suggestion-content p {
    margin: 0;
    color: #334155;
    line-height: 1.5;
}

.suggestion-actions {
    display: flex;
    justify-content: flex-end;
}

.delete-suggestion-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-suggestion-btn:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.no-data {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 2px dashed #cbd5e1;
}

/* ===== ÖNERİ KUTUSU STİLLERİ ===== */

/* Floating Button */
.suggestion-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
  user-select: none;
}

.suggestion-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.suggestion-float-btn:active {
  transform: scale(0.95);
}

/* Modal */
.suggestion-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  backdrop-filter: blur(4px);
}

.suggestion-content {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.suggestion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.suggestion-header h3 {
  margin: 0;
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 600;
}

.suggestion-body {
  padding: 24px;
}

.suggestion-body p {
  margin: 0 0 16px 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

#suggestion-text {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

#suggestion-text:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#suggestion-text::placeholder {
  color: #9ca3af;
}

.suggestion-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}

#send-suggestion-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

#send-suggestion-btn:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

#send-suggestion-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cancel-btn {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-btn:hover {
  background: #e5e7eb;
  color: #374151;
}

/* Bildirim Toast */
.notification-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
  z-index: 1002;
  animation: toastSlideIn 0.3s ease-out;
  max-width: 300px;
  font-weight: 500;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .suggestion-float-btn {
    bottom: 80px;
    right: 16px;
    width: 56px;
    height: 56px;
    font-size: 22px;
  }
  
  .suggestion-content {
    width: 95%;
    margin: 20px;
    border-radius: 12px;
  }
  
  .suggestion-header {
    padding: 16px 20px 12px;
  }
  
  .suggestion-header h3 {
    font-size: 1.1rem;
  }
  
  .suggestion-body {
    padding: 20px;
  }
  
  #suggestion-text {
    font-size: 16px; /* iOS zoom önleme */
    min-height: 80px;
  }
  
  .suggestion-actions {
    flex-direction: column-reverse;
  }
  
  #send-suggestion-btn,
  .cancel-btn {
    width: 100%;
    justify-content: center;
  }
  
  .notification-toast {
    top: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
    text-align: center;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .suggestion-float-btn {
    bottom: 24px;
    right: 24px;
  }
  
  .suggestion-content {
    width: 80%;
    max-width: 450px;
  }
}