/* ======================================
   DOWNLOAD PAGE
====================================== */

.download-page {
    padding: 40px 0;
}

.download-page-header {
    margin-bottom: 22px;
}

.download-page-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.download-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    background: #fff;
}

.download-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
    background: #fff;
}

/* HEADER */
.download-table th {
    background: var(--primary);
    color: #fff;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.download-table th:first-child {
    border-top-left-radius: 12px;
    text-align: left;
}

.download-table th:last-child {
    border-top-right-radius: 12px;
    border-right: none;
}

/* BODY */
.download-table td {
    padding: 16px 18px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
    color: #374151;
    background: #fff;
    transition: background 0.2s ease;
}

.download-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #111827;
}

.download-table td:last-child {
    border-right: none;
}

.download-table tbody tr:hover td {
    background: #f9fafb;
}

.download-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.download-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.download-file-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.download-file-link:hover {
    transform: translateY(-1px);
    background: rgba(0, 0, 0, 0.04);
}

.download-file-link img {
    display: block;
}

@media (max-width: 768px) {
    .download-page {
        padding: 30px 0;
    }

    .download-page-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .download-table-wrapper {
        border-radius: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .download-table {
        min-width: 640px;
    }

    .download-table th,
    .download-table td {
        padding: 13px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .download-file-link {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
}