/* Download Cards List */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #F3F4F6;
    border-radius: 12px;
    padding: 24px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 76, 138, 0.08);
    border-color: #E5E7EB;
}

.download-info {
    flex-grow: 1;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.download-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    background-color: #F3F4F6;
    color: #4B5563;
}

.badge-regulations {
    background-color: #F3E8FF;
    color: #9333EA;
}

.badge-forms {
    background-color: #FEF3C7;
    color: #D97706;
}

.download-card-title {
    font-size: 1.35rem;
    color: #3C2A5F;
    font-family: 'Noto Serif TC', serif;
    font-weight: 700;
    margin: 4px 0;
    line-height: 1.4;
}

.download-snippet {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

.download-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    border: 1px solid transparent;
}

.btn-word {
    background-color: #EFF6FF;
    color: #1D4ED8;
    border-color: #BFDBFE;
}

.btn-word:hover {
    background-color: #1D4ED8;
    color: #ffffff;
}

.btn-pdf {
    background-color: #FEF2F2;
    color: #DC2626;
    border-color: #FEE2E2;
}

.btn-pdf:hover {
    background-color: #DC2626;
    color: #ffffff;
}

.btn-link {
    background-color: #F0FDF4;
    color: #16A34A;
    border-color: #DCFCE7;
}

.btn-link:hover {
    background-color: #16A34A;
    color: #ffffff;
}

.btn-excel {
    background-color: #ECFDF5;
    color: #059669;
    border-color: #A7F3D0;
}

.btn-excel:hover {
    background-color: #059669;
    color: #ffffff;
}

.btn-ppt {
    background-color: #FFF7ED;
    color: #C2410C;
    border-color: #FED7AA;
}

.btn-ppt:hover {
    background-color: #C2410C;
    color: #ffffff;
}

.btn-zip,
.btn-image,
.btn-audio,
.btn-video,
.btn-file {
    background-color: #F3F4F6;
    color: #4B5563;
    border-color: #E5E7EB;
}

.btn-zip:hover,
.btn-image:hover,
.btn-audio:hover,
.btn-video:hover,
.btn-file:hover {
    background-color: #4B5563;
    color: #ffffff;
}

.btn-download.disabled {
    background-color: #F3F4F6 !important;
    color: #888888 !important;
    border-color: #E5E7EB !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    filter: grayscale(100%) !important;
    opacity: 0.6 !important;
}

/* Responsive */
@media (max-width: 991px) {
    .download-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .download-info {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .download-actions {
        width: 100%;
        justify-content: flex-start;
    }
}
