/* Simple File Lister - style.css */

.sfl-wrapper {
    margin: 1.5em 0;
    font-family: inherit;
}

.sfl-title {
    margin-bottom: 0.75em;
    font-size: 1.2em;
    font-weight: 600;
}

.sfl-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Coloane */
.sfl-cols-2 .sfl-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.sfl-cols-3 .sfl-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

@media (max-width: 600px) {
    .sfl-cols-2 .sfl-list,
    .sfl-cols-3 .sfl-list {
        grid-template-columns: 1fr;
    }
}

/* Item */
.sfl-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 5px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    transition: background 0.15s;
}

.sfl-item:hover {
    background: #f0f0f0;
}

/* Link */
.sfl-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.sfl-link:hover .sfl-name {
    text-decoration: underline;
}

.sfl-icon {
    font-size: 1.1em;
    flex-shrink: 0;
}

.sfl-name {
    font-size: 0.95em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Meta */
.sfl-meta {
    display: flex;
    gap: 10px;
    font-size: 0.78em;
    color: #888;
    flex-shrink: 0;
    margin-left: 12px;
}
