.table-wrap {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

  /* ---------- Desktop / normal table ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    table-layout: fixed;
    user-select: none;
}
tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}
  .tx-bold{
    font-weight: bold;
  }
  /* Kolon genişlikleri */
  .col-nof{
    width: 190px;
  }
  .col-no {
    width: 90px;
    text-align: center;
  }

  .col-range {
    width: 90px;      /* istediğinde değiştirebilirsin */
    text-align: center;
  }

  .col-name {
    padding-left: 12px;
    width: auto;      /* ortadaki sütun kalan alanı doldurur */
  }
th, td {
    cursor: pointer;
    text-align: left;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    transition: all 0.2s ease;
}

th {
    font-weight: 700;
    color: var(--nav-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    background-color: var(--bg-color);
}
tbody tr:hover {
    background-color: rgba(255, 66, 66, 0.02);
}

tbody tr:hover td {
    color: var(--nay);
    transform: translateX(4px);
}
  /* small pill */
  .status{
    display:inline-block;
    padding:6px 10px;
    border-radius:999px;
    font-size:13px;
    background:rgba(3,102,214,0.08);
    color:var(--accent);
    border:1px solid rgba(3,102,214,0.12);
  }

  /* wrapper that enables horizontal scroll on very small screens */
  .scroll-x{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    border-radius:8px;
  }

  /* ---------- Mobile stacked rows (CSS-only) ---------- */
@media (max-width:720px){
  table:not(.no-mobile){
    border:0;
    min-width:unset;
    width:100%;
  }

  table:not(.no-mobile) thead{
    display:none; /* hide header on small screens */
  }

  table:not(.no-mobile) tbody tr{
    display:block;
    margin:0 0 12px 0;
    background:var(--card);
    box-shadow:0 4px 10px rgba(2,6,23,0.04);
    border-radius:8px;
    padding:12px;
    border:1px solid var(--border);
  }

  table:not(.no-mobile) tbody tr td{
    display:flex;
    justify-content:space-between;
    padding:8px 10px;
    border-bottom:1px dashed var(--border);
    font-size:14px;
  }

  /* remove bottom border on last cell */
  table:not(.no-mobile) tbody tr td:last-child{
    border-bottom:0;
  }

  /* label for each cell using data-label attribute */
  table:not(.no-mobile) tbody tr td::before{
    content: attr(data-label);
    font-weight:600;
    color:var(--muted);
    margin-right:12px;
    display:inline-block;
    min-width:110px;
  }

  /* make value wrap nicely */
  table:not(.no-mobile) tbody tr td .value{
    text-align:right;
    max-width:60%;
    word-break:break-word;
    color:#111827;
    font-weight:500;
  }
}

/* small visual tweaks for very small phones */
@media (max-width:360px){
  body{padding:12px;}
  table:not(.no-mobile) tbody tr td::before{
    min-width:90px; 
    font-size:13px;
  }
  table:not(.no-mobile) th, 
  table:not(.no-mobile) td{
    padding:12px;
  }
}
