/* ==========================================================================
   Trash.app Styling
   ========================================================================== */

.trash-layout {
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.trash-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    align-content: start;
    gap: 8px;
    padding: 22px 22px 12px;
    overflow-y: auto;
}

.trash-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #ddd;
    cursor: default;
    text-align: center;
    font: inherit;
}

.trash-item img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.trash-item:hover { background: rgba(255, 255, 255, 0.06); }

.trash-item.selected { background: rgba(255, 255, 255, 0.1); }

.trash-item-name {
    font-size: 11.5px;
    line-height: 1.3;
    padding: 1px 5px;
    border-radius: 4px;
    overflow-wrap: anywhere;
}

.trash-item.selected .trash-item-name { background: var(--accent); color: #fff; }

.trash-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.trash-detail {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
    padding: 14px 22px 16px;
    min-height: 104px;
}

.trash-detail-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    padding-top: 26px;
    text-align: center;
}

.trash-detail-kind {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.trash-detail-name { font-size: 14px; font-weight: 600; color: #fff; margin: 2px 0 6px; }

.trash-detail p { font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }

.trash-empty-state {
    margin: auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px;
}

.trash-empty-state i { font-size: 44px; color: rgba(255, 255, 255, 0.25); margin-bottom: 6px; }
.trash-empty-title { font-size: 16px; font-weight: 600; color: #fff; }
.trash-empty-state p { font-size: 12.5px; max-width: 300px; }
