.downloads {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
margin: 12px 0 24px;
}

.download-card {
background: #ffffff;
border: 1px solid #d9e2ec;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
overflow: hidden;
}

.download-card-main {
display: flex;
align-items: center;
gap: 14px;
padding: 16px;
}

.file-icon {
flex: 0 0 auto;
font-size: 20px;
color: #1161a6;
opacity: 0.9;
}

.file-content {
flex: 1 1 auto;
min-width: 0;
}

.file-name {
font-size: 15px;
font-weight: 600;
line-height: 1.3;
color: #1f2933;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.file-meta {
margin-top: 4px;
font-size: 12px;
color: #6b7c93;
}

.download-action {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border: 1px solid #d6e3f3;
border-radius: 8px;
background: #f7fbff;
color: #1161a6;
text-decoration: none;
transition: background 0.15s ease, border-color 0.15s ease;
}

.download-action:hover {
background: #eaf3fb;
border-color: #bfd4ea;
}

.meta-list p {
display: flex;
align-items: center;
gap: 8px;
}
/* ICON STYLE */
.meta-icon {
font-size: 16px;
width: 18px;
text-align: center;
color: #747474;
opacity: 0.85;
}
/* inactive instance buttons */
.download-card.inactive {
    opacity: 0.55;
    cursor: not-allowed;
}

.download-card.inactive * {
    color: #9ca3af !important;
}

.download-card.inactive .download-action {
    background: #f3f4f6;
    border-color: #e5e7eb;
    pointer-events: none;
}

@media only screen and (max-width: 767px) {
.downloads {
grid-template-columns: 1fr;
}
}
