/* ============================================
   DOCUMENTS LIST - ADMIN PANEL
   ============================================ */

.documents-list-container {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.documents-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-title i {
    color: #4A90E2;
}

.page-subtitle {
    color: #6c757d;
    margin: 0.25rem 0 0 0;
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .documents-list-container {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 1.35rem;
    }
    
    .documents-list-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-right {
        width: 100%;
    }
    
    .header-right .btn {
        width: 100%;
    }
    
    /* Make table scrollable on mobile */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Compact table on mobile */
    .table-sm th,
    .table-sm td {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }
    
    /* Stack action buttons on mobile */
    .btn-group-sm {
        flex-direction: column;
        width: auto;
    }
    
    .btn-group-sm .btn {
        border-radius: 0.25rem !important;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .documents-list-container {
        padding: 0.75rem;
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .table-sm th,
    .table-sm td {
        padding: 0.375rem 0.2rem;
        font-size: 0.8rem;
    }
}

