/* Tabulator testreszabás */
.tabulator {
    font-size: 14px;
    border: 1px solid #dee2e6;
}

.tabulator .tabulator-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.tabulator .tabulator-header .tabulator-col {
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.tabulator .tabulator-row {
    border-bottom: 1px solid #dee2e6;
}

.tabulator .tabulator-row.tabulator-row-even {
    background-color: #f8f9fa;
}

.tabulator .tabulator-row.tabulator-selected {
    background-color: #e2e6ea;
}

/* Reszponzív megjelenítés */
.tabulator-responsive-collapse {
    border-top: 1px solid #dee2e6;
    padding: 10px;
}

/* Fejléc szűrők */
.tabulator-header-filter input {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Pagination styles */
.tabulator-footer .tabulator-paginator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
}

.tabulator-footer .tabulator-page {
    margin: 0 0.25rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background-color: #fff;
    color: #495057;
    cursor: pointer;
}

.tabulator-footer .tabulator-page.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.tabulator-footer .tabulator-page:hover:not(.active) {
    background-color: #e9ecef;
}

/* Button styles */
.tabulator-row .btn {
    margin: 0;
    padding: 0.25rem 0.5rem;
}

/* Tooltip styles */
.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: 0.875rem;
    word-wrap: break-word;
    opacity: 0;
}

/* Compatibility with existing styles */
.heightAlignSize {
    height: calc(100vh - 3em - .8em);
    overflow: auto;
}

.dt-hidden-start {
    visibility: hidden;
}

/* Download button styles */
.tabulator-footer .tabulator-download {
    margin-right: 10px;
}

.tabulator-footer .tabulator-download .tabulator-page {
    background-color: #28a745;
    color: #fff;
    border-color: #28a745;
}

.tabulator-footer .tabulator-download .tabulator-page:hover {
    background-color: #218838;
    border-color: #1e7e34;
}