/* ================================
   Alap táblázat stílus
================================ */
.table-style {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95em;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

/* Fejléc */
.table-style thead {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.table-style th,
.table-style td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap; 
    width: 100%;
}

.table-style tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.04);
}

.table-style tbody tr:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ================================
   Reszponzivitás
================================ */
.table-style {
    display: block; 
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


.table-style::-webkit-scrollbar {
    height: 8px;
}
.table-style::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 150, 0.5);
    border-radius: 4px;
}
.table-style::-webkit-scrollbar-track {
    background: transparent;
}

@media (max-width: 768px) {
    .table-style th,
    .table-style td {
        padding: 8px 10px;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .table-style th,
    .table-style td {
        padding: 6px 8px;
        font-size: 0.8em;
    }
}
