/* Download section - category and item cards */

.download-category-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-category-card:hover {
    transform: translateY(-2px);
}

.download-category-card:hover .rounded-3 {
    background-color: var(--mdb-primary);
    color: white;
}

.download-category-card:hover .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.download-category-card:hover .fa-chevron-right {
    color: white !important;
}

.download-item-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-item-card:hover {
    transform: translateY(-2px);
}

.download-item-card:hover .rounded-3 {
    background-color: var(--mdb-primary);
    color: white;
}

.download-item-card:hover .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.download-item-card:hover .badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

@media (max-width: 768px) {
    .download-item-card .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .download-item-card .text-end {
        text-align: left !important;
        margin-top: 0.5rem;
    }
}

/* Download detail page */
.download-detail-card {
    background: transparent;
}

.download-image-container {
    text-align: center;
    margin-bottom: 2rem;
}

.download-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.download-info {
    margin-bottom: 2rem;
}

.download-actions {
    margin-bottom: 2rem;
}

.download-checksum {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .download-actions .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }
    .download-actions .btn {
        width: 100%;
    }
    .download-checksum .row {
        flex-direction: column;
    }
    .download-checksum .col-md-6 {
        margin-bottom: 1rem;
    }
}

.copy-feedback {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--mdb-success);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    z-index: 1050;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
    transform: translateX(0);
}
