/* ==============================
   PHP Secure FileSharing Styles
   ============================== */

/* General file list */
.psf-file-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 1em 0;
}

.psf-file-list li {
    margin-bottom: 0.5em;
    font-size: 14px;
    line-height: 1.5;
}

.psf-file-list li a {
    text-decoration: none;
    color: #0073aa;
}

.psf-file-list li a:hover {
    color: #00a0d2;
    text-decoration: underline;
}

/* File icons */
.psf-icon {
    margin-right: 6px;
    font-size: 16px;
    vertical-align: middle;
}

/* Table view */
.psf-file-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    font-size: 14px;
}

.psf-file-table th,
.psf-file-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.psf-file-table th {
    background-color: #f7f7f7;
    font-weight: 600;
}

.psf-file-table tr:nth-child(even) {
    background-color: #fafafa;
}

.psf-file-table tr:hover {
    background-color: #f1f1f1;
}

/* Gutenberg block wrapper */
.wp-block-psf-secure-file-list {
    padding: 10px;
    border: 1px solid #e1e1e1;
    background: #fafafa;
    border-radius: 4px;
    margin-bottom: 1em;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .psf-file-table th,
    .psf-file-table td {
        font-size: 12px;
        padding: 6px;
    }

    .psf-file-list li {
        font-size: 12px;
    }
}
