﻿/* Reklam Resmi Butonları */
.btn-warning {
  background: #fbbf24;
  color: #92400e;
}
.btn-warning:hover {
  background: #f59e0b;
  color: #fff;
}
.btn-info {
  background: #38bdf8;
  color: #0e7490;
}
.btn-info:hover {
  background: #0ea5e9;
  color: #fff;
}
/* Test - CSS dosyası yükleniyor - 2025-11-06 */
/* ==== GLOBAL STİLLER ==== */
body {
  font-family: Arial, sans-serif;
  background: #f4f4f4 url("assets/Emlak-Siluet.webp") center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Yarı saydam blur efekti kutular */
.container {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: 24px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin-bottom: 20px;
  max-height: 80vh;
  overflow-y: auto;
  transition: all 0.3s ease;
}

h2, h3, h4 {
  color: #000080;
  margin-bottom: 10px;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 15px;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
  transition: 0.2s;
}

button:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.action-button {
  background-color: #40E0D0; /* Turkuvaz */
  color: #000080;
  border: none;
  padding: 15px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-button:hover {
  background-color: #00CED1; /* Daha koyu turkuvaz */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.back-button, .logout-button {
  background-color: #d9534f;
  color: white;
}

.profile-button {
  background-color: #5bc0de;
  color: white;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.dashboard-section {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dashboard-section h3 {
  margin: 0 0 15px 0;
  color: #000080;
  font-size: 18px;
  font-weight: bold;
}

.dashboard-grid.single-row {
  grid-template-columns: 1fr;
  max-width: 300px;
  margin: 15px auto 0 auto;
}

/* Button variations */
.add-button {
  background-color: #ff9933 !important; /* Eski turuncu */
  color: #000080 !important;
  border: 2px solid #ff7700 !important;
  font-weight: bold !important;
  padding: 15px 20px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.add-button:hover {
  background-color: #ff7700 !important; /* Daha koyu turuncu */
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.list-button {
  background-color: #48CAE4 !important; /* Açık turkuvaz */
  color: #000080 !important;
  border: 2px solid #00B4D8 !important;
  font-weight: bold !important;
  padding: 15px 20px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.list-button:hover {
  background-color: #00B4D8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.special-button {
  background-color: #0077B6 !important; /* Koyu turkuvaz */
  color: white !important;
  border: 2px solid #023E8A !important;
  font-weight: bold !important;
  padding: 15px 20px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.special-button:hover {
  background-color: #023E8A !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.dashboard-grid button {
  height: 80px;
  font-size: 16px;
}

/* Header */
.header {
  width: 100%;
  max-width: 800px;
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.header-buttons {
  display: flex;
  gap: 10px;
}

ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

li {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

li h4 {
  margin: 0 0 5px 0;
  color: #333;
}

li p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.toggle-form {
  margin-top: 15px;
  font-size: 14px;
  color: #337ab7;
  cursor: pointer;
  text-decoration: underline;
}

.help-section {
  margin-top: 30px;
}

.help-button {
  background-color: #337ab7;
  color: white;
}

#customer-list li {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#customer-list li:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Liste Görünümü Geliştirmeleri --- */
#customer-list li, 
#property-list li, 
#appointment-list li, 
#task-list li {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#customer-list li:hover, 
#property-list li:hover, 
#appointment-list li:hover, 
#task-list li:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Customer Header ve Segment Badge --- */
.customer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.customer-header h4 {
  margin: 0;
  flex: 1;
}

.segment-badge {
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 15px;
  color: #000;
  background-color: #e0e0e0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  white-space: nowrap;
  margin-left: 10px;
}
.segment-Ap { background-color: #ffd700; } /* A+ */
.segment-A  { background-color: #ffcc80; }
.segment-B  { background-color: #b3e5fc; }
.segment-C  { background-color: #e0e0e0; }

#snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 12px;
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 15px;
}

#snackbar.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein { from { bottom: 0; opacity: 0; } to { bottom: 30px; opacity: 1; } }
@keyframes fadeout { from { bottom: 30px; opacity: 1; } to { bottom: 0; opacity: 0; } }

#add-appointment-screen form input,
#add-appointment-screen form textarea {
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

#add-task-screen form input,
#add-task-screen form select {
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* 🔔 Snackbar Bildirimleri */
#snackbar {
  visibility: hidden;
  min-width: 260px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 12px 20px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.4s ease, bottom 0.4s ease;
}

#snackbar.show {
  visibility: visible;
  opacity: 1;
  bottom: 60px;
}

/* ==== CRM MODULE STYLES ==== */
.crm-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.crm-filters .filter-group { display:flex; flex-direction:column; min-width:140px; }
.crm-filters label { font-size:13px; color:#333; margin-bottom:6px; }
.crm-list table { width:100%; border-collapse:collapse; }
.crm-list thead th { text-align:left; padding:8px; background:#f8f9fb; color:#333; border-bottom:1px solid #e6e9ef; }
.crm-list tbody td { padding:10px; border-bottom:1px solid #f0f2f6; vertical-align:middle; }
.crm-list tbody tr:hover { background-color: rgba(0, 116, 183, 0.12); transition: background-color 0.2s ease; }
.crm-performance { margin-top:18px; }

/* Ensure segment badge contrast and positioning in table rows */
.segment-badge { position: relative; display:inline-block; padding:4px 8px; border-radius:12px; font-size:12px; font-weight:700; color:#000; }
.segment-Ap { background-color: #ffd700; }
.segment-A  { background-color: #ffcc80; }
.segment-B  { background-color: #b3e5fc; }
.segment-C  { background-color: #e0e0e0; }

/* Autocomplete suggestions for appointment customer search */
.suggestions { position: relative; z-index: 2000; }
.suggestions ul { margin: 0; padding: 0; }
.suggestion-item { padding: 8px 10px; cursor: pointer; }
.suggestion-item:hover { background: #f5f8ff; }
.suggestion-item.highlight { background: #e8f0ff; }
/* Kanban visuals */
.kanban-board { align-items: flex-start; }
.kanban-column { transition: box-shadow 0.18s ease, transform 0.12s ease; }
.kanban-column.drag-over { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-4px); }
.kanban-list { min-height: 120px; }
.kanban-card { cursor: grab; user-select: none; }
.kanban-card.dragging { opacity: 0.6; transform: scale(0.99); }
.kantml:card:active { cursor: grabbing; }
.placeholder { color: #888; padding: 18px; text-align: center; }

/* ==== RESPONSIVE DESIGN ==== */

/* Tablet ve küçük laptop (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  body {
    padding: 16px;
    height: auto;
    min-height: 100vh;
  }
  
  .container {
    max-width: 100%;
    padding: 20px 24px;
    max-height: none;
    margin-bottom: 16px;
  }
  
  .header {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    text-align: center;
  }
  
  .header > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .dashboard-grid button {
    height: 70px;
    font-size: 14px;
  }
  
  /* CRM filters responsive */
  .crm-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .crm-filters .filter-group {
    min-width: 100%;
  }
  
  /* Customer filters responsive */
  .customer-filters {
    flex-direction: column !important;
  }
  
  .customer-filters > div {
    flex: 1 1 100% !important;
    min-width: 100% !important;
  }
  
  /* Tables responsive */
  .crm-list table,
  #crm-detail-appointments-table,
  #crm-detail-tasks-table {
    font-size: 13px;
  }
  
  .crm-list thead th,
  .crm-list tbody td {
    padding: 6px;
  }
}

#app-version-pill {
  position: fixed;
  bottom: 14px;
  right: 14px;
  background: rgba(33, 33, 33, 0.9);
  color: #f4c542;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  pointer-events: none;
}

@media (max-width: 640px) {
  #app-version-pill {
    font-size: 0.7rem;
    padding: 3px 10px;
    bottom: 10px;
    right: 10px;
  }
}

/* Mobile landscape ve küçük tablet (max-width: 768px) */
@media screen and (max-width: 768px) {
  body {
    padding: 12px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .container {
    padding: 16px 18px;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  
  h2 {
    font-size: 20px;
  }
  
  h3 {
    font-size: 18px;
  }
  
  input, select, textarea {
    padding: 8px;
    font-size: 14px;
  }
  
  button {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .dashboard-grid button {
    height: 60px;
    font-size: 15px;
  }
  
  /* Header mobile */
  .header {
    padding: 10px;
  }
  
  .header h2 {
    font-size: 16px;
  }
  
  .header button {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  /* Lists mobile */
  .customer-list li,
  .property-list li,
  .appointment-list li,
  .task-list li {
    flex-direction: column;
    gap: 12px;
  }
  
  .customer-info,
  .property-info,
  .appointment-info,
  .task-info {
    text-align: left;
    width: 100%;
  }
  
  .list-actions {
    width: 100%;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .list-actions button {
    flex: 1;
    min-width: 120px;
  }
  
  /* CRM table mobile - stack columns */
  .crm-list table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 12px;
  }
  
  /* Kanban mobile */
  .kanban-board {
    flex-direction: column;
  }
  
  .kanban-column {
    width: 100%;
    margin-bottom: 16px;
  }
  
  /* Forms mobile */
  .crm-filters,
  .customer-filters,
  .appointments-filters {
    gap: 10px;
  }
  
  /* Performance charts mobile */
  .crm-performance > div {
    flex-direction: column !important;
  }
  
  .crm-performance canvas {
    max-width: 100%;
    height: auto !important;
  }
}

/* Small mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
  body {
    padding: 8px;
  }
  
  .container {
    padding: 12px 14px;
    border-radius: 6px;
  }
  
  h2 {
    font-size: 18px;
  }
  
  h3 {
    font-size: 16px;
  }
  
  h4 {
    font-size: 15px;
  }
  
  input, select, textarea {
    padding: 6px;
    font-size: 13px;
    margin: 8px 0;
  }
  
  button {
    padding: 7px 14px;
    font-size: 13px;
  }
  
  .dashboard-grid button {
    height: 55px;
    font-size: 14px;
  }
  
  /* Header extra small */
  .header {
    padding: 8px;
  }
  
  .header button {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  /* Bilgilendirme butonları mobile */
  .customer-filters button,
  #apply-customer-filters,
  #clear-customer-filters {
    width: 100%;
  }
  
  /* Table scroll horizontal on very small screens */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Snackbar mobile */
  #snackbar {
    min-width: 200px;
    max-width: 90%;
    font-size: 13px;
    padding: 10px 16px;
  }
  
  /* Segment badge smaller */
  .segment-badge {
    padding: 3px 6px;
    font-size: 11px;
  }
}

/* Landscape orientation fixes */
@media screen and (max-height: 600px) and (orientation: landscape) {
  body {
    height: auto;
    min-height: 100vh;
  }
  
  .container {
    max-height: none;
  }
}

/* ==== YARDIM YÖNERGELERİ STİLLERİ ==== */
.help-guide-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 116, 183, 0.15);
  border-color: #0074b7 !important;
}

.help-guide-item:active {
  transform: translateY(0);
}

/* Yönerge detay içeriği için responsive tablo */
#guide-detail-content table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  #guide-detail-content table {
    font-size: 14px;
  }
  
  .help-guides-list {
    gap: 10px !important;
  }
  
  .help-guide-item {
    padding: 12px !important;
  }
}

/* İlan Oluşturucu Stilleri */
.ilan-olustur-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.ilan-olustur-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.ilan-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.ilan-preview-modal .modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.ilan-preview-modal .modal-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    color: white;
}

.ilan-preview-modal .modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.ilan-preview-modal .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.ilan-preview-modal .close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ilan-preview-modal .modal-body {
    padding: 20px;
    text-align: center;
}

.ilan-preview-modal #preview-canvas {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.ilan-preview-modal .modal-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #f7fafc;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Emlak Resim Yönetimi Stilleri */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.image-preview {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.image-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.image-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.image-info {
    padding: 12px;
    background: #f8fafc;
}

.image-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-size {
    font-size: 12px;
    color: #718096;
}

.image-actions {
    padding: 12px;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    background: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #c53030;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.no-images {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-style: italic;
    background: #f7fafc;
    border-radius: 8px;
    margin: 20px 0;
}

/* Resim Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-modal .modal-content {
    background: white;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.image-modal .modal-header {
    padding: 16px 20px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-modal .modal-body {
    padding: 20px;
    text-align: center;
}

.image-modal .modal-footer {
    padding: 16px 20px;
    background: #f8fafc;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* File Input Styling */
#property-images {
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f7fafc;
}

#property-images:hover {
    border-color: var(--primary);
    background: #edf2f7;
}

#property-images:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* Upload Progress */
.upload-progress {
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
    margin-top: 8px;
}

/* Resim Seçim Modalı */
.image-selection-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    animation: fadeIn 0.3s ease;
}

.image-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.image-selection-item {
    position: relative;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-selection-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.image-selection-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.image-selection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: rgba(0, 116, 183, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-selection-item:hover .image-selection-overlay {
    opacity: 1;
}

.select-text {
    color: white;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
}

.image-selection-info {
    padding: 12px;
    background: #f8fafc;
    font-size: 14px;
    color: #2d3748;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .image-preview img {
        height: 120px;
    }
    
    .image-actions {
        flex-direction: column;
    }
    
    .image-selection-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .image-selection-item img {
        height: 120px;
    }
}

/* ==== GENİŞLETİLMİŞ FORM STİLLERİ ==== */
.form-section {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    background: rgba(248, 250, 252, 0.8);
    text-align: left;
}

.form-section legend {
    font-weight: bold;
    color: #2d3748;
    padding: 0 10px;
    font-size: 16px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #4a5568;
    margin: 5px 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0 8px 0 0;
    transform: scale(1.2);
}

.form-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-row input {
    flex: 1;
}

.secondary-button {
    background: #e2e8f0;
    color: #4a5568;
    border: 1px solid #cbd5e0;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.secondary-button:hover {
    background: #cbd5e0;
    color: #2d3748;
}

/* 🤖 AI Buton Stilleri */
.ai-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.ai-button:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.ai-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
}

.ai-description-container {
    text-align: left;
    margin: 12px 0;
}

/* AI Loading animasyonu */
@keyframes aiPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#ai-description-loading {
    animation: aiPulse 1.5s infinite;
}

/* Notification animasyonu */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobil uyumluluk için form stilleri */
@media (max-width: 768px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-section {
        padding: 10px;
    }
    
    .ai-button {
        width: 100%;
        justify-content: center;
    }
}

/* ==== 🏠 FSBO TRACKER STYLES ==== */

.fsbo-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.fsbo-button:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea084 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.fsbo-widget-preview {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e8f5e8;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.1);
}

.fsbo-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.fsbo-widget-header h3 {
    margin: 0;
    color: #28a745;
    font-size: 18px;
}

.fsbo-stats-mini {
    display: flex;
    gap: 16px;
}

.fsbo-stat {
    text-align: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    min-width: 60px;
}

.fsbo-stat-number {
    font-size: 20px;
    font-weight: bold;
    color: #28a745;
    line-height: 1;
}

.fsbo-stat-label {
    font-size: 11px;
    color: #6c757d;
    margin-top: 4px;
}

.fsbo-stats-detailed {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
}

.fsbo-stats-detailed .fsbo-stat {
    padding: 16px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fsbo-stats-detailed .fsbo-stat-number {
    font-size: 28px;
}

.fsbo-main-container {
    max-width: 1200px;
    margin: 0 auto;
}

.fsbo-controls {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
}

.fsbo-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.fsbo-filters select,
.fsbo-filters input {
    flex: 1;
    min-width: 150px;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
}

.fsbo-filters select:focus,
.fsbo-filters input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.fsbo-filters select:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
}

.fsbo-listings-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.fsbo-listing-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.fsbo-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #28a745;
}

.fsbo-listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.fsbo-score-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.fsbo-score-badge.score-high {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.fsbo-score-badge.score-medium {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.fsbo-score-badge.score-low {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.fsbo-listing-date {
    font-size: 12px;
    color: #6c757d;
}

.fsbo-listing-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.4;
}

.fsbo-listing-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fsbo-listing-title a:hover {
    color: #28a745;
}

.fsbo-listing-details {
    margin: 16px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.fsbo-price {
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 8px;
}

.fsbo-location {
    font-size: 14px;
    color: #6c757d;
}

.fsbo-listing-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.fsbo-contact-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s ease;
    flex: 1;
}

.fsbo-contact-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004494);
    transform: translateY(-1px);
}

.fsbo-track-btn {
    background: linear-gradient(135deg, #6c757d, #495057);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s ease;
    flex: 1;
}

.fsbo-track-btn:hover {
    background: linear-gradient(135deg, #495057, #343a40);
    transform: translateY(-1px);
}

.fsbo-loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.fsbo-loading .spinner {
    border: 3px solid #e9ecef;
    border-top: 3px solid #28a745;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fsbo-error {
    background: #f8d7da;
    color: #721c24;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin: 16px 0;
    text-align: center;
}

.fsbo-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.fsbo-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.fsbo-empty-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.fsbo-empty-subtitle {
    font-size: 14px;
}

.fsbo-widget-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fsbo-filters {
        flex-direction: column;
    }
    
    .fsbo-filters select,
    .fsbo-filters input {
        min-width: 100%;
    }
    
    .fsbo-stats-detailed {
        flex-direction: column;
        gap: 12px;
    }
    
    .fsbo-listings-container {
        grid-template-columns: 1fr;
    }
    
    .fsbo-widget-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .fsbo-stats-mini {
        justify-content: center;
    }
}

/* ================================
   🏠 FSBO TRACKER STYLES
   ================================ */

/* FSBO Button */
.fsbo-button {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important;
    border: none;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fsbo-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.fsbo-button:hover::before {
    left: 100%;
}

.fsbo-button:hover {
    background: linear-gradient(135deg, #ee5a52, #dc3545) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 82, 0.3);
}

/* FSBO Widget Preview (Dashboard) */
.fsbo-widget-preview {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.fsbo-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.fsbo-widget-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.fsbo-stats-mini {
    display: flex;
    gap: 16px;
}

.fsbo-widget-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* FSBO Main Screen */
.fsbo-main-container {
    max-width: 1200px;
    margin: 0 auto;
}

.fsbo-controls {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.fsbo-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

.fsbo-filters select {
    min-width: 200px;
}

/* FSBO Stats */
.fsbo-stats-detailed {
    display: flex;
    gap: 24px;
}

.fsbo-stat {
    text-align: center;
    background: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 80px;
}

.fsbo-stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b6b;
    line-height: 1;
}

.fsbo-stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FSBO Listings Container */
.fsbo-listings-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* FSBO Listing Cards */
.fsbo-listing-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b6b;
}

.fsbo-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.fsbo-listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.fsbo-score-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.fsbo-score-badge.score-high {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.fsbo-score-badge.score-medium {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.fsbo-score-badge.score-low {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.fsbo-listing-date {
    font-size: 12px;
    color: #666;
}

.fsbo-listing-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.4;
}

.fsbo-listing-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fsbo-listing-title a:hover {
    color: #ff6b6b;
}

.fsbo-listing-details {
    margin-bottom: 16px;
}

.fsbo-price {
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 4px;
}

.fsbo-location {
    color: #666;
    font-size: 14px;
}

.fsbo-listing-actions {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.fsbo-contact-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    flex: 1;
}

.fsbo-track-btn {
    background: linear-gradient(135deg, #6c757d, #495057);
    border: none;
    flex: 1;
}

/* FSBO Loading States */
.fsbo-loading {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.fsbo-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.fsbo-loading .loading-text {
    color: #666;
    font-size: 14px;
}

.fsbo-error {
    background: #f8d7da;
    color: #721c24;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin: 16px 0;
    text-align: center;
}

/* FSBO Empty State */
.fsbo-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.fsbo-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.fsbo-empty-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.fsbo-empty-subtitle {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Design for FSBO */
@media (max-width: 768px) {
    .fsbo-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .fsbo-filters {
        flex-direction: column;
        gap: 8px;
    }
    
    .fsbo-filters select {
        min-width: 100%;
    }
    
    .fsbo-stats-detailed {
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .fsbo-listings-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .fsbo-listing-actions {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==== FSBO İl/İlçe Filtreleri ==== */
.fsbo-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.fsbo-filters select,
.fsbo-filters input {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.fsbo-filters select:focus,
.fsbo-filters input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.fsbo-filters select:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Konum indikatorları */
.fsbo-location-badge {
    display: inline-block;
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 5px;
}

.fsbo-city-badge {
    background: linear-gradient(135deg, #6f42c1, #8b5cf6);
}

.fsbo-district-badge {
    background: linear-gradient(135deg, #fd7e14, #ffc107);
}

/* Responsive il/ilçe filtreleri */
@media (max-width: 768px) {
    .fsbo-filters {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .fsbo-filters {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .fsbo-filters select,
    .fsbo-filters input {
        padding: 10px;
        font-size: 16px; /* iOS zoom engellemek için */
    }
}

/* Animasyonlar */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Admin Panel Grafik Stilleri */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.admin-card {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.admin-card h3, .admin-card h4 {
  color: #000080;
  margin-bottom: var(--space-md);
  font-size: 1.1em;
}

.admin-card h4 {
  font-size: 1em;
  margin-bottom: var(--space-sm);
}

.admin-card canvas {
  max-width: 100%;
  height: auto !important;
  margin-top: var(--space-sm);
}

/* Responsive grafik grid */
@media (max-width: 1200px) {
  .admin-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .admin-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .admin-card canvas {
    height: 120px !important;
  }
}

@media (max-width: 480px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-card {
    padding: var(--space-md);
  }
  
  .admin-card canvas {
    height: 100px !important;
  }
}

/* Müşteri Arama Suggestions */
.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

.suggestion-item {
  padding: 8px 12px !important;
  border-bottom: 1px solid #eee !important;
  cursor: pointer !important;
  background: white !important;
  transition: background 0.2s !important;
}

.suggestion-item:hover {
  background: #f5f5f5 !important;
}

.suggestion-item:last-child {
  border-bottom: none;
}

/* Header responsive düzenleme - küçük ekranlarda logo sola yaslanır */
@media (max-width: 768px) {
  .header {
    flex-direction: column !important;
    gap: 10px;
    align-items: flex-start !important;
  }
  
  .header > div:nth-child(2) {
    position: static !important;
    transform: none !important;
    order: -1;
  }
  
  .header > div:last-child {
    align-self: flex-end;
  }
}

.contract-approvals {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid #d4af37;
  border-radius: 18px;
  background: #ffd268;
  color: #f6d365;
  text-align: left;
  width: 100%;
}

.contract-title {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.contract-item {
  display: block;
  font-size: 0.85rem;
  line-height: 1.4;
  width: 100%;
  text-align: left;
}

.contract-item input {
  margin-right: 8px;
  vertical-align: middle;
}


.contract-item span {
  display: inline;
  vertical-align: middle;
}


.contract-item a {
  color: #4ecdc4;
  text-decoration: underline;
}

.ilan-onizleme-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.ilan-onizleme-modal .modal-icerik {
  background: #ffffff;
  width: min(92vw, 620px);
  max-height: 92vh;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.ilan-onizleme-modal .modal-baslik {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ilan-onizleme-modal .modal-baslik h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #1a1f2b;
}

.ilan-onizleme-modal .modal-govde {
  flex: 1;
  padding: 16px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fb;
}

.ilan-onizleme-modal #svg-onizleme-alani {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ilan-onizleme-modal #svg-onizleme-alani svg {
  max-width: 100%;
  height: auto;
}

.ilan-onizleme-modal .modal-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ilan-onizleme-modal .kapat-btn {
  border: none;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  color: #4a5568;
}

.ilan-onizleme-modal .kapat-btn:hover {
  color: #e53e3e;
}

@media (max-width: 640px) {
  .ilan-onizleme-modal {
    padding: 12px;
  }
  .ilan-onizleme-modal .modal-icerik {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
}
