/* Style frontendowe wtyczki "Francuskie gry cyfrowe – Lista" */

.fdgl-wrapper {
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 15px;
}

.fdgl-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.fdgl-table th,
.fdgl-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e2e2e2;
    vertical-align: top;
}

.fdgl-table thead th {
    background: #1d2327;
    color: #ffffff;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.fdgl-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.fdgl-table tbody tr:hover {
    background: #eef3f8;
}

.fdgl-row-starred {
    background: #fff8e1 !important;
}

.fdgl-col-position {
    width: 4%;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.fdgl-col-year {
    width: 8%;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.fdgl-col-title {
    width: 28%;
    font-weight: 600;
}

.fdgl-col-creators {
    width: 26%;
}

.fdgl-col-weighted,
.fdgl-col-popularity {
    width: 12%;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.fdgl-star {
    color: #c9971e;
}

.fdgl-legend {
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #555555;
}

.fdgl-error {
    color: #a00;
    font-weight: 600;
}

.fdgl-summary {
    margin: 0 0 0.5em;
    font-size: 0.9em;
    color: #555555;
}

.fdgl-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 1em;
}

.fdgl-page-link {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    text-decoration: none;
    color: #1d2327;
    background: #ffffff;
    font-size: 0.9em;
    line-height: 1.2;
}

.fdgl-page-link:hover {
    background: #eef3f8;
    border-color: #1d2327;
}

.fdgl-page-current {
    background: #1d2327;
    border-color: #1d2327;
    color: #ffffff;
    font-weight: 600;
}

.fdgl-disabled {
    color: #aaaaaa;
    border-color: #e2e2e2;
    cursor: default;
}

.fdgl-page-ellipsis {
    padding: 0 4px;
    color: #888888;
}

.fdgl-empty {
    font-style: italic;
    color: #555;
}

@media (max-width: 600px) {
    .fdgl-table {
        font-size: 13px;
    }

    .fdgl-table th,
    .fdgl-table td {
        padding: 6px 8px;
    }
}
