/* ========== Temel değişkenler ========== */
:root{
  --veh-primary: #c62828;         /* buton rengi */
  --veh-primary-hover: #de4b4b;   /* hover rengi */
  --veh-border: #c62828;
  --veh-muted: #f7f8fa;
  --veh-radius: 12px;
  --veh-font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.seoveh-sr{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ========== Filtre paneli ========== */
.seoveh-filters{ 
  font-family: var(--veh-font); 
  background: #f5f5f5; /* Light grey background */
  padding: 20px;
  border-radius: 12px;
}

.seoveh-filter-wrapper{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seoveh-filter-section{
  background: #ffffff; /* White card background */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.seoveh-filter-section-title{
  font-size: 16px;
  font-weight: 600;
  color: #333333; /* Dark grey text */
  margin: 0 0 16px 0;
  padding: 0;
}

.seoveh-filter-options{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seoveh-filter-option{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  user-select: none;
}

.seoveh-filter-option input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #c62828;
  flex-shrink: 0;
}

.seoveh-filter-option span{
  color: #333333;
  font-size: 14px;
  line-height: 1.4;
}

.seoveh-filter-option:hover{
  opacity: 0.8;
}

/* Filter field (dropdowns and inputs) */
.seoveh-filter-field{
  margin-bottom: 0;
}

.seoveh-filter-field label{
  display: block;
  font-size: 12px;
  color: #555;
  margin-bottom: 6px;
}

.seoveh-filter-field input[type="text"],
.seoveh-filter-field input[type="number"],
.seoveh-filter-field input[type="date"],
.seoveh-filter-field select{
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  font-size: 14px;
  outline: none;
  color: #333;
}

.seoveh-filter-field input:focus,
.seoveh-filter-field select:focus{
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.seoveh-filter-field select:disabled{
  background: #f2f3f5;
  color: #8a8f98;
  cursor: not-allowed;
}

/* Grid for min/max inputs */
.seoveh-filter-grid2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Range input (price) */
.seoveh-range{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.seoveh-range span{
  color: #777;
  padding: 0 4px;
}

/* Action buttons */
.seoveh-filter-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.seoveh-btn{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #c62828;
  background: #c62828;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.seoveh-btn-primary{
  background: #c62828;
  border-color: #c62828;
  color: #fff;
}

.seoveh-btn-secondary{
  background: #fff;
  border-color: #c62828;
  color: #c62828;
}

.seoveh-btn:hover,
.seoveh-btn:focus{
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.seoveh-btn:active{
  transform: translateY(0);
}

/* Legacy support for old filter fields */
.seoveh-filter-card{
  background:#fff; border:0px solid var(--veh-border); border-radius:16px;
  padding:16px; box-shadow:0 2px 6px rgba(0,0,0,.04);
}
.seoveh-field{ margin-bottom:12px; }
.seoveh-field label{ display:block; font-size:12px; color:#555; margin-bottom:6px; }
.seoveh-field input[type="text"],
.seoveh-field input[type="number"],
.seoveh-field input[type="date"],
.seoveh-field select{
  width:100%; border:1px solid var(--veh-border); border-radius:10px; padding:10px 12px; background:#fff;
  font-size:14px; outline:none;
}
.seoveh-field input:focus,
.seoveh-field select:focus{ border-color: var(--veh-primary); box-shadow:0 0 0 3px rgba(254,124,59,.15); }

/* Devre dışı select */
.seoveh-field select:disabled{
  background: #f2f3f5;
  color:#8a8f98;
  cursor:not-allowed;
}

/* Aralık alanı (fiyat) */
.seoveh-range{ display:grid; grid-template-columns: 1fr auto 1fr; gap:8px; align-items:center; }
.seoveh-range span{ color:#777 }

/* 2 kolon gridler */
.seoveh-grid2{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }

/* ========== Caractéristiques (checkbox listesi) ========== */
.seoveh-checkboxes{
  background: var(--veh-muted); border:1px solid var(--veh-border);
  border-radius:10px; padding:10px; max-height:180px; overflow:auto;
}
.seoveh-checkboxes label{
  display:flex; align-items:center; gap:10px; margin:8px 6px;
  font-size:14px; color:#111;
}
.seoveh-checkboxes input[type="checkbox"]{
  width:18px; height:18px; /* daha büyük kutucuk */
  transform:scale(1.05);
  accent-color: var(--veh-primary); /* modern tarayıcılar */
}
.seoveh-checkboxes::-webkit-scrollbar{ width:8px; }
.seoveh-checkboxes::-webkit-scrollbar-thumb{ background:#d7d7dc; border-radius:6px; }

/* ========== Aksiyon butonları ========== */
.seoveh-actions{
  display:grid; grid-template-columns: 1fr 1fr; gap:12px;
  margin-top: 8px;
}
.seoveh-btn{
  width:100%; padding:12px 14px; border-radius:12px;
  border:1px solid var(--veh-primary);
  background: #c62828; color:#fff; font-weight:700; font-size:15px;
  cursor:pointer; transition:all .2s ease;
  display:inline-flex; align-items:center; justify-content:center;
}
.seoveh-btn:hover,
.seoveh-btn:focus{ background: var(--veh-primary-hover); border-color: var(--veh-primary-hover); color:#fff; }
.seoveh-btn:active{ transform: translateY(1px); }

/* ========== Grid / sort üst alan (varsa) ========== */
.seoveh-sort{ display:flex; justify-content:flex-end; align-items:center; gap:8px; margin-bottom:12px; }
.seoveh-sort-select{
  border:1px solid var(--veh-border); border-radius:10px; padding:8px 12px; background:#fff;
}

/* ========== Kart grid (varsa) ========== */
.seoveh-grid{ display:grid; gap:20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* Küçük ekran uyumu */
@media (max-width: 768px){
  .seoveh-grid2{ grid-template-columns: 1fr; }
  .seoveh-actions{ grid-template-columns: 1fr; } /* iki buton alt alta */
  .seoveh-filter-grid2{ grid-template-columns: 1fr; }
  .seoveh-filter-actions{ grid-template-columns: 1fr; }
  .seoveh-filters{ padding: 12px; }
  .seoveh-filter-section{ padding: 16px; }
}
