.trashify-admin {
    margin: 20px;
}

.trashify-filters {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trashify-filters select {
    min-width: 200px;
}

.trashify-buttons {
    display: flex;
    gap: 10px;
}

.trashify-grid {
    margin-top: 20px;
}

.trashify-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.trashify-image-item {
    position: relative;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
}

.trashify-image-checkbox {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

.trashify-image-preview {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
}

.trashify-image-info {
    font-size: 12px;
}

.trashify-image-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.trashify-image-meta {
    color: #666;
}

.trashify-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.trashify-page-info {
    margin: 0 10px;
}

.trashify-loading {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}

/* Diálogo de confirmação */
.trashify-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.trashify-dialog-content {
    background: white;
    padding: 20px;
    border-radius: 4px;
    max-width: 400px;
    width: 90%;
}

.trashify-dialog h3 {
    margin-top: 0;
}

.trashify-dialog-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Botão de excluir todos */
.button-danger {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.button-danger:hover {
    background: #c82333;
    border-color: #bd2130;
    color: white;
}

/* Indicador de carregamento durante exclusão */
.trashify-deleting {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.trashify-deleting-content {
    background: white;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    max-width: 300px;
    width: 90%;
}

.trashify-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: trashify-spin 1s linear infinite;
    margin-bottom: 15px;
}

.trashify-deleting-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.trashify-deleting-progress {
    font-size: 14px;
    color: #666;
}

@keyframes trashify-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    .trashify-images {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }

    .trashify-image-preview {
        height: 120px;
    }

    .trashify-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .trashify-filters select {
        width: 100%;
    }

    .trashify-buttons {
        flex-direction: column;
    }

    .trashify-buttons .button {
        width: 100%;
    }
} 