/* Tables */
.tbl-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse}
thead tr{background:var(--thead-bg)}
th{padding:10px 14px;text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.06em;color:var(--text4);border-bottom:1px solid var(--border2)}
td{padding:10px 14px;font-size:13px;border-bottom:1px solid var(--row-border);color:var(--text2);vertical-align:middle}
tbody tr:hover td{background:var(--row-hover)}
tbody tr {
  transition: background 0.15s;
  animation: fadeIn 0.3s ease both;
}
tbody tr:nth-child(1)  { animation-delay:0.05s; }
tbody tr:nth-child(2)  { animation-delay:0.08s; }
tbody tr:nth-child(3)  { animation-delay:0.11s; }
tbody tr:nth-child(4)  { animation-delay:0.14s; }
tbody tr:nth-child(5)  { animation-delay:0.17s; }
tbody tr:nth-child(6)  { animation-delay:0.20s; }
tbody tr:nth-child(7)  { animation-delay:0.23s; }
tbody tr:nth-child(8)  { animation-delay:0.26s; }
tbody tr:nth-child(9)  { animation-delay:0.29s; }
tbody tr:nth-child(10) { animation-delay:0.32s; }
.marka{font-weight:600;color:var(--marka-color);font-size:12px}
.price{font-weight:700;color:var(--price-color);text-align:right}
.tarih-c{color:var(--tarih-color);font-size:12px}
.arasinda-c{color:var(--arasinda-color);font-size:11px;font-style:italic}
.ai-result-col-image{width:80px}
.ai-result-col-brand{width:130px}
.ai-result-col-price{width:110px;text-align:right}
.sheets-service-icon{width:14px;height:14px}

.inp-row{background:var(--card-bg);border-top:1px solid var(--border)}
.inp-row td{padding:6px 6px}
.inp-row input{background:var(--input-bg);border:1px solid var(--input-border);border-radius:6px;padding:7px 10px;font-size:12px;width:100%;color:var(--text);font-family:inherit;outline:none}
.inp-row input:focus{border-color:rgba(99,102,241,0.5)}
.inp-row input::placeholder{color:#1e293b}

@media(max-width:768px) {
  .tbl-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .tbl-wrap table { min-width:600px; }
}

@media(max-width:640px) {
  .tbl-wrap { overflow-x:unset !important; }
  .tbl-wrap table,
  .tbl-wrap thead,
  .tbl-wrap tbody,
  .tbl-wrap tr,
  .tbl-wrap td,
  .tbl-wrap th { display:block !important; width:100% !important; }
  .tbl-wrap thead { display:none !important; }
  .tbl-wrap tbody tr {
    background:var(--card-bg);
    border:1px solid var(--border);
    border-radius:12px;
    margin-bottom:8px;
    padding:10px 12px;
    position:relative;
  }
  .tbl-wrap tbody tr:hover td { background:transparent; }
  .tbl-wrap td {
    padding:3px 0 !important;
    border-bottom:none !important;
    font-size:13px;
    display:flex !important;
    align-items:center;
    gap:6px;
  }
  .tbl-wrap td::before {
    content:attr(data-label);
    font-size:10px;
    font-weight:700;
    color:var(--text3);
    text-transform:uppercase;
    letter-spacing:0.05em;
    min-width:56px;
    flex-shrink:0;
  }
  .tbl-wrap td:first-child,
  .tbl-wrap td:nth-child(2) { display:none !important; }
  .price { text-align:left !important; }
  .tbl-wrap td:last-child {
    position:absolute;
    top:8px; right:8px;
    width:auto !important;
    padding:0 !important;
    border:none;
  }
  .tbl-wrap td:last-child::before { display:none; }
}
