/* ========================================
   DOCUMENTS ARCHIVE PAGE STYLES
   ======================================== */

/* Header */
.documents-header {
    padding: 48px 0;
    text-align: center;
}

.documents-header-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 48px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #bfdbfe;
}

.documents-title {
    font-size: 42px;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
}

.documents-subtitle {
    color: #4b5563;
    font-size: 18px;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* Documents List */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
}

/* Document Item */
.document-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
}

.document-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
    border-color: #bfdbfe;
}

.document-item-icon {
    font-size: 48px;
    flex-shrink: 0;
    opacity: 0.7;
}

.document-item-content {
    flex: 1;
    min-width: 0;
}

.document-item-title {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.document-item-excerpt {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.document-item-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.document-item-btn,
.document-item-btn:link,
.document-item-btn:visited,
.document-item-btn:active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.document-item-btn-download,
.document-item-btn-download:link,
.document-item-btn-download:visited,
.document-item-btn-download:active {
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.document-item-btn-download:hover,
.document-item-btn-download:focus {
    background: #1d4ed8 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.document-item-btn-view,
.document-item-btn-view:link,
.document-item-btn-view:visited,
.document-item-btn-view:active {
    background: #fff !important;
    color: #2563eb !important;
    border: 2px solid #2563eb !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    padding: 8px 20px !important;
}

.document-item-btn-view:hover,
.document-item-btn-view:focus {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

/* Empty State */
.documents-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}

.documents-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.documents-empty-title {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 700;
}

.documents-empty-text {
    color: #6b7280;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .document-item-icon {
        font-size: 36px;
    }
    
    .document-item-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .document-item-btn {
        width: 100%;
        justify-content: center;
    }
    
    .documents-title {
        font-size: 32px;
    }
}
