/* static/css/repository-admin.css */

/* Card hover effect */
.repository-item-card {
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.repository-item-card:hover {
    transform: perspective(1000px) rotateX(1deg) rotateY(1deg) scale(1.01);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Badge hover effect */
.badge-hover {
    transition: all 0.2s ease;
}

.badge-hover:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* File type icon animation */
.file-type-icon {
    transition: all 0.3s ease;
}

.file-type-icon:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Status badge pulse animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-badge-pending {
    animation: pulse 2s infinite;
}

/* Slide-in animation for detail view */
@keyframes slideIn {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.detail-section {
    animation: slideIn 0.3s ease-out forwards;
}

.detail-section:nth-child(1) { animation-delay: 0.1s; }
.detail-section:nth-child(2) { animation-delay: 0.2s; }
.detail-section:nth-child(3) { animation-delay: 0.3s; }