.wsh-pa-frontend {
    margin: 24px 0;
}

.wsh-pa-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
}

.wsh-pa-table tr.wsh-pa-row + tr.wsh-pa-row td {
    border-top: 1px solid #f0f0f0;
}

.wsh-pa-table tr.wsh-pa-row {
    transition: background 0.15s ease;
}
.wsh-pa-table tr.wsh-pa-row:hover td {
    background: #fafafa;
}

.wsh-pa-table td {
    padding: 12px 14px;
    vertical-align: middle;
}

.wsh-pa-table td a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.wsh-pa-col-icon {
    width: 56px;
}
.wsh-pa-col-icon img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.wsh-pa-col-label {
    font-weight: 500;
}
.wsh-pa-label-text {
    display: block;
    font-size: 15px;
    color: #1d2327;
}
.wsh-pa-label-meta {
    display: block;
    margin-top: 2px;
    color: #888;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.wsh-pa-col-action {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}
.wsh-pa-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    background: #f3f4f6;
    color: #1f2937;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.wsh-pa-download-icon {
    flex: 0 0 auto;
}
.wsh-pa-row:hover .wsh-pa-download-btn,
.wsh-pa-download-btn:hover {
    background: #1f2937;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .wsh-pa-table td {
        padding: 10px 8px;
    }
    .wsh-pa-col-icon {
        width: 44px;
    }
    .wsh-pa-col-icon img {
        width: 26px;
        height: 26px;
    }
    .wsh-pa-label-text {
        font-size: 14px;
    }
    .wsh-pa-download-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    .wsh-pa-download-label {
        display: none;
    }
}
