/* assets/css/techdrm-shortcode.css */
.techdrm-download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #0F172A;
    color: #fff;
    padding: 0.6rem 0.8rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
    width: fit-content;
}

.techdrm-download-button:hover {
    background-color: #050911;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.techdrm-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;
}

.techdrm-download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px !important;
}

.techdrm-file-icon img,
.techdrm-download-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.techdrm-download-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    gap: 0.25rem;
}

.techdrm-filename {
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.techdrm-filesize {
    font-size: 0.75rem;
    color: #94a3b8;
}

.techdrm-error {
    padding: 1rem;
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

/* Animação hover do ícone de download */
.techdrm-download-button:hover .techdrm-download-icon svg {
    animation: bounce 0.5s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

/* Responsividade */
@media (max-width: 640px) {
    .techdrm-download-button {
        padding: 0.5rem 0.75rem;
    }
    
    .techdrm-file-icon img,
    .techdrm-download-icon img {
        width: 16px;
        height: 16px;
    }
}