/* Frontend styles for Lista Dokumentów block */

.lista-dokumentow-wrapper {
    font-family: inherit;
    margin: 1em 0;
}

.lista-dokumentow {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lista-dokumentow__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
    gap: 16px;
}

.lista-dokumentow__item:first-child {
    border-top: 1px solid #e5e5e5;
}

.lista-dokumentow__link {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    text-decoration: underline;
    color: inherit;
    font-size: 0.95em;
    flex: 1;
    min-width: 0;
}

.lista-dokumentow__link:hover {
    color: #333;
}

.lista-dokumentow__meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82em;
    color: #777;
    font-weight: 400;
    white-space: nowrap;
}

.lista-dokumentow__ext {
    text-transform: uppercase;
}

.lista-dokumentow__size::before {
    content: ', ';
}

.lista-dokumentow__btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0c000;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.85em;
    padding: 7px 14px;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.lista-dokumentow__btn:hover {
    background: #d9ad00;
    color: #1a1a1a;
}

.lista-dokumentow__arrow {
    font-size: 1.1em;
    line-height: 1;
}

@media ( max-width: 480px ) {
    .lista-dokumentow__item {
        flex-wrap: wrap;
    }
    .lista-dokumentow__btn {
        width: 100%;
        justify-content: center;
    }
}
