/* --- ZMIANA TUTAJ: Importujemy czcionkę "Inter" zamiast "Segoe UI" --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
    /* --- ZMIANA TUTAJ: Używamy "Inter" jako domyślnej czcionki --- */
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 40px;
    color: #333;
}

.file-browser-container {
    max-width: 1000px;
    margin: auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Aby zaokrąglenie objęło też tabelę */
}

.breadcrumb {
    background-color: #e9ecef;
    padding: 12px 20px;
    font-size: 16px;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb .fa-home {
    margin-right: 8px;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
}

.file-table th, .file-table td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
}

/* Nagłówek tabeli */
.file-table thead {
    background-color: #f8f9fa;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.file-table th {
    font-weight: 600;
    cursor: pointer;
    user-select: none; /* Zapobiega zaznaczaniu tekstu */
}

.file-table th:hover {
    background-color: #e9ecef;
}

.file-table th i {
    margin-left: 8px;
    color: #adb5bd;
    transition: color 0.2s ease-in-out;
}

/* Ukrywanie i pokazywanie ikon sortowania */
.file-table th .fa-sort-up, .file-table th .fa-sort-down {
    display: none;
}
.file-table th.sorted .fa-sort {
    display: none;
}
.file-table th.sorted.asc .fa-sort-up {
    display: inline-block;
    color: #007bff;
}
.file-table th.sorted.desc .fa-sort-down {
    display: inline-block;
    color: #007bff;
}


/* Wiersze tabeli */
.file-table tbody tr:hover {
    background-color: #f8f9fa;
}

.file-table td {
    font-size: 14px;
}

.file-table td a {
    color: #007bff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.file-table td a:hover {
    text-decoration: underline;
}

.file-table td i {
    margin-right: 15px;
    font-size: 18px;
    width: 20px; /* Zapewnia równe odległości */
}

.fa-folder {
    color: #ffc107; /* Kolor folderu */
}

.fa-file-alt {
    color: #6c757d; /* Kolor pliku */
}

/* Wyrównanie kolumn Rozmiar i Data */
.file-table th:nth-child(2), .file-table td:nth-child(2),
.file-table th:nth-child(3), .file-table td:nth-child(3) {
    text-align: right;
    width: 160px;
}