.wrap.wpdistro-page {
    padding-right: 1%;
    box-sizing: border-box;
}

/* Toolbar Layout */
.wpdistro-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.wpdistro-search-group {
    flex-grow: 1;
}

.wpdistro-search {
    width: 100%;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    font-size: 14px;
}

.wpdistro-filter-group {
    flex-shrink: 0;
}

.wpdistro-filter {
    height: 42px;
    padding: 0 32px 0 14px;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    min-width: 200px;
}

/* Assets Grid */
.wpdistro-assets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.wpdistro-asset {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 12px;
    overflow: hidden;
}

/* Pagination */
.wpdistro-pagination {
    margin-top: 30px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.wpdistro-pagination .button {
    min-width: 36px;
}

.wpdistro-asset-action[disabled] {
    cursor: default;
    pointer-events: none;
    opacity: .75;
}

/* Asset Item Components */
.wpdistro-asset-header { padding: 20px; display: flex; align-items: center; gap: 16px; }
.wpdistro-asset-icon { 
    width: 56px; 
    height: 56px; 
    object-fit: fill; 
    border: 1px solid #ffd5c2; /* Lighter note tint of #ff4f00 */
    border-radius: 8px; 
    padding: 2px; /* Optional: adds a tiny clean breathing room inside the border */
    background: #fff;
}
.wpdistro-asset-title { font-size: 18px; font-weight: 600; }
.wpdistro-asset-description { padding: 0 20px 20px; color: #50575e; font-size: 14px; flex: 1; }
.wpdistro-asset-footer { padding: 18px 20px; border-top: 1px solid #dcdcde; display: flex; justify-content: space-between; align-items: center; }

/* Responsiveness */
@media (max-width: 1200px) { .wpdistro-assets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 782px) {
    .wpdistro-toolbar { flex-direction: column; align-items: stretch; }
    .wpdistro-assets { grid-template-columns: 1fr; }
    .wrap.wpdistro-page { padding-right: 20px; }
}