﻿.downloads-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.downloads-title {
    font-size: 24px;
    font-weight: 600;
    color: #262626;
    margin: 0;
}

.downloads-container {
    display: flex;
    gap: 24px;
}

.downloads-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.downloads-main {
    flex: 1;
    min-width: 0;
}

.downloads-category-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.downloads-category-title {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 16px;
}

.downloads-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.downloads-category-item {
    margin-bottom: 8px;
}

.downloads-category-item:last-child {
    margin-bottom: 0;
}

.downloads-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fafafa;
    border-radius: 8px;
    color: #262626;
    text-decoration: none;
    transition: all 0.3s;
}

.downloads-category-link:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    color: #6366f1;
    text-decoration: none;
}

.downloads-category-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.downloads-category-icon {
    font-size: 18px;
    color: #f59e0b;
}

.downloads-category-count {
    padding: 4px 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.downloads-content-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.downloads-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    margin-top: 20px;
}

.downloads-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.downloads-table thead {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

.downloads-table thead th {
    padding: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
}

.downloads-table tbody td {
    padding: 16px;
    font-size: 14px;
    color: #262626;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.downloads-row {
    transition: all 0.2s ease;
}

.downloads-row:hover {
    background: #fafbfc;
}

.downloads-row:last-child td {
    border-bottom: none;
}

.downloads-file-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #262626;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.downloads-file-link:hover {
    color: #6366f1;
    text-decoration: none;
}

.downloads-file-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.downloads-file-icon.zip {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.downloads-file-icon.image {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.downloads-file-icon.document {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: #fff;
}

.downloads-file-name {
    flex: 1;
}

.downloads-date {
    color: #64748b;
    font-size: 13px;
}

.downloads-count {
    color: #64748b;
    font-size: 13px;
}

.downloads-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.downloads-action-btn:hover {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.downloads-action-btn i {
    font-size: 18px;
}

.downloads-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.downloads-empty-icon {
    font-size: 64px;
    color: #d9d9d9;
    margin-bottom: 16px;
}

.downloads-empty-text {
    font-size: 16px;
    color: #8c8c8c;
}

@media (max-width: 992px) {
    .downloads-container {
        flex-direction: column;
    }
    
    .downloads-sidebar {
        width: 100%;
    }
    
    .downloads-table {
        min-width: 600px;
    }
}
